shareneus 1.4.50 → 1.4.51

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 (87) hide show
  1. package/dist/accounting/counter-sales/auto-sales-receipt-pdf.service.js +1 -1
  2. package/dist/accounting/counter-sales/sales-receipt-pdf.service.js +1 -1
  3. package/dist/accounting/counter-sales/sales-receipt-print.service.js +1 -1
  4. package/dist/accounting/credit-note/credit-note-pdf.service.js +1 -1
  5. package/dist/accounting/debit-note/debit-note-print.service.js +1 -1
  6. package/dist/accounting/invoice/inv-pdf.service.js +13 -12
  7. package/dist/accounting/invoice/inv-print.service.js +6 -6
  8. package/dist/accounting/invoice/invoice-landscape-pdf.service.d.ts +1 -1
  9. package/dist/accounting/invoice/invoice-landscape-pdf.service.js +7 -6
  10. package/dist/accounting/invoice/invoice-letterhead-pdf.service.js +13 -12
  11. package/dist/accounting/invoice/invoice-portrait-pdf.d.ts +5 -5
  12. package/dist/accounting/invoice/invoice-portrait-pdf.js +31 -30
  13. package/dist/accounting/invoice/invoice-total.service.js +1 -1
  14. package/dist/accounting/invoice/reports/excel/sa-wise-labor-sales-excel.service.d.ts +4 -4
  15. package/dist/accounting/invoice/reports/excel/sa-wise-labor-sales-excel.service.js +12 -11
  16. package/dist/accounting/invoice/reports/excel/sa-wise-part-sales-excel.service.d.ts +4 -4
  17. package/dist/accounting/invoice/reports/excel/sa-wise-part-sales-excel.service.js +12 -11
  18. package/dist/accounting/invoice/reports/excel/sale-summary-excel.service.d.ts +4 -4
  19. package/dist/accounting/invoice/reports/excel/sale-summary-excel.service.js +11 -10
  20. package/dist/accounting/invoice/reports/excel/sales-by-service-summary-excel.service.d.ts +4 -4
  21. package/dist/accounting/invoice/reports/excel/sales-by-service-summary-excel.service.js +19 -18
  22. package/dist/accounting/invoice/reports/excel/scheduled-drug-summary-excel.service.d.ts +4 -4
  23. package/dist/accounting/invoice/reports/excel/scheduled-drug-summary-excel.service.js +11 -11
  24. package/dist/accounting/invoice/reports/excel/scheduled-drugs-excel.service.d.ts +4 -4
  25. package/dist/accounting/invoice/reports/excel/scheduled-drugs-excel.service.js +11 -11
  26. package/dist/accounting/invoice/reports/pdf/analysis-pdf.service.d.ts +3 -3
  27. package/dist/accounting/invoice/reports/pdf/analysis-pdf.service.js +13 -12
  28. package/dist/accounting/invoice/reports/pdf/category-wise-item-pdf.service.d.ts +4 -4
  29. package/dist/accounting/invoice/reports/pdf/category-wise-item-pdf.service.js +14 -13
  30. package/dist/accounting/invoice/reports/pdf/cust-wise-sales-details-pdf.service.d.ts +4 -4
  31. package/dist/accounting/invoice/reports/pdf/cust-wise-sales-details-pdf.service.js +15 -14
  32. package/dist/accounting/invoice/reports/pdf/cust-wise-sales-summary-pdf.service.d.ts +4 -4
  33. package/dist/accounting/invoice/reports/pdf/cust-wise-sales-summary-pdf.service.js +15 -14
  34. package/dist/accounting/invoice/reports/pdf/item-wise-doctor-sale-pdf.service.d.ts +4 -4
  35. package/dist/accounting/invoice/reports/pdf/item-wise-doctor-sale-pdf.service.js +10 -10
  36. package/dist/accounting/invoice/reports/pdf/item-wise-sales-pdf.service.d.ts +4 -4
  37. package/dist/accounting/invoice/reports/pdf/item-wise-sales-pdf.service.js +15 -14
  38. package/dist/accounting/invoice/reports/pdf/manf-wise-sales-pdf.service.d.ts +4 -4
  39. package/dist/accounting/invoice/reports/pdf/manf-wise-sales-pdf.service.js +13 -12
  40. package/dist/accounting/invoice/reports/pdf/operator-wise-details-pdf.service.d.ts +4 -4
  41. package/dist/accounting/invoice/reports/pdf/operator-wise-details-pdf.service.js +14 -14
  42. package/dist/accounting/invoice/reports/pdf/operator-wise-summary-pdf.d.ts +4 -4
  43. package/dist/accounting/invoice/reports/pdf/operator-wise-summary-pdf.js +14 -14
  44. package/dist/accounting/invoice/reports/pdf/sales-by-service-pdf.service.d.ts +4 -4
  45. package/dist/accounting/invoice/reports/pdf/sales-by-service-pdf.service.js +14 -13
  46. package/dist/accounting/invoice/reports/pdf/scheduled-drug-pdf.service.d.ts +4 -4
  47. package/dist/accounting/invoice/reports/pdf/scheduled-drug-pdf.service.js +8 -8
  48. package/dist/accounting/invoice/reports/pdf/scheduled-drug-summary-pdf.service.d.ts +4 -4
  49. package/dist/accounting/invoice/reports/pdf/scheduled-drug-summary-pdf.service.js +12 -11
  50. package/dist/accounting/invoice/shared-inv-pdf.service.js +1 -1
  51. package/dist/accounting/payment-receive/reports/excel/cust-balance-excel.service.d.ts +4 -4
  52. package/dist/accounting/payment-receive/reports/excel/cust-balance-excel.service.js +9 -9
  53. package/dist/accounting/payment-receive/reports/excel/payment-receive-excel.service.d.ts +5 -5
  54. package/dist/accounting/payment-receive/reports/excel/payment-receive-excel.service.js +11 -11
  55. package/dist/accounting/payment-receive/reports/pdf/customer-balances-pdf.service.d.ts +3 -3
  56. package/dist/accounting/payment-receive/reports/pdf/customer-balances-pdf.service.js +10 -10
  57. package/dist/accounting/payment-receive/reports/pdf/payment-report-pdf.service.d.ts +3 -3
  58. package/dist/accounting/payment-receive/reports/pdf/payment-report-pdf.service.js +7 -7
  59. package/dist/appointments/consultations/consultation-fee-receipt.service.d.ts +1 -1
  60. package/dist/appointments/consultations/consultation-fee-receipt.service.js +4 -4
  61. package/dist/inventory/items/issue-parts-pdf.service.js +1 -1
  62. package/dist/inventory/items/reports/pdf/expiring-drugs-pdf.service.d.ts +2 -2
  63. package/dist/inventory/items/reports/pdf/expiring-drugs-pdf.service.js +8 -7
  64. package/dist/inventory/items/reports/pdf/item-wise-mout-details-pdf.d.ts +4 -4
  65. package/dist/inventory/items/reports/pdf/item-wise-mout-details-pdf.js +9 -9
  66. package/dist/inventory/items/reports/pdf/item-wise-mout-summary-pdf.d.ts +4 -4
  67. package/dist/inventory/items/reports/pdf/item-wise-mout-summary-pdf.js +9 -9
  68. package/dist/purchases/payment-made/reports/pdf/vendor-balances-pdf.service.d.ts +3 -3
  69. package/dist/purchases/payment-made/reports/pdf/vendor-balances-pdf.service.js +8 -8
  70. package/dist/purchases/purchase-order/purchase-order-pdf.service.js +5 -5
  71. package/dist/purchases/purchase-order/purchase-order-print.service.d.ts +2 -2
  72. package/dist/purchases/purchase-order/purchase-order-print.service.js +25 -25
  73. package/dist/purchases/vendor-credit-note/vendor-credit-note-pdf.service.js +1 -1
  74. package/dist/purchases/vendor-debit-note/vendor-debit-note-pdf.service.js +1 -1
  75. package/dist/sales/delivery-challan/dc-landscape-pdf.service.d.ts +1 -1
  76. package/dist/sales/delivery-challan/dc-landscape-pdf.service.js +7 -6
  77. package/dist/sales/sales/sales-pdf.service.js +1 -1
  78. package/dist/sales/sales/sales-print.service.js +6 -6
  79. package/dist/services/reports/pdf/repair-orders-pdf.service.d.ts +4 -4
  80. package/dist/services/reports/pdf/repair-orders-pdf.service.js +9 -9
  81. package/dist/services/ro-pdf.service.js +2 -2
  82. package/dist/services/separate-wo-print.service.js +1 -1
  83. package/dist/shared/shared-pdf.service.d.ts +3 -3
  84. package/dist/shared/shared-pdf.service.js +31 -30
  85. package/dist/utils/tr-utils.d.ts +1 -1
  86. package/dist/utils/tr-utils.js +2 -2
  87. package/package.json +1 -1
