shareneus 1.5.48 → 1.5.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ function GetInvoicePDF(invoiceData, entityData, taxCodes, image = null, numberof
15
15
  Orientation: 'portrait'
16
16
  };
17
17
  }
18
- const invoicePrintData = inv_print_service_1.InvPrintService.GetInvoicePrintInfo(invoiceData, entityData, image, options.ShowGST, options.ConsolidateGST, taxCodes, false, options.PartInvoice, options.LaborInvoice);
18
+ const invoicePrintData = (0, inv_print_service_1.GetInvoicePrintInfo)(invoiceData, entityData, image, options.ShowGST, options.ConsolidateGST, taxCodes, false, options.PartInvoice, options.LaborInvoice);
19
19
  const invPrint = (0, unified_invoice_pdf_service_1.GetInvoicePrint)(invoicePrintData, numberofCopies, withPass, options.Size, options.MoreDiscDetails, options.Orientation);
20
20
  return invPrint;
21
21
  }
@@ -0,0 +1,597 @@
1
+ /**
2
+ * Unified Invoice Print Service
3
+ * Consolidates InvoicePortraitPrintService, InvoiceLandscapePdfService,
4
+ * HCInvoiceprintService, and InvoiceprintService into a single service
5
+ */
6
+ export declare class InvoicePrintService {
7
+ FontSize: number;
8
+ static TableHeaders: number;
9
+ /**
10
+ * Unified Invoice Print Method - handles all invoice print types
11
+ * Automatically routes to appropriate print variant based on options
12
+ *
13
+ * @param data - Invoice data containing all necessary information
14
+ * @param options - Print options determining format and settings
15
+ * @returns PDF document definition for pdfmake
16
+ */
17
+ static GetInvoicePrint(data: any, options: any): any;
18
+ /**
19
+ * Portrait invoice print (Original InvoicePortraitPrintService.GetPrint)
20
+ * @internal - Use GetInvoicePrint() instead
21
+ */
22
+ private static GetPortraitPrint;
23
+ /**
24
+ * Landscape invoice print (Original InvoiceLandscapePdfService.GetInvoiceLandscapePrint)
25
+ * @internal - Use GetInvoicePrint() instead
26
+ */
27
+ private static GetLandscapePrint;
28
+ /**
29
+ * Healthcare/Hospital invoice print (Original HCInvoiceprintService.GetInvoicePrint)
30
+ * @internal - Use GetInvoicePrint() instead
31
+ */
32
+ private static GetHCInvoicePrint;
33
+ /**
34
+ * Standard invoice print (Original InvoiceprintService.GetInvoicePrint)
35
+ * @internal - Use GetInvoicePrint() instead
36
+ */
37
+ private static GetStandardInvoicePrint;
38
+ static GetFileName(ROPrintData: any): string;
39
+ static emptyObject(): any;
40
+ static GetMarginsBasedOnPaperSize(size: any): number[];
41
+ static GetMainHeaderInfo(InvoicePDFData: any): {
42
+ columns: ({
43
+ image: any;
44
+ width: number;
45
+ height: number;
46
+ marginBottom: number;
47
+ stack?: undefined;
48
+ } | {
49
+ stack: ({
50
+ text: any;
51
+ style: string[];
52
+ alignment: string;
53
+ fontSize: number;
54
+ columns?: undefined;
55
+ marginTop?: undefined;
56
+ } | {
57
+ text: string;
58
+ alignment: string;
59
+ style: string[];
60
+ fontSize?: undefined;
61
+ columns?: undefined;
62
+ marginTop?: undefined;
63
+ } | {
64
+ columns: any;
65
+ text?: undefined;
66
+ style?: undefined;
67
+ alignment?: undefined;
68
+ fontSize?: undefined;
69
+ marginTop?: undefined;
70
+ } | {
71
+ text: any;
72
+ alignment: string;
73
+ style: string[];
74
+ marginTop: number;
75
+ fontSize?: undefined;
76
+ columns?: undefined;
77
+ })[];
78
+ image?: undefined;
79
+ width?: undefined;
80
+ height?: undefined;
81
+ marginBottom?: undefined;
82
+ })[];
83
+ columnGap: number;
84
+ stack?: undefined;
85
+ } | {
86
+ stack: ({
87
+ text: any;
88
+ style: string[];
89
+ alignment: string;
90
+ fontSize: number;
91
+ columns?: undefined;
92
+ } | {
93
+ columns: any;
94
+ text?: undefined;
95
+ style?: undefined;
96
+ alignment?: undefined;
97
+ fontSize?: undefined;
98
+ } | {
99
+ text: any;
100
+ alignment: string;
101
+ style: string[];
102
+ fontSize?: undefined;
103
+ columns?: undefined;
104
+ })[];
105
+ columns?: undefined;
106
+ columnGap?: undefined;
107
+ };
108
+ static GetPortraitAddress(Entity: any): string;
109
+ static GetCustomerAndBankDetails(InvoicePDFData: any): any;
110
+ static GetCustomerDetails(Customer: any, Type: any, Vehicle: any, Settings: any, CustHeader: string): any;
111
+ static GetAddress1(Customer: any): any;
112
+ static GetFormatAddress(CustomerObj: any): string;
113
+ static GetFormatContact(CustomerObj: any): string;
114
+ static GetCustPhoneNumber(Customer: any, Type: any): any;
115
+ static GetCustomerName(Customer: any): any;
116
+ static GetCustomerGSTIN(Customer: any): any;
117
+ static GetCustomerDLNo(Customer: any): any;
118
+ static HeaderLayOut(): {
119
+ hLineWidth: (i: any, node: any) => 0 | 1;
120
+ vLineWidth: (i: any, node: any) => 0 | 1;
121
+ hLineColor: (i: any, node: any) => string;
122
+ vLineColor: (i: any, node: any) => string;
123
+ };
124
+ static GetHeaderInfo(InvoicePDFData: any, marginleft: number): any;
125
+ static GetBillofSupplyName(Settings: any): {
126
+ text: string | null;
127
+ alignment: string;
128
+ marginLeft: number;
129
+ marginTop: number;
130
+ marginBottom: number;
131
+ fontSize: number;
132
+ width: string;
133
+ };
134
+ static GetItemsTable(Services: any, Items: any, ShowTaxColumn: boolean, SType: any, printOptions: any, size: any, DecimalsNumber: number): {
135
+ style: string;
136
+ marginTop: number;
137
+ marginBottom: number;
138
+ table: {
139
+ widths: (string | number)[];
140
+ headerRows: number;
141
+ body: any;
142
+ };
143
+ layout: {
144
+ hLineWidth: (i: any, node: any) => 0 | 1;
145
+ vLineWidth: (i: any, node: any) => 1 | 0.5;
146
+ hLineColor: (i: any, node: any) => string;
147
+ vLineColor: (i: any, node: any) => string;
148
+ };
149
+ };
150
+ static GetPortraitWidths(ShowTaxColumn: any, printOptions: any): (string | number)[];
151
+ static BuildPortraitTableBody(Services: any, Items: any, ShowTaxColumn: any, SType: any, printOptions: any, size: any, DecimalsNumber: number): any;
152
+ static GetPortraitHeaderNames(ShowTaxColumn: any, SType: any, printOptions: any): any;
153
+ static TotalDetails(ROPrintData: any, moreDiscDetails: boolean, DecimalsNumber: number): {
154
+ style: string;
155
+ marginTop: number;
156
+ table: {
157
+ widths: string[];
158
+ body: ({
159
+ stack: (string | {
160
+ stack: {
161
+ style: string;
162
+ table: {
163
+ widths: number[];
164
+ headerRows: number;
165
+ body: any;
166
+ };
167
+ layout: {
168
+ hLineWidth: (i: any, node: any) => 0 | 0.1;
169
+ vLineWidth: (i: any, node: any) => number;
170
+ hLineColor: (i: any, node: any) => string;
171
+ };
172
+ }[];
173
+ })[];
174
+ columns?: undefined;
175
+ } | {
176
+ columns: ({
177
+ style: string[];
178
+ lineHeight: number;
179
+ marginBottom: number;
180
+ width: string;
181
+ table: {
182
+ widths: (string | number)[];
183
+ body: any;
184
+ };
185
+ layout: string;
186
+ } | {
187
+ text: string;
188
+ width: number;
189
+ })[];
190
+ stack?: undefined;
191
+ })[][];
192
+ };
193
+ layout: string;
194
+ }[];
195
+ static GrandTotal(InvoiceData: any, LaborAfterGST: any, PartsAfterGST: any, OverAllRecordDiscount: any, totalTax: any, For: any, OverAllRecordTotal: any, Rounded: any, GrandTotal: any, Adj: any, Consolidate: any, subTotal: any, moreDiscDetails: boolean, DecimalsNumber: number): {
196
+ style: string[];
197
+ lineHeight: number;
198
+ marginBottom: number;
199
+ width: string;
200
+ table: {
201
+ widths: (string | number)[];
202
+ body: any;
203
+ };
204
+ layout: string;
205
+ };
206
+ static GrandTotalTable(data: any): any;
207
+ static PartsTaxAmounts1(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): "" | {
208
+ stack: {
209
+ style: string;
210
+ table: {
211
+ widths: number[];
212
+ headerRows: number;
213
+ body: any;
214
+ };
215
+ layout: {
216
+ hLineWidth: (i: any, node: any) => 0 | 0.1;
217
+ vLineWidth: (i: any, node: any) => number;
218
+ hLineColor: (i: any, node: any) => string;
219
+ };
220
+ }[];
221
+ };
222
+ static AllHSNPartCGSTTaxListTable1(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): {
223
+ style: string;
224
+ table: {
225
+ widths: number[];
226
+ headerRows: number;
227
+ body: any;
228
+ };
229
+ layout: {
230
+ hLineWidth: (i: any, node: any) => 0 | 0.1;
231
+ vLineWidth: (i: any, node: any) => number;
232
+ hLineColor: (i: any, node: any) => string;
233
+ };
234
+ };
235
+ static CreateHSNTaxTable1(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): any;
236
+ static CreateHeadingAllTaxList(ShowIGST: any): {
237
+ text: string;
238
+ style: string;
239
+ fontSize: number;
240
+ lineHeight: number;
241
+ Field: string;
242
+ alignment: string;
243
+ }[];
244
+ static HeaderLineStyle(): {
245
+ hLineWidth: (i: any, node: any) => 0 | 0.1;
246
+ vLineWidth: (i: any, node: any) => number;
247
+ hLineColor: (i: any, node: any) => string;
248
+ };
249
+ static GetNumberInWords(TotalAmount: any): {
250
+ columns: ({
251
+ text: string;
252
+ fontSize: number;
253
+ width: number;
254
+ bold?: undefined;
255
+ } | {
256
+ text: string;
257
+ bold: boolean;
258
+ fontSize: number;
259
+ width: string;
260
+ })[];
261
+ };
262
+ static InvoiceDueStatus(Type: any, Paid: any, Due: any, Status: any, isCounter: boolean, DecimalsNumber: number): any;
263
+ static GetSignatures(CName: any, Total: any): (string | {
264
+ style: string;
265
+ text: (string | {
266
+ text: any;
267
+ bold: string;
268
+ })[];
269
+ })[][];
270
+ static CompanyName(CName: any): {
271
+ style: string;
272
+ text: (string | {
273
+ text: any;
274
+ bold: string;
275
+ })[];
276
+ };
277
+ static GetLandscapeHeaderDetails(ROPrintData: any, text: any): ({
278
+ text: any;
279
+ alignment: string;
280
+ bold: boolean;
281
+ fontSize: number;
282
+ color?: undefined;
283
+ width?: undefined;
284
+ marginTop?: undefined;
285
+ style?: undefined;
286
+ table?: undefined;
287
+ layout?: undefined;
288
+ } | {
289
+ text: any;
290
+ color: string;
291
+ alignment: string;
292
+ width: number;
293
+ marginTop: number;
294
+ fontSize: number;
295
+ bold?: undefined;
296
+ style?: undefined;
297
+ table?: undefined;
298
+ layout?: undefined;
299
+ } | {
300
+ style: string;
301
+ table: {
302
+ widths: string[];
303
+ body: ({
304
+ stack: any[];
305
+ width: number;
306
+ marginLeft: number;
307
+ } | {
308
+ lineHeight: number;
309
+ fontSize: number;
310
+ table: {
311
+ body: any;
312
+ };
313
+ layout: string;
314
+ } | {
315
+ stack: ({
316
+ text: any;
317
+ alignment: string;
318
+ bold: boolean;
319
+ fontSize: number;
320
+ style?: undefined;
321
+ stack?: undefined;
322
+ } | {
323
+ text: string;
324
+ alignment: string;
325
+ style: string[];
326
+ bold?: undefined;
327
+ fontSize?: undefined;
328
+ stack?: undefined;
329
+ } | {
330
+ stack: any;
331
+ text?: undefined;
332
+ alignment?: undefined;
333
+ bold?: undefined;
334
+ fontSize?: undefined;
335
+ style?: undefined;
336
+ })[];
337
+ })[][];
338
+ };
339
+ layout: {
340
+ hLineWidth: (i: any, node: any) => number;
341
+ vLineWidth: (i: any, node: any) => number;
342
+ hLineColor: (i: any, node: any) => string;
343
+ vLineColor: (i: any, node: any) => string;
344
+ };
345
+ text?: undefined;
346
+ alignment?: undefined;
347
+ bold?: undefined;
348
+ fontSize?: undefined;
349
+ color?: undefined;
350
+ width?: undefined;
351
+ marginTop?: undefined;
352
+ })[];
353
+ static GetLandscapeHeaderInfo(InvoicePDFData: any): any;
354
+ static PrepareLandscapePartsTable(ROPrintData: any): any;
355
+ static WithOutDiscountFieldTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
356
+ static BuildLandscapeTableBodyForLaborAndParts(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
357
+ static GetLandscapeWithOutDiscountFieldHeader(permission: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ShowDiscountColumn: any): any;
358
+ static GetLandscapeWithOutDiscountFieldHeader1(permission: any, Body: any, ShowIGST: any, ShowDiscountColumn: any): any;
359
+ static GetLandscapeWithOutDiscountFieldHeader2(permission: any, Body: any, ShowDiscountColumn: any): any;
360
+ static GetWithOutDiscAndTaxFieldHeader(Parts: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
361
+ static TaxTableWidths(PrintPartNo: any, ShowIGST: any, ShowDiscountColumn: any): (string | number)[];
362
+ static TaxDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): {
363
+ style: string;
364
+ marginTop: number;
365
+ table: {
366
+ widths: (string | number)[];
367
+ body: any;
368
+ };
369
+ layout: {
370
+ hLineWidth: (i: any, node: any) => number;
371
+ vLineWidth: (i: any, node: any) => number;
372
+ hLineColor: (i: any, node: any) => string;
373
+ vLineColor: (i: any, node: any) => string;
374
+ };
375
+ };
376
+ static WidthForInsuranceOrNot(ShowDiscountColumn: any, PrintPartNo: boolean): (string | number)[];
377
+ static ConsolidateDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): {
378
+ style: string;
379
+ marginTop: number;
380
+ table: {
381
+ widths: (string | number)[];
382
+ body: any;
383
+ };
384
+ layout: {
385
+ hLineWidth: (i: any, node: any) => number;
386
+ vLineWidth: (i: any, node: any) => number;
387
+ hLineColor: (i: any, node: any) => string;
388
+ vLineColor: (i: any, node: any) => string;
389
+ };
390
+ };
391
+ static NoTaxDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): {
392
+ style: string;
393
+ marginTop: number;
394
+ table: {
395
+ widths: (string | number)[];
396
+ body: any;
397
+ };
398
+ layout: {
399
+ hLineWidth: (i: any, node: any) => number;
400
+ vLineWidth: (i: any, node: any) => number;
401
+ hLineColor: (i: any, node: any) => string;
402
+ vLineColor: (i: any, node: any) => string;
403
+ };
404
+ };
405
+ static GetLandscapeTotalDetails(ROPrintData: any, index: any, numberofCopies: any, moreDiscDetails: boolean): any[];
406
+ static GetLandscapeSignatures(CName: any, For: any, Type: any): {
407
+ columns: {
408
+ stack: ({
409
+ style: string;
410
+ text: (string | {
411
+ text: any;
412
+ bold: string;
413
+ })[];
414
+ } | {
415
+ columns: any[];
416
+ })[];
417
+ }[];
418
+ };
419
+ static Authorizedsignature(): {
420
+ style: string;
421
+ text: string[];
422
+ };
423
+ static CustomerSignature(): {
424
+ style: string;
425
+ text: string[];
426
+ marginLeft: number;
427
+ };
428
+ static GetHCMarginsBasedOnPaperSize(size: any): number[];
429
+ static GetHCWatermark(ROPrintData: any): "" | {
430
+ text: string;
431
+ opacity: number;
432
+ };
433
+ static GetHCHeaderDetails(ROPrintData: any, text: any, isotherIndustry: boolean): any[];
434
+ static GetHCPrintType(type: any, RegNo: any): {
435
+ columns: ({
436
+ text: string;
437
+ width: number;
438
+ alignment?: undefined;
439
+ style?: undefined;
440
+ fontSize?: undefined;
441
+ } | {
442
+ text: any;
443
+ alignment: string;
444
+ style: string;
445
+ width?: undefined;
446
+ fontSize?: undefined;
447
+ } | {
448
+ text: string;
449
+ alignment: string;
450
+ width: number;
451
+ fontSize: number;
452
+ style?: undefined;
453
+ })[];
454
+ };
455
+ static HeaderAfterLine(): {
456
+ canvas: {
457
+ type: string;
458
+ lineColor: string;
459
+ x1: number;
460
+ y1: number;
461
+ x2: number;
462
+ y2: number;
463
+ lineWidth: number;
464
+ }[];
465
+ };
466
+ static CustomerAndVehicleDetailsAfterLine(): {
467
+ canvas: {
468
+ type: string;
469
+ lineColor: string;
470
+ x1: number;
471
+ y1: number;
472
+ x2: number;
473
+ y2: number;
474
+ lineWidth: number;
475
+ }[];
476
+ };
477
+ static PrepareHCPartsTable(ROPrintData: any, isAuto: boolean): any;
478
+ static GetHCLaborPartsTableForView(Parts: any, Ops: any, PrintPartNo: any): any;
479
+ static GetHCWithOutDiscountFieldTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): any;
480
+ static BuildHCTableBodyForLaborAndParts(Parts: any, Labor: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): any;
481
+ static GetHCWithOutDiscAndTaxFieldHeader(Parts: any, Ops: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): any;
482
+ static GetHCTaxTableWidths(PrintPartNo: any, ShowIGST: any, ShowDiscountColumn: any): number[];
483
+ static GetHCTaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): {
484
+ style: string;
485
+ table: {
486
+ widths: number[];
487
+ body: any;
488
+ };
489
+ layout: {
490
+ hLineWidth: (i: any, node: any) => number;
491
+ vLineWidth: (i: any, node: any) => number;
492
+ hLineColor: (i: any, node: any) => string;
493
+ vLineColor: (i: any, node: any) => string;
494
+ };
495
+ };
496
+ static GetHCConsolidateDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): {
497
+ style: string;
498
+ table: {
499
+ widths: number[];
500
+ body: any;
501
+ };
502
+ layout: {
503
+ hLineWidth: (i: any, node: any) => number;
504
+ vLineWidth: (i: any, node: any) => number;
505
+ hLineColor: (i: any, node: any) => string;
506
+ vLineColor: (i: any, node: any) => string;
507
+ };
508
+ };
509
+ static GetHCNoTaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): {
510
+ style: string;
511
+ table: {
512
+ widths: number[];
513
+ body: any;
514
+ };
515
+ layout: {
516
+ hLineWidth: (i: any, node: any) => number;
517
+ vLineWidth: (i: any, node: any) => number;
518
+ hLineColor: (i: any, node: any) => string;
519
+ vLineColor: (i: any, node: any) => string;
520
+ };
521
+ };
522
+ static BuildHCTableForCustomerLabor(Parts: any, Ops: any, PrintPartNo: any, customerorInsurance: any): any;
523
+ static GetHCSummaryHeaders(permission: boolean): any;
524
+ static GetHCTotalDetails(ROPrintData: any, index: any, numberofCopies: any, withPass: boolean, isAuto: boolean, moreDiscDetails: boolean): any[];
525
+ static GetStandardWatermark(ROPrintData: any, isAuto: any): "" | {
526
+ text: string;
527
+ opacity: number;
528
+ };
529
+ static GetStandardHeaderDetails(ROPrintData: any, text: any, isotherIndustry: boolean): any[];
530
+ static PrepareStandardPartsTable(ROPrintData: any, isAuto: boolean): any;
531
+ static GetStandardLaborPartsTableForView(Parts: any, Ops: any, PrintPartNo: any): any;
532
+ static GetStandardWithOutDiscountFieldTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): any;
533
+ static BuildStandardTableBodyForLaborAndParts(Parts: any, Labor: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): any;
534
+ static GetStandardWithOutDiscAndTaxFieldHeader(Parts: any, Ops: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): any;
535
+ static GetStandardTaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): {
536
+ style: string;
537
+ table: {
538
+ widths: (string | number)[];
539
+ body: any;
540
+ };
541
+ layout: {
542
+ hLineWidth: (i: any, node: any) => number;
543
+ vLineWidth: (i: any, node: any) => number;
544
+ hLineColor: (i: any, node: any) => string;
545
+ vLineColor: (i: any, node: any) => string;
546
+ };
547
+ };
548
+ static GetStandardConsolidateDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): {
549
+ style: string;
550
+ table: {
551
+ widths: number[];
552
+ body: any;
553
+ };
554
+ layout: {
555
+ hLineWidth: (i: any, node: any) => number;
556
+ vLineWidth: (i: any, node: any) => number;
557
+ hLineColor: (i: any, node: any) => string;
558
+ vLineColor: (i: any, node: any) => string;
559
+ };
560
+ };
561
+ static GetStandardNoTaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): {
562
+ style: string;
563
+ table: {
564
+ widths: number[];
565
+ body: any;
566
+ };
567
+ layout: {
568
+ hLineWidth: (i: any, node: any) => number;
569
+ vLineWidth: (i: any, node: any) => number;
570
+ hLineColor: (i: any, node: any) => string;
571
+ vLineColor: (i: any, node: any) => string;
572
+ };
573
+ };
574
+ static BuildStandardTableForCustomerLabor(Parts: any, Ops: any, PrintPartNo: any, customerorInsurance: any): any;
575
+ static GetStandardSummaryHeaders(permission: boolean): any;
576
+ static GetStandardTotalDetails(ROPrintData: any, index: any, numberofCopies: any, withPass: boolean, isAuto: boolean, moreDiscDetails: boolean): any[];
577
+ static GetBanckdetailswithQRCode(ROPrintData: any): {
578
+ columns: any[];
579
+ };
580
+ static GetGatePass(isGatepass: boolean, ROPrintData: any): any;
581
+ static GetGatePassCustomerDetails(ROPrintData: any, isOtherIndustry: boolean): {
582
+ lineHeight: number;
583
+ fontSize: number;
584
+ table: {
585
+ body: any;
586
+ };
587
+ layout: string;
588
+ };
589
+ static GetGatePassVehicleDetails(Vehicle: any, isOtherIndustry: boolean): {
590
+ lineHeight: number;
591
+ fontSize: number;
592
+ table: {
593
+ body: any;
594
+ };
595
+ layout: string;
596
+ };
597
+ }