shareneus 1.4.48 → 1.4.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.
Files changed (47) hide show
  1. package/dist/accounting/counter-sales/sales-receipt-print.service.d.ts +3 -3
  2. package/dist/accounting/counter-sales/sales-receipt-print.service.js +30 -29
  3. package/dist/accounting/credit-note/cn-print.service.d.ts +1 -2
  4. package/dist/accounting/credit-note/cn-print.service.js +10 -32
  5. package/dist/accounting/credit-note/credit-note-totals.service.d.ts +6 -6
  6. package/dist/accounting/credit-note/credit-note-totals.service.js +19 -19
  7. package/dist/accounting/debit-note/debit-note-print.service.d.ts +2 -2
  8. package/dist/accounting/debit-note/debit-note-print.service.js +15 -15
  9. package/dist/accounting/debit-note/debit-note-totals.service.d.ts +6 -6
  10. package/dist/accounting/debit-note/debit-note-totals.service.js +18 -18
  11. package/dist/accounting/invoice/hc-inv-pdf.service.d.ts +7 -7
  12. package/dist/accounting/invoice/hc-inv-pdf.service.js +36 -36
  13. package/dist/accounting/invoice/inv-pdf.service.d.ts +6 -6
  14. package/dist/accounting/invoice/inv-pdf.service.js +43 -43
  15. package/dist/accounting/invoice/inv-print.service.d.ts +3 -3
  16. package/dist/accounting/invoice/inv-print.service.js +24 -24
  17. package/dist/accounting/invoice/invoice-letterhead-pdf.service.d.ts +6 -6
  18. package/dist/accounting/invoice/invoice-letterhead-pdf.service.js +43 -43
  19. package/dist/accounting/invoice/invoice-total.service.d.ts +11 -11
  20. package/dist/accounting/invoice/invoice-total.service.js +54 -54
  21. package/dist/accounting/invoice/shared-inv-pdf.service.d.ts +6 -6
  22. package/dist/accounting/invoice/shared-inv-pdf.service.js +29 -29
  23. package/dist/appointments/appointments/appointment-total.service.d.ts +6 -6
  24. package/dist/appointments/appointments/appointment-total.service.js +28 -29
  25. package/dist/purchases/purchase-order/po-totals.service.d.ts +7 -7
  26. package/dist/purchases/purchase-order/po-totals.service.js +24 -25
  27. package/dist/purchases/purchase-order/purchase-order-print.service.js +3 -3
  28. package/dist/purchases/purchase-order/purchase-order-totals.service.d.ts +10 -10
  29. package/dist/purchases/purchase-order/purchase-order-totals.service.js +27 -27
  30. package/dist/purchases/vendor-debit-note/vendor-debit-note-print.service.d.ts +1 -2
  31. package/dist/purchases/vendor-debit-note/vendor-debit-note-print.service.js +10 -32
  32. package/dist/sales/delivery-challan/delivery-challan-print.service.d.ts +1 -2
  33. package/dist/sales/delivery-challan/delivery-challan-print.service.js +9 -32
  34. package/dist/sales/sales/sales-print.service.d.ts +2 -2
  35. package/dist/sales/sales/sales-print.service.js +17 -17
  36. package/dist/services/est.print-service.d.ts +18 -18
  37. package/dist/services/est.print-service.js +132 -132
  38. package/dist/services/ro-print-service.d.ts +6 -6
  39. package/dist/services/ro-print-service.js +39 -39
  40. package/dist/shared/shared-pdf.service.d.ts +0 -16
  41. package/dist/shared/shared-pdf.service.js +36 -34
  42. package/dist/shared/shared-print.service.js +1 -0
  43. package/dist/utils/tr-utils.d.ts +2 -3
  44. package/dist/utils/tr-utils.js +5 -5
  45. package/package.json +1 -1
  46. package/dist/shared/shared-pdfs/shared-pdf.service.d.ts +0 -926
  47. package/dist/shared/shared-pdfs/shared-pdf.service.js +0 -2608