@@ -5,7 +5,7 @@ const shared_pdf_service_1 = require("../../../../shared/shared-pdf.service");
5
5
  const my_date_1 = require("../../../../utils/my-date");
6
6
  const tr_utils_1 = require("../../../../utils/tr-utils");
7
7
  class OperatorWiseSalesDetailsPDF {
8
- static GetOperatorWiseSalesDetailsPrint(InvoicesData, CName, isPhar, isHC, isSale, searchValue) {
8
+ static GetOperatorWiseSalesDetailsPrint(InvoicesData, EntityData, isPhar, isHC, isSale, searchValue) {
9
9
  // console.log('isSale', isSale);
10
10
  var dd = {
11
11
  info: {
@@ -16,19 +16,19 @@ class OperatorWiseSalesDetailsPDF {
16
16
  },
17
17
  pageMargins: [10, 15, 10, 15],
18
18
  content: [
19
- { text: '' + CName + '', style: ['header'] },
19
+ { text: '' + EntityData.DName + '', style: ['header'] },
20
20
  { text: isSale ? 'Operator Wise Sales Details' : 'Doctor Wise Sales Details', alignment: 'center', fontSize: 15, bold: true },
21
21
  shared_pdf_service_1.SharedPDFService.GetSearchValueDetails(searchValue),
22
- this.GetInvoiceDataTable(InvoicesData, isPhar, isHC),
22
+ this.GetInvoiceDataTable(InvoicesData, isPhar, isHC, EntityData.Settings.DecimalsNumber),
23
23
  ],
24
24
  styles: shared_pdf_service_1.SharedPDFService.GetStyles()
25
25
  };
26
26
  return dd;
27
27
  }
28
- static GetInvoiceDataTable(InvoicesData, isPhar, isHC) {
28
+ static GetInvoiceDataTable(InvoicesData, isPhar, isHC, DecimalsNumber) {
29
29
  let Data = [];
30
30
  // InvoicesData.forEach((invoice: any) => {
31
- Data.push(this.GetItemsTable(InvoicesData, isPhar, isHC));
31
+ Data.push(this.GetItemsTable(InvoicesData, isPhar, isHC, DecimalsNumber));
32
32
  // });
33
33
  return Data;
34
34
  }
@@ -39,7 +39,7 @@ class OperatorWiseSalesDetailsPDF {
39
39
  return [25, 40, 70, '*', 40, 40, 50, 50, 50, 60];
40
40
  // }
41
41
  }
42
- static GetItemsTable(InvoiceData, isPhar, isHC) {
42
+ static GetItemsTable(InvoiceData, isPhar, isHC, DecimalsNumber) {
43
43
  return {
44
44
  style: 'tableExample',
45
45
  marginTop: 3,
@@ -47,7 +47,7 @@ class OperatorWiseSalesDetailsPDF {
47
47
  table: {
48
48
  widths: this.getTableWidths(isHC),
49
49
  headerRows: 1,
50
- body: this.BuildTableBodyForLaborAndParts(InvoiceData, isPhar, isHC)
50
+ body: this.BuildTableBodyForLaborAndParts(InvoiceData, isPhar, isHC, DecimalsNumber)
51
51
  },
52
52
  layout: {
53
53
  hLineWidth: function (i, node) {
@@ -65,7 +65,7 @@ class OperatorWiseSalesDetailsPDF {
65
65
  }
66
66
  };
67
67
  }
68
- static BuildTableBodyForLaborAndParts(InvoiceData, isPhar, isHC) {
68
+ static BuildTableBodyForLaborAndParts(InvoiceData, isPhar, isHC, DecimalsNumber) {
69
69
  let body = this.GetHeaderNames(isPhar, isHC);
70
70
  InvoiceData.forEach((invoice, index) => {
71
71
  let dataRow = [];
@@ -73,12 +73,12 @@ class OperatorWiseSalesDetailsPDF {
73
73
  dataRow.push({ text: invoice.Code, style: ['headerstyle'], });
74
74
  dataRow.push({ text: my_date_1.MyDate.ConvertUTCDateToReadable(invoice.CrDate) });
75
75
  dataRow.push({ text: invoice.Name });
76
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.SubTotal), alignment: 'right' });
77
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Disc), alignment: 'right' });
78
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Tax), alignment: 'right' });
79
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Adjust), alignment: 'right' });
80
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Round), alignment: 'right' });
81
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Total), alignment: 'right', style: ['headerstyle'], });
76
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.SubTotal, DecimalsNumber), alignment: 'right' });
77
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Disc, DecimalsNumber), alignment: 'right' });
78
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Tax, DecimalsNumber), alignment: 'right' });
79
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Adjust, DecimalsNumber), alignment: 'right' });
80
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Round, DecimalsNumber), alignment: 'right' });
81
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Total, DecimalsNumber), alignment: 'right', style: ['headerstyle'], });
82
82
  body.push(dataRow);
83
83
  });
84
84
  return body;
@@ -1,5 +1,5 @@
1
1
  export declare class OperatorWiseSalesSummaryPDF {
2
- static GetOperatorWiseSalesSummaryPrint(InvoicesData: any, CName: any, isPhar: boolean, isHC: boolean, HeaderName: any, searchValue: any): {
2
+ static GetOperatorWiseSalesSummaryPrint(InvoicesData: any, EntityData: any, isPhar: boolean, isHC: boolean, HeaderName: any, searchValue: any): {
3
3
  info: {
4
4
  title: string;
5
5
  };
@@ -205,9 +205,9 @@ export declare class OperatorWiseSalesSummaryPDF {
205
205
  };
206
206
  };
207
207
  };
208
- static GetInvoiceDataTable(InvoicesData: any, isPhar: boolean, isHC: boolean): any;
208
+ static GetInvoiceDataTable(InvoicesData: any, isPhar: boolean, isHC: boolean, DecimalsNumber: number): any;
209
209
  static getTableWidths(isHC: any): (string | number)[];
210
- static GetItemsTable(InvoiceData: any, isPhar: boolean, isHC: boolean): {
210
+ static GetItemsTable(InvoiceData: any, isPhar: boolean, isHC: boolean, DecimalsNumber: number): {
211
211
  style: string;
212
212
  marginTop: number;
213
213
  marginBottom: number;
@@ -223,6 +223,6 @@ export declare class OperatorWiseSalesSummaryPDF {
223
223
  vLineColor: (i: any, node: any) => string;
224
224
  };
225
225
  };
226
- static BuildTableBodyForLaborAndParts(InvoiceData: any, isPhar: boolean, isHC: boolean): any;
226
+ static BuildTableBodyForLaborAndParts(InvoiceData: any, isPhar: boolean, isHC: boolean, DecimalsNumber: number): any;
227
227
  static GetHeaderNames(isPhar: boolean, isHC: boolean): any;
228
228
  }
@@ -4,7 +4,7 @@ exports.OperatorWiseSalesSummaryPDF = void 0;
4
4
  const shared_pdf_service_1 = require("../../../../shared/shared-pdf.service");
5
5
  const tr_utils_1 = require("../../../../utils/tr-utils");
6
6
  class OperatorWiseSalesSummaryPDF {
7
- static GetOperatorWiseSalesSummaryPrint(InvoicesData, CName, isPhar, isHC, HeaderName, searchValue) {
7
+ static GetOperatorWiseSalesSummaryPrint(InvoicesData, EntityData, isPhar, isHC, HeaderName, searchValue) {
8
8
  var dd = {
9
9
  info: {
10
10
  title: 'OperatorWiseSummary',
@@ -14,19 +14,19 @@ class OperatorWiseSalesSummaryPDF {
14
14
  },
15
15
  pageMargins: [10, 15, 10, 15],
16
16
  content: [
17
- { text: '' + CName + '', style: ['header'] },
17
+ { text: '' + EntityData.DName + '', style: ['header'] },
18
18
  { text: HeaderName, alignment: 'center', fontSize: 15, bold: true },
19
19
  shared_pdf_service_1.SharedPDFService.GetSearchValueDetails(searchValue),
20
- this.GetInvoiceDataTable(InvoicesData, isPhar, isHC),
20
+ this.GetInvoiceDataTable(InvoicesData, isPhar, isHC, EntityData.Settings.DecimalsNumber),
21
21
  ],
22
22
  styles: shared_pdf_service_1.SharedPDFService.GetStyles()
23
23
  };
24
24
  return dd;
25
25
  }
26
- static GetInvoiceDataTable(InvoicesData, isPhar, isHC) {
26
+ static GetInvoiceDataTable(InvoicesData, isPhar, isHC, DecimalsNumber) {
27
27
  let Data = [];
28
28
  // InvoicesData.forEach((invoice: any) => {
29
- Data.push(this.GetItemsTable(InvoicesData, isPhar, isHC));
29
+ Data.push(this.GetItemsTable(InvoicesData, isPhar, isHC, DecimalsNumber));
30
30
  // });
31
31
  return Data;
32
32
  }
@@ -37,7 +37,7 @@ class OperatorWiseSalesSummaryPDF {
37
37
  return [25, '*', 40, 40, 40, 50, 50, 50, 80];
38
38
  // }
39
39
  }
40
- static GetItemsTable(InvoiceData, isPhar, isHC) {
40
+ static GetItemsTable(InvoiceData, isPhar, isHC, DecimalsNumber) {
41
41
  return {
42
42
  style: 'tableExample',
43
43
  marginTop: 3,
@@ -45,7 +45,7 @@ class OperatorWiseSalesSummaryPDF {
45
45
  table: {
46
46
  widths: this.getTableWidths(isHC),
47
47
  headerRows: 1,
48
- body: this.BuildTableBodyForLaborAndParts(InvoiceData, isPhar, isHC)
48
+ body: this.BuildTableBodyForLaborAndParts(InvoiceData, isPhar, isHC, DecimalsNumber)
49
49
  },
50
50
  layout: {
51
51
  hLineWidth: function (i, node) {
@@ -63,7 +63,7 @@ class OperatorWiseSalesSummaryPDF {
63
63
  }
64
64
  };
65
65
  }
66
- static BuildTableBodyForLaborAndParts(InvoiceData, isPhar, isHC) {
66
+ static BuildTableBodyForLaborAndParts(InvoiceData, isPhar, isHC, DecimalsNumber) {
67
67
  let body = this.GetHeaderNames(isPhar, isHC);
68
68
  InvoiceData.forEach((invoice, index) => {
69
69
  let dataRow = [];
@@ -72,12 +72,12 @@ class OperatorWiseSalesSummaryPDF {
72
72
  dataRow.push({ text: invoice.Count, alignment: 'right' });
73
73
  // dataRow.push({ text: invoice.Qty, alignment: 'right' });
74
74
  // dataRow.push({ text: invoice.OfQty, alignment: 'right' });
75
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.SubTotal), alignment: 'right' });
76
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Disc), alignment: 'right' });
77
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Tax), alignment: 'right' });
78
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Adjust), alignment: 'right' });
79
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Round), alignment: 'right' });
80
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Total), alignment: 'right', style: ['headerstyle'], });
75
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.SubTotal, DecimalsNumber), alignment: 'right' });
76
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Disc, DecimalsNumber), alignment: 'right' });
77
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Tax, DecimalsNumber), alignment: 'right' });
78
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Adjust, DecimalsNumber), alignment: 'right' });
79
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Round, DecimalsNumber), alignment: 'right' });
80
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Total, DecimalsNumber), alignment: 'right', style: ['headerstyle'], });
81
81
  body.push(dataRow);