@@ -1,926 +0,0 @@
1
- export declare class SharedPDFService {
2
- static BodySize: number;
3
- static TableHeaders: number;
4
- static SubHeaderSize: number;
5
- static TermsandCond: number;
6
- static MainHeading(CName: any, Entity: any, Image: any, HColor: any, CopyName: any): any;
7
- static HeaderAlignmentBasedOnCondition(CName: any, Image: any, HColor: any, headerstyle: any, MainHeaderStyle: any, Entity: any, CopyName: any): any;
8
- static GetLeftMArgin(WorkShopName: any): "center" | "left";
9
- static GetMainHeader(Entity: any, Image: any, AColor: any, HColor: any, text: any): {
10
- columns: any;
11
- };
12
- static GetConsultationMainHeader(Entity: any, Image: any, AColor: any, HColor: any, text: any): {
13
- columns: any;
14
- width: string;
15
- };
16
- static ConsultationMainHeading(CName: any, Entity: any, Image: any, HColor: any, CopyName: any): any;
17
- static ConsultHeaderAlignmentBasedOnCondition(CName: any, Image: any, HColor: any, headerstyle: any, MainHeaderStyle: any, Entity: any, CopyName: any): any;
18
- static GetConsultationLeftAlignmentHeader(Entity: any, Image: any, AColor: any, HColor: any, text: any): any;
19
- static GetWatermarkImage(Image: any, pageSize: any, Wmark: boolean): any;
20
- static GetLeftAlignmentHeader(Entity: any, Image: any, AColor: any, HColor: any, text: any): any;
21
- static GetAddresDetailsAndLogo(Entity: any, Image: any, AColor: any, HColor: any, text: any): any;
22
- static GetHeader(Entity: any, HColor: string): any;
23
- static GetMainHeaderStyleForLeftAlignHeader(WorkShopName: string): any;
24
- static GetEntityDetails(Entity: any): {
25
- lineHeight: number;
26
- stack: any;
27
- };
28
- static GetEntityTax(Entity: any): any;
29
- static GetEntityeDataTable(EntityFields: any, Entity: any): {
30
- lineHeight: number;
31
- marginTop: number;
32
- marginLeft: number;
33
- fontSize: number;
34
- table: {
35
- body: {
36
- table: {
37
- fontSize: number;
38
- widths: string[];
39
- body: any;
40
- };
41
- layout: string;
42
- }[][];
43
- };
44
- layout: string;
45
- };
46
- static EntityTableDataDetails(EntityFields: any, Entity: any): any;
47
- static GetTagLine(TLine: any): any;
48
- static GetEmail(email: any): any;
49
- static getPinCode(pin: any): any;
50
- static GetPrintType(type: any): {
51
- columns: ({
52
- text: string;
53
- width: number;
54
- alignment?: undefined;
55
- } | {
56
- text: any;
57
- alignment: string;
58
- width?: undefined;
59
- })[];
60
- style: string;
61
- };
62
- static GetUnderLine(): {
63
- marginTop: number;
64
- canvas: {
65
- type: string;
66
- color: string;
67
- x1: number;
68
- y1: number;
69
- x2: number;
70
- y2: number;
71
- lineWidth: number;
72
- }[];
73
- };
74
- static GetUnderLine1(withPass: boolean): any;
75
- static GetLightUnderLine(width: number, color: string): {
76
- canvas: {
77
- type: string;
78
- color: string;
79
- x1: number;
80
- y1: number;
81
- x2: number;
82
- y2: number;
83
- lineWidth: number;
84
- }[];
85
- };
86
- static HeaderAfterLine(): {
87
- canvas: {
88
- type: string;
89
- lineColor: string;
90
- x1: number;
91
- y1: number;
92
- x2: number;
93
- y2: number;
94
- lineWidth: number;
95
- }[];
96
- };
97
- static HeaderAfterLine2(): {
98
- canvas: {
99
- type: string;
100
- lineColor: string;
101
- x1: number;
102
- y1: number;
103
- x2: number;
104
- y2: number;
105
- lineWidth: number;
106
- }[];
107
- };
108
- static HeaderAfterLine1(): {
109
- canvas: {
110
- type: string;
111
- lineColor: string;
112
- x1: number;
113
- y1: number;
114
- x2: number;
115
- y2: number;
116
- lineWidth: number;
117
- }[];
118
- };
119
- static CustomerAndVehicleDetailsAfterLine(): {
120
- canvas: {
121
- type: string;
122
- lineColor: string;
123
- x1: number;
124
- y1: number;
125
- x2: number;
126
- y2: number;
127
- lineWidth: number;
128
- }[];
129
- };
130
- static convertImgToBase64URL(url: any, callback: any, outputFormat: any): void;
131
- static GetShowLine(ROData: any): any;
132
- static GetTemsAndConditions(Terms: any): any;
133
- static GetSearchValueDetails(searchValue: any): {
134
- style: string[];
135
- lineHeight: number;
136
- fontSize: number;
137
- marginBottom: number;
138
- table: {
139
- body: any;
140
- };
141
- layout: string;
142
- };
143
- static GetBankDetials(Bankinfo: any, isPrint: boolean): any;
144
- static GetBankDataTable(data: any, isBank: boolean): any;
145
- static LaborTotalTable(ROPrintData: any): {
146
- style: string[];
147
- lineHeight: number;
148
- fontSize: number;
149
- marginBottom: number;
150
- table: {
151
- body: any;
152
- };
153
- layout: string;
154
- };
155
- static PartsTotalTables(ROPrintData: any): {
156
- style: string[];
157
- lineHeight: number;
158
- fontSize: number;
159
- marginBottom: number;
160
- table: {
161
- body: any;
162
- };
163
- layout: string;
164
- };
165
- static GetDataTable(data: any, istotal: boolean): any;
166
- static GetCustomerAndVehicleDetails(Id: any, CrDate: any, PrDate: any, MOut: any, MIn: any, Vehicle: any, PrintType: any, For: any, SurName: any, SurPhone: any, Type: any, SurEmail: any, InsComp: any, PolNo: any, PolType: any, Customer: any, IsProforma: boolean, Settings: any, Location: any, isOtherIndustry: boolean, BL: any, ROCode: any, TypeName: any, AdmNo: any, DoS: any): {
167
- style: string;
168
- marginLeft: number;
169
- columns: ({
170
- stack: any[];
171
- width: number;
172
- marginLeft: number;
173
- } | {
174
- stack: any[];
175
- width: number;
176
- marginRight: number;
177
- text?: undefined;
178
- } | {
179
- text: string;
180
- width: number;
181
- stack?: undefined;
182
- marginRight?: undefined;
183
- } | {
184
- stack: {
185
- lineHeight: number;
186
- fontSize: number;
187
- table: {
188
- body: any;
189
- };
190
- layout: string;
191
- }[];
192
- width: number;
193
- })[];
194
- };
195
- static GetReceiptCustomerAndVehicleDetails(Id: any, CrDate: any, PrDate: any, MOut: any, MIn: any, Vehicle: any, PrintType: any, For: any, SurName: any, SurPhone: any, Type: any, SurEmail: any, InsComp: any, PolNo: any, PolType: any, Customer: any, IsProforma: boolean, Settings: any, Location: any, isOtherIndustry: boolean): {
196
- style: string;
197
- marginLeft: number;
198
- columns: ({
199
- stack: any[];
200
- width: number;
201
- marginRight: number;
202
- text?: undefined;
203
- } | {
204
- text: string;
205
- width: number;
206
- stack?: undefined;
207
- marginRight?: undefined;
208
- } | {
209
- stack: any[];
210
- width: number;
211
- marginLeft: number;
212
- } | {
213
- stack: {
214
- lineHeight: number;
215
- fontSize: number;
216
- table: {
217
- body: any;
218
- };
219
- layout: string;
220
- }[];
221
- width: number;
222
- })[];
223
- };
224
- static GetSOCustomerAndOthDetails(Id: any, CrDate: any, PrDate: any, PrintType: any, For: any, SurName: any, SurPhone: any, Type: any, SurEmail: any, Shipment: any, PolNo: any, PolType: any, Customer: any, DoS: any, RefNo: any, IsPackage: any, PackId: any, PackedDate: any, ShipId: any, ShippedDate: any): {
225
- style: string;
226
- marginLeft: number;
227
- stack: ({
228
- columns: {
229
- stack: any[];
230
- width: number;
231
- marginLeft: number;
232
- }[];
233
- marginTop: number;
234
- } | {
235
- columns: {
236
- text: string;
237
- }[];
238
- })[];
239
- };
240
- static CustomerDetails(Customer: any, Type: any, For: any, Vehicle: any, Settings: any, Shipment: any): {
241
- columns: {
242
- stack: any[];
243
- width: number;
244
- marginLeft: number;
245
- }[];
246
- marginTop: number;
247
- };
248
- static GetCustomerSO(Customer: any, Type: any, For: any, Vehicle: any, Settings: any, Headding: any): {
249
- stack: any[];
250
- width: number;
251
- marginLeft: number;
252
- };
253
- static GetOwnerDetails(Customer: any, Type: any, For: any): any;
254
- static GetReceiptCustomer(Customer: any, Type: any, For: any, Vehicle: any, Settings: any, Headding: any, isOtherIndustry: boolean): {
255
- stack: any[];
256
- width: number;
257
- marginLeft: number;
258
- };
259
- static GetReceiptCustomerDetails(Customer: any, Type: any, Vehicle: any, Settings: any, CustHeader: string): any;
260
- static GetCustomer(Customer: any, Type: any, For: any, Vehicle: any, Settings: any, Headding: any, isOtherIndustry: boolean): {
261
- stack: any[];
262
- width: number;
263
- marginLeft: number;
264
- };
265
- static GetInsurence(For: any, SurName: any, SurPhone: any, Type: any, SurEmail: any, InsComp: any, PolNo: any, PolType: any, Location: any, isOtherIndustry: boolean): {
266
- stack: any[];
267
- width: number;
268
- marginRight: number;
269
- text?: undefined;
270
- } | {
271
- text: string;
272
- width: number;
273
- stack?: undefined;
274
- marginRight?: undefined;
275
- };
276
- static GetVehicle(Type: any, Id: any, CrDate: any, PrDate: any, MOut: any, MIn: any, Vehicle: any, PrintType: any, For: any, IsProforma: boolean, Settings: any, isOtherIndustry: boolean, BL: any, ROCode: any, TypeName: any, AdmNo: any, DoS: any): {
277
- stack: {
278
- lineHeight: number;
279
- fontSize: number;
280
- table: {
281
- body: any;
282
- };
283
- layout: string;
284
- }[];
285
- width: number;
286
- };
287
- static GetReceiptVehicle(Type: any, Id: any, CrDate: any, PrDate: any, MOut: any, MIn: any, Vehicle: any, PrintType: any, For: any, IsProforma: boolean, Settings: any, isOtherIndustry: boolean): {
288
- stack: {
289
- lineHeight: number;
290
- fontSize: number;
291
- table: {
292
- body: any;
293
- };
294
- layout: string;
295
- }[];
296
- width: number;
297
- };
298
- static GetReceiptVehicleDetails(Type: any, Id: any, CrDate: any, PrDate: any, MOut: any, MIn: any, Vehicle: any, PrintType: any, IsProforma: boolean, Settings: any, isOtherIndustry: boolean): {
299
- lineHeight: number;
300
- fontSize: number;
301
- table: {
302
- body: any;
303
- };
304
- layout: string;
305
- };
306
- static GetInsurenceDetails(For: any, SurName: any, SurPhone: any, SurEmail: any, InsComp: any, PolNo: any, PolType: any, Type: any, Location: any, isOtherIndustry: boolean): any;
307
- static GetInsuranceDetailsTable(InsuranceFields: any, SurName: any, SurPhone: any, SurEmail: any, InsComp: any, PolNo: any, PolType: any): any;
308
- static GetPolicyInfo(PolNo: any, PolType: any): any;
309
- static GetSurveyor(SurName: any, SurPhone: any, SurEmail: any): any;
310
- static emptyObject(): any;
311
- static InsCompany(InsComp: any): any;
312
- static GetInsuranceDetails(data: any): {
313
- fontSize: number;
314
- lineHeight: number;
315
- table: {
316
- body: any;
317
- };
318
- layout: string;
319
- };
320
- static GetInsuranceTable(data: any): any;
321
- static GetCustomerDetails(Customer: any, Type: any, Vehicle: any, Settings: any, CustHeader: string): any;
322
- static GetNameAndAddress(RepairOrder: any): "Insurance Company Name & Address:" | "Customer Name & Address:" | "Location:";
323
- static GetCustomerName(Customer: any): any;
324
- static GetCustomerGSTIN(Customer: any): any;
325
- static GetCustomerDLNo(Customer: any): any;
326
- static GetCustPhoneNumber(Customer: any, Type: any): any;
327
- static GetAddress(Customer: any): any;
328
- static GetVehicleDetails(Type: any, Id: any, CrDate: any, PrDate: any, MOut: any, MIn: any, Vehicle: any, PrintType: any, IsProforma: boolean, Settings: any, isOtherIndustry: boolean, BL: any, ROCode: any, TypeName: any, AdmNo: any, DoS: any): {
329
- lineHeight: number;
330
- fontSize: number;
331
- table: {
332
- body: any;
333
- };
334
- layout: string;
335
- };
336
- static GetStateName(PlaceofSupply: any): any;
337
- static GetOtherDtails(Type: any, Id: any, CrDate: any, PrDate: any, PrintType: any, Settings: any, RefNo: any, IsPackage: any, PackId: any, PackedDate: any, ShipId: any, ShippedDate: any): {
338
- lineHeight: number;
339
- fontSize: number;
340
- table: {
341
- body: any;
342
- };
343
- layout: string;
344
- };
345
- static CheckAndSetString(Value: any): any;
346
- static GetVehicleDataTable(vehicleData: any): {
347
- lineHeight: number;
348
- fontSize: number;
349
- table: {
350
- body: any;
351
- };
352
- layout: string;
353
- };
354
- static GetFormatContact(CustomerObj: any): string;
355
- static GetFormatAddress(CustomerObj: any): string;
356
- static GetDisplayTable(): {
357
- text: string;
358
- fontSize: number;
359
- bold: boolean;
360
- margin: number[];
361
- };
362
- static GetHeaders(PrintPartNumber: any): any;
363
- static PartsTaxAmounts1(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): "" | {
364
- stack: {
365
- style: string;
366
- table: {
367
- widths: number[];
368
- headerRows: number;
369
- body: any;
370
- };
371
- layout: {
372
- hLineWidth: (i: any, node: any) => 0 | 0.1;
373
- vLineWidth: (i: any, node: any) => number;
374
- hLineColor: (i: any, node: any) => string;
375
- };
376
- }[];
377
- };
378
- static PartsTaxAmounts(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): "" | {
379
- stack: {
380
- style: string;
381
- table: {
382
- widths: number[];
383
- headerRows: number;
384
- body: any;
385
- };
386
- layout: {
387
- hLineWidth: (i: any, node: any) => 0 | 0.1;
388
- vLineWidth: (i: any, node: any) => number;
389
- hLineColor: (i: any, node: any) => string;
390
- };
391
- }[];
392
- };
393
- static AllHSNPartCGSTTaxListTable1(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): {
394
- style: string;
395
- table: {
396
- widths: number[];
397
- headerRows: number;
398
- body: any;
399
- };
400
- layout: {
401
- hLineWidth: (i: any, node: any) => 0 | 0.1;
402
- vLineWidth: (i: any, node: any) => number;
403
- hLineColor: (i: any, node: any) => string;
404
- };
405
- };
406
- static AllHSNPartCGSTTaxListTable(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): {
407
- style: string;
408
- table: {
409
- widths: number[];
410
- headerRows: number;
411
- body: any;
412
- };
413
- layout: {
414
- hLineWidth: (i: any, node: any) => 0 | 0.1;
415
- vLineWidth: (i: any, node: any) => number;
416
- hLineColor: (i: any, node: any) => string;
417
- };
418
- };
419
- static AllPartCGSTTaxListTable(PartsTaxInfo: any, ShowAccParts: any, ShowTaxColumn: any): {
420
- style: string;
421
- table: {
422
- widths: number[];
423
- body: any;
424
- };
425
- layout: {
426
- hLineWidth: (i: any, node: any) => 0 | 0.1;
427
- vLineWidth: (i: any, node: any) => number;
428
- hLineColor: (i: any, node: any) => string;
429
- };
430
- };
431
- static HeaderLineStyle(): {
432
- hLineWidth: (i: any, node: any) => 0 | 0.1;
433
- vLineWidth: (i: any, node: any) => number;
434
- hLineColor: (i: any, node: any) => string;
435
- };
436
- static CreateHeadingAllPartCGSTTaxList(): ({
437
- text: string;
438
- style: string;
439
- fontSize: number;
440
- lineHeight: number;
441
- Field: string;
442
- alignment?: undefined;
443
- } | {
444
- text: string;
445
- style: string;
446
- alignment: string;
447
- fontSize: number;
448
- lineHeight: number;
449
- Field: string;
450
- })[];
451
- static ALLPartsCGSTTaxListTable(PartsTaxInfo: any, ShowAccParts: any, ShowTaxColumn: any): any;
452
- static CreateHeadingAllHSNTaxList(ShowIGST: any): {
453
- text: string;
454
- style: string;
455
- fontSize: number;
456
- lineHeight: number;
457
- Field: string;
458
- }[];
459
- static CreateHeadingAllTaxList(ShowIGST: any): {
460
- text: string;
461
- style: string;
462
- fontSize: number;
463
- lineHeight: number;
464
- Field: string;
465
- }[];
466
- static CreateHSNTaxTable1(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): any;
467
- static CreateHSNTaxTable(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): any;
468
- static GetHCFinalTotalDetails(RecordData: any, BasicLaborTotal: any, OverAllMainLaborDiscount: any, LCGST: any, LSGST: any, LIGST: any, PIGST: any, ShowIGST: any, ShowTaxColumn: any, BasicPartsTotal: any, OverAllMainPartsDiscount: any, PCGST: any, PSGST: any, PartsTaxInfo: any, ShowAccParts: any, LaborAfterGST: any, PartsAfterGST: any, OverAllRecordDiscount: any, For: any, OverAllRecordTotal: any, Rounded: any, GrandTotal: any, ShowDetailedLaborTaxInfo: any, ShowDetailedPartTaxInfo: any, istaxable: boolean, LaborTotalTax: any, PartTotalTax: any, Consolidate: boolean, From: string, Adj: any, STotal: any, moreDiscDetails: boolean): {
469
- columns: ({
470
- style: string[];
471
- lineHeight: number;
472
- marginBottom: number;
473
- width: string;
474
- table: {
475
- body: any;
476
- };
477
- layout: string;
478
- } | {
479
- text: string;
480
- width: number;
481
- })[];
482
- marginLeft: number;
483
- };
484
- static GetFinalTotalDetails1(RecordData: any, BasicLaborTotal: any, OverAllMainLaborDiscount: any, LCGST: any, LSGST: any, LIGST: any, PIGST: any, ShowIGST: any, ShowTaxColumn: any, BasicPartsTotal: any, OverAllMainPartsDiscount: any, PCGST: any, PSGST: any, PartsTaxInfo: any, ShowAccParts: any, LaborAfterGST: any, PartsAfterGST: any, OverAllRecordDiscount: any, For: any, OverAllRecordTotal: any, Rounded: any, GrandTotal: any, ShowDetailedLaborTaxInfo: any, ShowDetailedPartTaxInfo: any, istaxable: boolean, LaborTotalTax: any, PartTotalTax: any, Consolidate: boolean, From: string, Adj: any, CustLaborTaxGroupDataByPerc: any, STotal: any, isAuto: boolean, moreDiscDetails: boolean): {
485
- columns: ({
486
- style: string[];
487
- lineHeight: number;
488
- marginBottom: number;
489
- width: string;
490
- table: {
491
- body: any;
492
- };
493
- layout: string;
494
- } | {
495
- stack: (string | {
496
- stack: {
497
- style: string;
498
- table: {
499
- widths: number[];
500
- headerRows: number;
501
- body: any;
502
- };
503
- layout: {
504
- hLineWidth: (i: any, node: any) => 0 | 0.1;
505
- vLineWidth: (i: any, node: any) => number;
506
- hLineColor: (i: any, node: any) => string;
507
- };
508
- }[];
509
- } | {
510
- text: string;
511
- fontSize: number;
512
- opacity: number;
513
- })[];
514
- })[];
515
- marginLeft: number;
516
- };
517
- static GrandTotal1(RecordData: any, LaborAfterGST: any, PartsAfterGST: any, OverAllRecordDiscount: any, totalTax: any, For: any, OverAllRecordTotal: any, Rounded: any, GrandTotal: any, Adj: any, Consolidate: any, STotal: any, moreDiscDetails: boolean): {
518
- style: string[];
519
- lineHeight: number;
520
- marginBottom: number;
521
- width: string;
522
- table: {
523
- body: any;
524
- };
525
- layout: string;
526
- };
527
- static GetFinalTotalDetails(RecordData: any, BasicLaborTotal: any, OverAllMainLaborDiscount: any, LCGST: any, LSGST: any, LIGST: any, PIGST: any, ShowIGST: any, ShowTaxColumn: any, BasicPartsTotal: any, OverAllMainPartsDiscount: any, PCGST: any, PSGST: any, PartsTaxInfo: any, ShowAccParts: any, LaborAfterGST: any, PartsAfterGST: any, OverAllRecordDiscount: any, For: any, OverAllRecordTotal: any, Rounded: any, GrandTotal: any, ShowDetailedLaborTaxInfo: any, ShowDetailedPartTaxInfo: any, istaxable: boolean, LaborTotalTax: any, PartTotalTax: any, Consolidate: boolean, From: string, Adj: any, STotal: any, moreDiscDetails: boolean): {
528
- columns: any[];
529
- marginLeft: number;
530
- };
531
- static GetDebitTotalDetails(RecordData: any, BasicLaborTotal: any, OverAllMainLaborDiscount: any, LCGST: any, LSGST: any, LIGST: any, PIGST: any, ShowIGST: any, ShowTaxColumn: any, BasicPartsTotal: any, OverAllMainPartsDiscount: any, PCGST: any, PSGST: any, PartsTaxInfo: any, ShowAccParts: any, LaborAfterGST: any, PartsAfterGST: any, OverAllRecordDiscount: any, For: any, OverAllRecordTotal: any, Rounded: any, GrandTotal: any, ShowDetailedLaborTaxInfo: any, ShowDetailedPartTaxInfo: any, istaxable: boolean, LaborTotalTax: any, PartTotalTax: any, Consolidate: boolean, From: string, moreDiscDetails: boolean): {
532
- columns: ({
533
- style: string[];
534
- lineHeight: number;
535
- marginBottom: number;
536
- fontSize: number;
537
- table: {
538
- body: any;
539
- };
540
- layout: string;
541
- } | {
542
- text: string;
543
- width: number;
544
- stack?: undefined;
545
- } | {
546
- stack: any[];
547
- text?: undefined;
548
- width?: undefined;
549
- })[];
550
- marginLeft: number;
551
- };
552
- static DebitGrandTotal(RecordData: any, LaborAfterGST: any, PartsAfterGST: any, OverAllRecordDiscount: any, totalTax: any, For: any, OverAllRecordTotal: any, Rounded: any, GrandTotal: any, moreDiscDetails: boolean): {
553
- style: string[];
554
- lineHeight: number;
555
- marginBottom: number;
556
- fontSize: number;
557
- table: {
558
- body: any;
559
- };
560
- layout: string;
561
- };
562
- static GetPOTotalDetails(ROPrintData: any, moreDiscDetails: boolean): {
563
- columns: ({
564
- style: string[];
565
- lineHeight: number;
566
- marginBottom: number;
567
- width: string;
568
- table: {
569
- body: any;
570
- };
571
- layout: string;
572
- } | {
573
- stack: any[];
574
- text?: undefined;
575
- width?: undefined;
576
- } | {
577
- text: string;
578
- width: number;
579
- stack?: undefined;
580
- })[];
581
- marginLeft: number;
582
- };
583
- static GetTaxOnParts(BasicPartsTotal: any, OverAllMainPartsDiscount: any, PCGST: any, PSGST: any, ShowAccParts: any, PIGST: any, ShowIGST: any, ShowTaxColumn: any, ShowDetailedPartTaxInfo: any, From: string, Consolidate: boolean): any;
584
- static GetTaxOnLabor(BasicLaborTotal: any, OverAllMainLaborDiscount: any, LCGST: any, LSGST: any, LIGST: any, ShowIGST: any, ShowTaxColumn: any, ShowDetailedLaborTaxInfo: any, Consolidate: boolean): any;
585
- static GrandTotal(RecordData: 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): {
586
- style: string[];
587
- lineHeight: number;
588
- marginBottom: number;
589
- width: string;
590
- table: {
591
- body: any;
592
- };
593
- layout: string;
594
- };
595
- static SalesGrandTotal(LaborAfterGST: any, PartsAfterGST: any, OverAllRecordDiscount: any, For: any, OverAllRecordTotal: any, Rounded: any, GrandTotal: any): {
596
- style: string[];
597
- lineHeight: number;
598
- marginBottom: number;
599
- table: {
600
- body: any;
601
- };
602
- layout: string;
603
- };
604
- static GrandTotalTable(data: any): any;
605
- static InvoiceDueStatus(Type: any, Paid: any, Due: any, Status: any, isCounter: boolean): any;
606
- static DebitDueStatus(Type: any, Paid: any, Due: any, Status: any): {
607
- fontSize: number;
608
- marginTop: number;
609
- marginBottom: number;
610
- table: {
611
- widths: number[];
612
- body: {
613
- text: string;
614
- }[][];
615
- };
616
- layout: {
617
- hLineColor: (i: any, node: any) => "gray" | "white";
618
- vLineColor: (i: any, node: any) => "gray" | "white";
619
- };
620
- };
621
- static LayOutStyle(): {
622
- hLineColor: (i: any, node: any) => "gray" | "white";
623
- vLineColor: (i: any, node: any) => "gray" | "white";
624
- };
625
- static LayOutStyle1(): {
626
- hLineColor: (i: any, node: any) => "gray" | "white";
627
- vLineColor: (i: any, node: any) => "gray" | "white";
628
- };
629
- static GetImage(Image: any, PrLogo: boolean): {
630
- image: any;
631
- width: number;
632
- height: number;
633
- text?: undefined;
634
- } | {
635
- text: string;
636
- width: number;
637
- height: number;
638
- image?: undefined;
639
- };
640
- static FooterContent(CnstData: any): any;
641
- static GetEntityAddress(Entity: any): {
642
- style: string;
643
- table: {
644
- widths: (string | number)[];
645
- body: (({
646
- text: string;
647
- bold: boolean;
648
- marginLeft?: undefined;
649
- } | {
650
- text: string;
651
- marginLeft: number;
652
- bold?: undefined;
653
- })[] | ({
654
- text: string;
655
- marginLeft?: undefined;
656
- } | {
657
- text: string;
658
- marginLeft: number;
659
- })[])[];
660
- };
661
- layout: string;
662
- };
663
- static GetSignatures(CName: any, For: any, Type: any): {
664
- columns: {
665
- stack: ({
666
- style: string;
667
- text: (string | {
668
- text: any;
669
- bold: string;
670
- })[];
671
- } | {
672
- columns: any[];
673
- })[];
674
- }[];
675
- };
676
- static GetInvSignatures(CName: any, isCounterSale: boolean): {
677
- columns: {
678
- stack: ({
679
- style: string;
680
- text: (string | {
681
- text: any;
682
- bold: string;
683
- })[];
684
- } | {
685
- columns: any[];
686
- })[];
687
- }[];
688
- };
689
- static GetHCInvSignatures(CName: any, isCounterSale: boolean): {
690
- columns: {
691
- stack: ({
692
- style: string;
693
- text: (string | {
694
- text: any;
695
- bold: string;
696
- })[];
697
- } | {
698
- columns: any[];
699
- })[];
700
- }[];
701
- };
702
- static SparesSignature(CounterSale: boolean): any;
703
- static CompanyName(CName: any): {
704
- style: string;
705
- text: (string | {
706
- text: any;
707
- bold: string;
708
- })[];
709
- };
710
- static Authorizedsignature(): {
711
- style: string;
712
- text: string[];
713
- };
714
- static Accountantsignature(): {
715
- style: string;
716
- text: string[];
717
- marginLeft: number;
718
- };
719
- static CustomerSignature(): {
720
- style: string;
721
- text: string[];
722
- marginLeft: number;
723
- };
724
- static PatientSignature(): {
725
- style: string;
726
- text: string[];
727
- marginLeft: number;
728
- };
729
- static SurveyorSignature(For: any, Type: any): any;
730
- static GetHeadersWithDiffDisc(ROData: any, PrintPartNumber: any): any;
731
- static GetStyles(): {
732
- temp2header: {
733
- fontSize: number;
734
- bold: boolean;
735
- alignment: string;
736
- };
737
- tableheader1: {
738
- bold: boolean;
739
- fontFamily: string;
740
- margin: number[];
741
- alignment: string;
742
- };
743
- header: {
744
- fontSize: number;
745
- bold: boolean;
746
- alignment: string;
747
- };
748
- meetingHeader: {
749
- fontSize: number;
750
- bold: boolean;
751
- };
752
- Receiptheader: {
753
- fontSize: number;
754
- bold: boolean;
755
- alignment: string;
756
- margin: number[];
757
- };
758
- InlineHeader: {
759
- fontSize: number;
760
- bold: boolean;
761
- alignment: string;
762
- margin: number[];
763
- };
764
- TaskHeading: {
765
- fontSize: number;
766
- bold: boolean;
767
- margin: number[];
768
- };
769
- lettersSize: {
770
- fontSize: number;
771
- margin: number[];
772
- };
773
- tablexample: {
774
- margin: number[];
775
- };
776
- hedstyl: {
777
- margin: number[];
778
- };
779
- header2: {
780
- fontSize: number;
781
- bold: boolean;
782
- alignment: string;
783
- margin: number[];
784
- };
785
- header1: {
786
- fontSize: number;
787
- bold: boolean;
788
- alignment: string;
789
- decoration: string;
790
- margin: number[];
791
- };
792
- ws_adrs_center: {
793
- fontSize: number;
794
- alignment: string;
795
- };
796
- ws_adrs_center1: {
797
- fontSize: number;
798
- alignment: string;
799
- };
800
- ws_adrs_left: {
801
- fontSize: number;
802
- alignment: string;
803
- };
804
- ws_adrs_left1: {
805
- fontSize: number;
806
- alignment: string;
807
- };
808
- columnheader: {
809
- margin: number[];
810
- };
811
- tableExample: {
812
- margin: number[];
813
- fontSize: number;
814
- };
815
- tableExamplemargin: {
816
- margin: number[];
817
- fontSize: number;
818
- };
819
- textcust: {
820
- fontSize: number;
821
- margin: number[];
822
- };
823
- column: {
824
- margin: number[];
825
- };
826
- tableheader: {
827
- bold: boolean;
828
- fontSize: number;
829
- margin: number[];
830
- alignment: string;
831
- };
832
- tableheader2: {
833
- fontSize: number;
834
- margin: number[];
835
- alignment: string;
836
- opacity: number;
837
- };
838
- hed: {
839
- fontSize: number;
840
- bold: boolean;
841
- };
842
- hed2: {
843
- fontSize: number;
844
- };
845
- TotalsStyles: {
846
- marginTop: number;
847
- lineHeight: number;
848
- fontSize: number;
849
- margin: number[];
850
- };
851
- colum1: {
852
- fontSize: number;
853
- lineHeight: number;
854
- };
855
- colum2: {
856
- fontSize: number;
857
- lineHeight: number;
858
- margin: number[];
859
- };
860
- colum3: {
861
- lineHeight: number;
862
- };
863
- Receiptheader1: {
864
- fontSize: number;
865
- bold: boolean;
866
- alignment: string;
867
- margin: number[];
868
- };
869
- Row1: {
870
- fontSize: number;
871
- margin: number[];
872
- };
873
- rowdata: {
874
- margin: number[];
875
- fontSize: number;
876
- };
877
- forCompany: {
878
- margin: number[];
879
- fontSize: string;
880
- };
881
- forCompany1: {
882
- margin: number[];
883
- fontSize: string;
884
- };
885
- Rupees: {
886
- margin: number[];
887
- fontSize: string;
888
- };
889
- Signature: {
890
- margin: number[];
891
- alignment: string;
892
- fontSize: string;
893
- };
894
- withApp: {
895
- alignment: string;
896
- lineHeight: number;
897
- };
898
- withOutApp: {
899
- alignment: string;
900
- lineHeight: number;
901
- };
902
- Sign: {
903
- fontSize: number;
904
- margin: number[];
905
- };
906
- Sign1: {
907
- fontSize: number;
908
- margin: number[];
909
- };
910
- 'margin-all': {
911
- margin: number[];
912
- };
913
- 'margin-top': {
914
- margin: number[];
915
- };
916
- 'margin-bottom': {
917
- margin: number[];
918
- };
919
- fontSize: {
920
- fontSize: number;
921
- };
922
- };
923
- static convertNumberToWords(value: any): string;
924
- static frac(f: any): number;
925
- static convert_number(number: any): string;
926
- }