82
82
  });
83
83
  return body;
@@ -1,5 +1,5 @@
1
1
  export declare class SalesByServiceSummaryPDF {
2
- static GetSalesbyServiceSummaryPrint(InvoicesData: any, CName: any, HeaderName: any, searchValue: any, ForService: boolean): {
2
+ static GetSalesbyServiceSummaryPrint(InvoicesData: any, EntityData: any, HeaderName: any, searchValue: any, ForService: boolean): {
3
3
  info: {
4
4
  title: string;
5
5
  };
@@ -205,9 +205,9 @@ export declare class SalesByServiceSummaryPDF {
205
205
  };
206
206
  };
207
207
  };
208
- static GetInvoiceDataTable(InvoicesData: any, ForService: boolean): any;
208
+ static GetInvoiceDataTable(InvoicesData: any, ForService: boolean, DecimalsNumber: number): any;
209
209
  static getTableWidths(ForService: boolean): (string | number)[];
210
- static GetItemsTable(InvoiceData: any, ForService: boolean): {
210
+ static GetItemsTable(InvoiceData: any, ForService: boolean, DecimalsNumber: number): {
211
211
  style: string;
212
212
  marginTop: number;
213
213
  marginBottom: number;
@@ -223,6 +223,6 @@ export declare class SalesByServiceSummaryPDF {
223
223
  vLineColor: (i: any, node: any) => string;
224
224
  };
225
225
  };
226
- static BuildTableBodyForLaborAndParts(InvoiceData: any, ForService: boolean): any;
226
+ static BuildTableBodyForLaborAndParts(InvoiceData: any, ForService: boolean, DecimalsNumber: number): any;
227
227
  static GetHeaderNames(ForService: boolean): any;
228
228
  }
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SalesByServiceSummaryPDF = void 0;
4
+ const aggregation_1 = require("../../../../aggregation/aggregation");
4
5
  const shared_pdf_service_1 = require("../../../../shared/shared-pdf.service");
5
6
  const tr_utils_1 = require("../../../../utils/tr-utils");
6
7
  class SalesByServiceSummaryPDF {
7
- static GetSalesbyServiceSummaryPrint(InvoicesData, CName, HeaderName, searchValue, ForService) {
8
+ static GetSalesbyServiceSummaryPrint(InvoicesData, EntityData, HeaderName, searchValue, ForService) {
8
9
  var dd = {
9
10
  info: {
10
11
  title: 'SaleByServiceSummary',
@@ -14,19 +15,19 @@ class SalesByServiceSummaryPDF {
14
15
  },
15
16
  pageMargins: [10, 15, 10, 15],
16
17
  content: [
17
- { text: '' + CName + '', style: ['header'] },
18
+ { text: '' + EntityData.DName + '', style: ['header'] },
18
19
  { text: HeaderName, alignment: 'center', fontSize: 15, bold: true },
19
20
  shared_pdf_service_1.SharedPDFService.GetSearchValueDetails(searchValue),
20
- this.GetInvoiceDataTable(InvoicesData, ForService),
21
+ this.GetInvoiceDataTable(InvoicesData, ForService, EntityData.Settings.DecimalsNumber),
21
22
  ],
22
23
  styles: shared_pdf_service_1.SharedPDFService.GetStyles()
23
24
  };
24
25
  return dd;
25
26
  }
26
- static GetInvoiceDataTable(InvoicesData, ForService) {
27
+ static GetInvoiceDataTable(InvoicesData, ForService, DecimalsNumber) {
27
28
  let Data = [];
28
29
  // InvoicesData.forEach((invoice: any) => {
29
- Data.push(this.GetItemsTable(InvoicesData, ForService));
30
+ Data.push(this.GetItemsTable(InvoicesData, ForService, DecimalsNumber));
30
31
  // });
31
32
  return Data;
32
33
  }
@@ -38,7 +39,7 @@ class SalesByServiceSummaryPDF {
38
39
  return [25, '*', 40, 40, 60, 55, 60, 70, 70];
39
40
  }
40
41
  }
41
- static GetItemsTable(InvoiceData, ForService) {
42
+ static GetItemsTable(InvoiceData, ForService, DecimalsNumber) {
42
43
  return {
43
44
  style: 'tableExample',
44
45
  marginTop: 3,
@@ -46,7 +47,7 @@ class SalesByServiceSummaryPDF {
46
47
  table: {
47
48
  widths: this.getTableWidths(ForService),
48
49
  headerRows: 1,
49
- body: this.BuildTableBodyForLaborAndParts(InvoiceData, ForService)
50
+ body: this.BuildTableBodyForLaborAndParts(InvoiceData, ForService, DecimalsNumber)
50
51
  },
51
52
  layout: {
52
53
  hLineWidth: function (i, node) {
@@ -64,7 +65,7 @@ class SalesByServiceSummaryPDF {
64
65
  }
65
66
  };
66
67
  }
67
- static BuildTableBodyForLaborAndParts(InvoiceData, ForService) {
68
+ static BuildTableBodyForLaborAndParts(InvoiceData, ForService, DecimalsNumber) {
68
69
  let body = this.GetHeaderNames(ForService);
69
70
  InvoiceData.forEach((invoice, index) => {
70
71
  let dataRow = [];
@@ -76,11 +77,11 @@ class SalesByServiceSummaryPDF {
76
77
  dataRow.push({ text: invoice.Qty, alignment: 'right' });
77
78
  // dataRow.push({ text: invoice.Qty, alignment: 'right' });
78
79
  // dataRow.push({ text: invoice.OfQty, alignment: 'right' });
79
- dataRow.push({ text: ForService ? tr_utils_1.TrUtils.FixPriceValue(invoice.Amt) : tr_utils_1.TrUtils.FixPriceValue(invoice.UnAmt), alignment: 'right' });
80
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Disc), alignment: 'right' });
81
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Tax), alignment: 'right' });
82
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.NetAmt + invoice.Tax), alignment: 'right' });
83
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.AvgPr), alignment: 'right' });
80
+ dataRow.push({ text: ForService ? tr_utils_1.TrUtils.FixPriceValue(invoice.Amt, DecimalsNumber) : tr_utils_1.TrUtils.FixPriceValue(invoice.UnAmt, DecimalsNumber), alignment: 'right' });
81
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Disc, DecimalsNumber), alignment: 'right' });
82
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Tax, DecimalsNumber), alignment: 'right' });
83
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue((0, aggregation_1.addition)(invoice.NetAmt, invoice.Tax), DecimalsNumber), alignment: 'right' });
84
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.AvgPr, DecimalsNumber), alignment: 'right' });
84
85
  body.push(dataRow);
85
86
  });
86
87
  return body;
@@ -1,5 +1,5 @@
1
1
  export declare class ScheduledDrugPDFService {
2
- static GetScheduledDrugPrint(InvoicesData: any, CName: any, searchValue: any): {
2
+ static GetScheduledDrugPrint(InvoicesData: any, EntityData: any, searchValue: any): {
3
3
  info: {
4
4
  title: string;
5
5
  };
@@ -205,9 +205,9 @@ export declare class ScheduledDrugPDFService {
205
205
  };
206
206
  };
207
207
  };
208
- static GetInvoiceDataTable(InvoicesData: any): any;
208
+ static GetInvoiceDataTable(InvoicesData: any, DecimalsNumber: number): any;
209
209
  static getTableWidths(): (string | number)[];
210
- static GetItemsTable(InvoiceData: any): {
210
+ static GetItemsTable(InvoiceData: any, DecimalsNumber: number): {
211
211
  style: string;
212
212
  marginTop: number;
213
213
  marginBottom: number;
@@ -223,6 +223,6 @@ export declare class ScheduledDrugPDFService {
223
223
  vLineColor: (i: any, node: any) => string;
224
224
  };
225
225
  };
226
- static BuildTableBodyForLaborAndParts(InvoiceData: any): any;
226
+ static BuildTableBodyForLaborAndParts(InvoiceData: any, DecimalsNumber: number): any;
227
227
  static GetHeaderNames(): any;
228
228
  }
@@ -5,7 +5,7 @@ const shared_pdf_service_1 = require("../../../../shared/shared-pdf.service");
5
5
  const my_date_1 = require("../../../../utils/my-date");
6
6
  const tr_utils_1 = require("../../../../utils/tr-utils");
7
7
  class ScheduledDrugPDFService {
8
- static GetScheduledDrugPrint(InvoicesData, CName, searchValue) {
8
+ static GetScheduledDrugPrint(InvoicesData, EntityData, searchValue) {
9
9
  var dd = {
10
10
  info: {
11
11
  title: 'ScheduledDrugs',
@@ -15,19 +15,19 @@ class ScheduledDrugPDFService {
15
15
  },
16
16
  pageMargins: [10, 15, 10, 15],
17
17
  content: [
18
- { text: '' + CName + '', style: ['header'] },
18
+ { text: '' + EntityData.DName + '', style: ['header'] },
19
19
  { text: 'Schedule Wise Drug Sales', alignment: 'center', fontSize: 15, bold: true },
20
20
  shared_pdf_service_1.SharedPDFService.GetSearchValueDetails(searchValue),
21
- this.GetInvoiceDataTable(InvoicesData),
21
+ this.GetInvoiceDataTable(InvoicesData, EntityData.Settings.DecimalsNumber),
22
22
  ],
23
23
  styles: shared_pdf_service_1.SharedPDFService.GetStyles()
24
24
  };
25
25
  return dd;
26
26
  }
27
- static GetInvoiceDataTable(InvoicesData) {
27
+ static GetInvoiceDataTable(InvoicesData, DecimalsNumber) {
28
28
  let Data = [];
29
29
  // InvoicesData.forEach((invoice: any) => {
30
- Data.push(this.GetItemsTable(InvoicesData));
30
+ Data.push(this.GetItemsTable(InvoicesData, DecimalsNumber));
31
31
  // });
32
32
  return Data;
33
33
  }
@@ -38,7 +38,7 @@ class ScheduledDrugPDFService {
38
38
  return [22, 50, 50, '*', '*', '*', 40, 40, 25, 40, 40];
39
39
  // }
40
40
  }
41
- static GetItemsTable(InvoiceData) {
41
+ static GetItemsTable(InvoiceData, DecimalsNumber) {
42
42
  // InvoicesData.forEach((InvoiceData: any) => {
43
43
  return {
44
44
  style: 'tableExample',
@@ -47,7 +47,7 @@ class ScheduledDrugPDFService {
47
47
  table: {
48
48
  widths: this.getTableWidths(),
49
49
  headerRows: 1,
50
- body: this.BuildTableBodyForLaborAndParts(InvoiceData)
50
+ body: this.BuildTableBodyForLaborAndParts(InvoiceData, DecimalsNumber)
51
51
  // body:[['fsdfsdf','asfafdas','asdasdas','asdasdasd','asddass']]
52
52
  },
53
53
  layout: {
@@ -70,7 +70,7 @@ class ScheduledDrugPDFService {
70
70
  };
71
71
  // });
72
72
  }
73
- static BuildTableBodyForLaborAndParts(InvoiceData) {
73
+ static BuildTableBodyForLaborAndParts(InvoiceData, DecimalsNumber) {
74
74
  let body = this.GetHeaderNames();
75
75
  // let Row: any = [{ text: InvoiceData.Name, alignment: 'left', colSpan: isHC ? 5 : 8, bold: true, fontSize: 12 }, {}, {}, {}, {}];
76
76
  // if (!isHC) {
@@ -1,5 +1,5 @@
1
1
  export declare class ScheduledDrugSummaryPDFService {
2
- static GetScheduledDrugPrint(InvoicesData: any, CName: any, searchValue: any): {
2
+ static GetScheduledDrugPrint(InvoicesData: any, EntityData: any, searchValue: any): {
3
3
  info: {
4
4
  title: string;
5
5
  };
@@ -205,9 +205,9 @@ export declare class ScheduledDrugSummaryPDFService {
205
205
  };
206
206
  };
207
207
  };
208
- static GetInvoiceDataTable(InvoicesData: any): any;
208
+ static GetInvoiceDataTable(InvoicesData: any, DecimalsNumber: number): any;
209
209
  static getTableWidths(): (string | number)[];
210
- static GetItemsTable(InvoiceData: any): {
210
+ static GetItemsTable(InvoiceData: any, DecimalsNumber: number): {
211
211
  style: string;
212
212
  marginTop: number;
213
213
  marginBottom: number;
@@ -223,6 +223,6 @@ export declare class ScheduledDrugSummaryPDFService {
223
223
  vLineColor: (i: any, node: any) => string;
224
224
  };
225
225
  };
226
- static BuildTableBodyForLaborAndParts(InvoiceData: any): any;
226
+ static BuildTableBodyForLaborAndParts(InvoiceData: any, DecimalsNumber: number): any;
227
227
  static GetHeaderNames(): any;
228
228
  }
@@ -4,7 +4,8 @@ exports.ScheduledDrugSummaryPDFService = void 0;
4
4
  const shared_pdf_service_1 = require("../../../../shared/shared-pdf.service");
5
5
  const tr_utils_1 = require("../../../../utils/tr-utils");
6
6
  class ScheduledDrugSummaryPDFService {
7
- static GetScheduledDrugPrint(InvoicesData, CName, searchValue) {
7
+ static GetScheduledDrugPrint(InvoicesData, EntityData, searchValue) {
8
+ var _a;
8
9
  var dd = {
9
10
  info: {
10
11
  title: 'ScheduledDrugSummary',
@@ -14,19 +15,19 @@ class ScheduledDrugSummaryPDFService {
14
15
  },
15
16
  pageMargins: [10, 15, 10, 15],
16
17
  content: [
17
- { text: '' + CName + '', style: ['header'] },
18
+ { text: '' + EntityData.DName + '', style: ['header'] },
18
19
  { text: 'Schedule Wise Drug Sales', alignment: 'center', fontSize: 15, bold: true },
19
20
  shared_pdf_service_1.SharedPDFService.GetSearchValueDetails(searchValue),
20
- this.GetInvoiceDataTable(InvoicesData),
21
+ this.GetInvoiceDataTable(InvoicesData, (_a = EntityData.Settings) === null || _a === void 0 ? void 0 : _a.DecimalsNumber),
21
22
  ],
22
23
  styles: shared_pdf_service_1.SharedPDFService.GetStyles()
23
24
  };
24
25
  return dd;
25
26
  }
26
- static GetInvoiceDataTable(InvoicesData) {
27
+ static GetInvoiceDataTable(InvoicesData, DecimalsNumber) {
27
28
  let Data = [];
28
29
  // InvoicesData.forEach((invoice: any) => {
29
- Data.push(this.GetItemsTable(InvoicesData));
30
+ Data.push(this.GetItemsTable(InvoicesData, DecimalsNumber));
30
31
  // });
31
32
  return Data;
32
33
  }
@@ -37,7 +38,7 @@ class ScheduledDrugSummaryPDFService {
37
38
  return [25, '*', 40, 40, 40];
38
39
  // }
39
40
  }
40
- static GetItemsTable(InvoiceData) {
41
+ static GetItemsTable(InvoiceData, DecimalsNumber) {
41
42
  // InvoicesData.forEach((InvoiceData: any) => {
42
43
  return {
43
44
  style: 'tableExample',
@@ -46,7 +47,7 @@ class ScheduledDrugSummaryPDFService {
46
47
  table: {
47
48
  widths: this.getTableWidths(),
48
49
  headerRows: 1,
49
- body: this.BuildTableBodyForLaborAndParts(InvoiceData)
50
+ body: this.BuildTableBodyForLaborAndParts(InvoiceData, DecimalsNumber)
50
51
  // body:[['fsdfsdf','asfafdas','asdasdas','asdasdasd','asddass']]
51
52
  },
52
53
  layout: {
@@ -69,7 +70,7 @@ class ScheduledDrugSummaryPDFService {
69
70
  };
70
71
  // });
71
72
  }
72
- static BuildTableBodyForLaborAndParts(InvoiceData) {
73
+ static BuildTableBodyForLaborAndParts(InvoiceData, DecimalsNumber) {
73
74
  let body = this.GetHeaderNames();
74
75
  // let Row: any = [{ text: InvoiceData.Name, alignment: 'left', colSpan: isHC ? 5 : 8, bold: true, fontSize: 12 }, {}, {}, {}, {}];
75
76
  // if (!isHC) {
@@ -124,9 +125,9 @@ class ScheduledDrugSummaryPDFService {
124
125
  // if(!isHC){
125
126
  // dataRow.push({ text: batchdata });
126
127
  // dataRow.push({ text: batchExdate });
127
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Qty), alignment: 'right' });
128
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.NetAmt), alignment: 'right' });
129
- dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Tax), alignment: 'right' });
128
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Qty, DecimalsNumber), alignment: 'right' });
129
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.NetAmt, DecimalsNumber), alignment: 'right' });
130
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(invoice.Tax, DecimalsNumber), alignment: 'right' });
130
131
  // dataRow.push({ text: TrUtils.FixPriceValue(invoice.Total), alignment: 'right' });
131
132
  // dataRow.push({ text: TrUtils.IsNull(invoice.Prod) ? '' : invoice.Prod?.Model + ' ' + invoice.Prod?.Var });
132
133
  // }
@@ -671,7 +671,7 @@ class SharedInvoiceprintService {
671
671
  let CommonDetails = [
672
672
  shared_pdf_service_1.SharedPDFService.GetFinalTotalDetails(ROPrintData, ROPrintData.CustLaborTotalAfterDisc, ROPrintData.CustLaborDiscTotal, ROPrintData.CustLaborCGST, ROPrintData.CustLaborSGST, ROPrintData.CustLaborIGST, ROPrintData.CustPartIGST, ROPrintData.ShowIGST, ROPrintData.ShowTaxColumn, ROPrintData.CustPartsTotalAfterDisc, ROPrintData.CustPartsDiscTotal, ROPrintData.CustPartCGST, ROPrintData.CustPartSGST, ROPrintData.CustTaxGroupData, ROPrintData.ShowAccParts, ROPrintData.CustLaborAfterTax, ROPrintData.CustPartAfterTax, ROPrintData.FixedDisc, ROPrintData.For, ROPrintData.FixedTotal, ROPrintData.CustTotalRoundedBy, ROPrintData.CustRoundedTotal, ROPrintData.ShowTaxColumn, ROPrintData.ShowTaxColumn, tr_utils_1.TrUtils.isTaxable(ROPrintData.Settings.Tax), ROPrintData.CustLaborITax, ROPrintData.CustPartITax, ROPrintData.Consolidate, ROPrintData.From, ROPrintData.Adj, ROPrintData.STotal, moreDiscDetails),
673
673
  this.GetNumberInWords(ROPrintData.CustRoundedTotal),
674
- shared_pdf_service_1.SharedPDFService.InvoiceDueStatus(ROPrintData.Type, ROPrintData.Paid, ROPrintData.Due, ROPrintData.Sts, ROPrintData.isCountersale),
674
+ shared_pdf_service_1.SharedPDFService.InvoiceDueStatus(ROPrintData.Type, ROPrintData.Paid, ROPrintData.Due, ROPrintData.Sts, ROPrintData.isCountersale, ROPrintData.Entity.DecimalsNumber),
675
675
  shared_pdf_service_1.SharedPDFService.GetTemsAndConditions(ROPrintData.Entity.Terms),
676
676
  shared_pdf_service_1.SharedPDFService.GetBankDetials(ROPrintData.Entity.Bank, ROPrintData.Entity.PrBank),
677
677
  shared_pdf_service_1.SharedPDFService.GetUnderLine(),
@@ -13,13 +13,13 @@ export declare class CustBalanceXlsxFileService {
13
13
  };
14
14
  };
15
15
  static ws: any;
16
- static GetInvoiceWiseExcelData(MainData: any, isPhar: boolean, WOTypes: any): any;
16
+ static GetInvoiceWiseExcelData(MainData: any, isPhar: boolean, WOTypes: any, EntitySettings: any): any;
17
17
  static GetTotals(MainData: any, WOTypes: any): any;
18
18
  static GetWOTypeName(Type: any, WOTypes: any): any;
19
19
  static setHeadingInCell(isPhar: boolean): void;
20
- static setInvoiceDetailsInCell(MainData: any, isPhar: boolean): void;
21
- static SetInvoiceDataInExcel(InvoiceInfo: any, index: any, isPhar: boolean): void;
22
- static ConvertToString(Text: any, IsString: any): any;
20
+ static setInvoiceDetailsInCell(MainData: any, isPhar: boolean, DecimalsNumber: number): void;
21
+ static SetInvoiceDataInExcel(InvoiceInfo: any, index: any, isPhar: boolean, DecimalsNumber: number): void;
22
+ static ConvertToString(Text: any, IsString: any, DecimalsNumber: number): any;
23
23
  static SetDataInCell(Data: any, ColRange: number, RowNum: any): void;
24
24
  static getcelltype(cell: any): any;
25
25
  static ConvertDateToReadableFormat(DateObject: any): any;
@@ -27,7 +27,7 @@ exports.CustBalanceXlsxFileService = void 0;
27
27
  const XLSX = __importStar(require("xlsx"));
28
28
  const tr_utils_1 = require("../../../../utils/tr-utils");
29
29
  class CustBalanceXlsxFileService {
30
- static GetInvoiceWiseExcelData(MainData, isPhar, WOTypes) {
30
+ static GetInvoiceWiseExcelData(MainData, isPhar, WOTypes, EntitySettings) {
31
31
  this.wb = {};
32
32
  this.ws = {};
33
33
  this.Row = 0;
@@ -42,7 +42,7 @@ class CustBalanceXlsxFileService {
42
42
  MainData = this.GetTotals(MainData, WOTypes);
43
43
  }
44
44
  this.setHeadingInCell(isPhar);
45
- this.setInvoiceDetailsInCell(MainData, isPhar);
45
+ this.setInvoiceDetailsInCell(MainData, isPhar, EntitySettings.DecimalsNumber);
46
46
  this.ws['!ref'] = XLSX.utils.encode_range(this.range);
47
47
  this.ws['!merges'] = this.MergeArray;
48
48
  this.ws["!cols"] = [{ wch: 10 }, { wch: 15 }, { wch: 15 }, { wch: 35 }, { wch: 15 }, { wch: 15 }, { wch: 20 }, { wch: 15 }, { wch: 15 }, { wch: 20 }];
@@ -166,11 +166,11 @@ class CustBalanceXlsxFileService {
166
166
  });
167
167
  this.Row += 1;
168
168
  }
169
- static setInvoiceDetailsInCell(MainData, isPhar) {
169
+ static setInvoiceDetailsInCell(MainData, isPhar, DecimalsNumber) {
170
170
  MainData.forEach((Record, index) => {
171
171
  // this.setHeading1InCell(Record.Name);
172
172
  // this.setHeadingInCell();
173
- this.SetInvoiceDataInExcel(Record, index, isPhar);
173
+ this.SetInvoiceDataInExcel(Record, index, isPhar, DecimalsNumber);
174
174
  // Record.Invoices.forEach((Invoice:any, index:any)=>{
175
175
  // this.SetInvoiceDataInExcel(Invoice, index);
176
176
  // if (Record.Invoices.length === (index + 1)) {
@@ -180,7 +180,7 @@ class CustBalanceXlsxFileService {
180
180
  // this.Row += 1;
181
181
  });
182
182
  }
183
- static SetInvoiceDataInExcel(InvoiceInfo, index, isPhar) {
183
+ static SetInvoiceDataInExcel(InvoiceInfo, index, isPhar, DecimalsNumber) {
184
184
  var _a, _b, _c;
185
185
  // InvoiceInfo.CrDate = this.ConvertDateToReadableFormat(InvoiceInfo.CrDate);
186
186
  InvoiceInfo.CrDate = this.ConvertDateToReadableFormat(InvoiceInfo.CrDate);
@@ -189,7 +189,7 @@ class CustBalanceXlsxFileService {
189
189
  { text: InvoiceInfo.CrDate, ColRange: 1, IsString: true },
190
190
  { text: InvoiceInfo.Code, ColRange: 1, IsString: true },
191
191
  { text: (_a = InvoiceInfo.BillTo) === null || _a === void 0 ? void 0 : _a.Name, ColRange: 1, IsString: true },
192
- { text: tr_utils_1.TrUtils.FixPriceValue(InvoiceInfo.Total), ColRange: 1, IsString: false },
192
+ { text: tr_utils_1.TrUtils.FixPriceValue(InvoiceInfo.Total, DecimalsNumber), ColRange: 1, IsString: false },
193
193
  // { text: InvoiceInfo.Due, ColRange: 1, IsString: false },
194
194
  ];
195
195
  if (!isPhar) {
@@ -197,7 +197,7 @@ class CustBalanceXlsxFileService {
197
197
  }
198
198
  let ColStart = 0;
199
199
  InvoiceData.forEach((InvData) => {
200
- InvData.text = this.ConvertToString(InvData.text, InvData.IsString);
200
+ InvData.text = this.ConvertToString(InvData.text, InvData.IsString, DecimalsNumber);
201
201
  this.SetDataInCell(InvData.text, ColStart, this.Row);
202
202
  this.MergeArray.push({
203
203
  s: { r: this.Row, c: ColStart },
@@ -207,7 +207,7 @@ class CustBalanceXlsxFileService {
207
207
  });
208
208
  this.Row += 1;
209
209
  }
210
- static ConvertToString(Text, IsString) {
210
+ static ConvertToString(Text, IsString, DecimalsNumber) {
211
211
  if (IsString) {
212
212
  if (Text == null) {
213
213
  Text = '';
@@ -219,7 +219,7 @@ class CustBalanceXlsxFileService {
219
219
  }
220
220
  }
221
221
  if (typeof Text === 'number') {
222
- return Number(tr_utils_1.TrUtils.FixedTo(Text));
222
+ return Number(tr_utils_1.TrUtils.FixedTo(Text, DecimalsNumber));
223
223
  }
224
224
  else {
225
225
  return Text;
@@ -13,13 +13,13 @@ export declare class PaymentReceiveXlsxFileService {
13
13
  };
14
14
  };
15
15
  static ws: any;
16
- static GetRepairOrdersExcelData(MainData: any): any;
17
- static GetTotals(MainData: any): any;
16
+ static GetRepairOrdersExcelData(MainData: any, EntitySettings: any): any;
17
+ static GetTotals(MainData: any, DecimalsNumber: number): any;
18
18
  static setHeadingInCell(): void;
19
- static setWorkOrderDetailsInCell(MainData: any): void;
20
- static SetWorkOrderDataInExcel(WorkOrder: any, index: any): void;
19
+ static setWorkOrderDetailsInCell(MainData: any, DecimalsNumber: number): void;
20
+ static SetWorkOrderDataInExcel(WorkOrder: any, index: any, DecimalsNumber: number): void;
21
21
  static GetInvoiceCodes(PaymentData: any): string;
22
- static ConvertToString(Text: any, IsString: any): any;
22
+ static ConvertToString(Text: any, IsString: any, DecimalsNumber: number): any;
23
23
  static SetDataInCell(Data: any, ColRange: number, RowNum: any): void;
24
24
  static getcelltype(cell: any): any;
25
25
  }