shareneus 1.4.40 → 1.4.42

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 (127) hide show
  1. package/dist/accounting/counter-sales/auto-sales-receipt-pdf.service.js +2 -2
  2. package/dist/accounting/counter-sales/pos-receipt-pdf.js +1 -1
  3. package/dist/accounting/counter-sales/sales-receipt-pdf.service.js +2 -2
  4. package/dist/accounting/counter-sales/sales-receipt-print.service.js +3 -5
  5. package/dist/accounting/credit-note/cn-print.service.js +3 -5
  6. package/dist/accounting/credit-note/credit-note-pdf.service.js +2 -2
  7. package/dist/accounting/debit-note/debit-note-pdf.service.js +2 -2
  8. package/dist/accounting/debit-note/debit-note-print.service.js +3 -5
  9. package/dist/accounting/invoice/hc-inv-pdf.service.js +4 -4
  10. package/dist/accounting/invoice/inv-pdf.service.js +2 -2
  11. package/dist/accounting/invoice/inv-print.service.js +2 -1
  12. package/dist/accounting/invoice/invoice-landscape-pdf.service.d.ts +1 -0
  13. package/dist/accounting/invoice/invoice-landscape-pdf.service.js +16 -12
  14. package/dist/accounting/invoice/invoice-letterhead-pdf.service.js +2 -2
  15. package/dist/accounting/invoice/invoice-portrait-pdf.js +5 -5
  16. package/dist/accounting/invoice/reports/excel/analysis-excel.service.js +2 -2
  17. package/dist/accounting/invoice/reports/excel/category-wise-item-excel.service.js +2 -2
  18. package/dist/accounting/invoice/reports/excel/cust-wise-sales-details.js +2 -2
  19. package/dist/accounting/invoice/reports/excel/cust-wise-sales-summary-excel.service.js +2 -2
  20. package/dist/accounting/invoice/reports/excel/invoice-wise-excel.service.js +1 -1
  21. package/dist/accounting/invoice/reports/excel/item-wise-doctor-sale-excel.service.js +2 -2
  22. package/dist/accounting/invoice/reports/excel/items-wise-sales-excel.service.js +2 -2
  23. package/dist/accounting/invoice/reports/excel/manf-wise-sales-excel.service.js +2 -2
  24. package/dist/accounting/invoice/reports/excel/operator-wise-details.js +2 -2
  25. package/dist/accounting/invoice/reports/excel/operator-wise-summary.js +2 -2
  26. package/dist/accounting/invoice/reports/excel/sa-wise-labor-sales-excel.service.js +2 -2
  27. package/dist/accounting/invoice/reports/excel/sa-wise-part-sales-excel.service.js +2 -2
  28. package/dist/accounting/invoice/reports/excel/sale-summary-excel.service.js +1 -1
  29. package/dist/accounting/invoice/reports/excel/sales-by-service-summary-excel.service.js +2 -2
  30. package/dist/accounting/invoice/reports/excel/scheduled-drug-summary-excel.service.js +2 -2
  31. package/dist/accounting/invoice/reports/excel/scheduled-drugs-excel.service.js +2 -2
  32. package/dist/accounting/invoice/reports/pdf/analysis-pdf.service.d.ts +192 -1
  33. package/dist/accounting/invoice/reports/pdf/analysis-pdf.service.js +3 -3
  34. package/dist/accounting/invoice/reports/pdf/category-wise-item-pdf.service.d.ts +192 -1
  35. package/dist/accounting/invoice/reports/pdf/category-wise-item-pdf.service.js +2 -2
  36. package/dist/accounting/invoice/reports/pdf/cust-wise-sales-details-pdf.service.d.ts +192 -1
  37. package/dist/accounting/invoice/reports/pdf/cust-wise-sales-details-pdf.service.js +3 -3
  38. package/dist/accounting/invoice/reports/pdf/cust-wise-sales-summary-pdf.service.d.ts +192 -1
  39. package/dist/accounting/invoice/reports/pdf/cust-wise-sales-summary-pdf.service.js +2 -2
  40. package/dist/accounting/invoice/reports/pdf/item-wise-doctor-sale-pdf.service.d.ts +192 -1
  41. package/dist/accounting/invoice/reports/pdf/item-wise-doctor-sale-pdf.service.js +2 -2
  42. package/dist/accounting/invoice/reports/pdf/item-wise-sales-pdf.service.d.ts +192 -1
  43. package/dist/accounting/invoice/reports/pdf/item-wise-sales-pdf.service.js +2 -2
  44. package/dist/accounting/invoice/reports/pdf/manf-wise-sales-pdf.service.d.ts +192 -1
  45. package/dist/accounting/invoice/reports/pdf/manf-wise-sales-pdf.service.js +2 -2
  46. package/dist/accounting/invoice/reports/pdf/operator-wise-details-pdf.service.d.ts +192 -1
  47. package/dist/accounting/invoice/reports/pdf/operator-wise-details-pdf.service.js +3 -3
  48. package/dist/accounting/invoice/reports/pdf/operator-wise-summary-pdf.d.ts +192 -1
  49. package/dist/accounting/invoice/reports/pdf/operator-wise-summary-pdf.js +2 -2
  50. package/dist/accounting/invoice/reports/pdf/sales-by-service-pdf.service.d.ts +192 -1
  51. package/dist/accounting/invoice/reports/pdf/sales-by-service-pdf.service.js +2 -2
  52. package/dist/accounting/invoice/reports/pdf/scheduled-drug-pdf.service.d.ts +192 -1
  53. package/dist/accounting/invoice/reports/pdf/scheduled-drug-pdf.service.js +3 -3
  54. package/dist/accounting/invoice/reports/pdf/scheduled-drug-summary-pdf.service.d.ts +192 -1
  55. package/dist/accounting/invoice/reports/pdf/scheduled-drug-summary-pdf.service.js +2 -2
  56. package/dist/accounting/invoice/shared-inv-pdf.service.d.ts +241 -9
  57. package/dist/accounting/invoice/shared-inv-pdf.service.js +4 -4
  58. package/dist/accounting/payment-receive/payment-pdf.service.js +1 -1
  59. package/dist/accounting/payment-receive/receipt-print.service.js +1 -1
  60. package/dist/accounting/payment-receive/reports/excel/cust-balance-excel.service.js +1 -1
  61. package/dist/accounting/payment-receive/reports/excel/payment-receive-excel.service.js +2 -2
  62. package/dist/accounting/payment-receive/reports/pdf/customer-balances-pdf.service.js +1 -1
  63. package/dist/accounting/payment-receive/reports/pdf/payment-report-pdf.service.js +1 -1
  64. package/dist/appointments/consultations/consultation-fee-receipt.service.js +1 -1
  65. package/dist/appointments/consultations/consultation-full-pdf.service.js +1 -1
  66. package/dist/appointments/consultations/consultation-letterhead-pdf.service.js +1 -1
  67. package/dist/appointments/consultations/consultation-pdf.service.js +1 -1
  68. package/dist/index.d.ts +2 -2
  69. package/dist/index.js +2 -2
  70. package/dist/inventory/items/issue-parts-pdf.service.js +2 -2
  71. package/dist/inventory/items/item-bar-code-label-pdf.js +1 -1
  72. package/dist/inventory/items/item-detais-pdf.js +1 -1
  73. package/dist/inventory/items/reports/excel/expiring-drugs-excel.service.js +2 -2
  74. package/dist/inventory/items/reports/excel/spares-issue-excel.service.js +1 -1
  75. package/dist/inventory/items/reports/excel/stock-excel.service.js +1 -1
  76. package/dist/inventory/items/reports/pdf/item-wise-mout-details-pdf.js +1 -1
  77. package/dist/inventory/items/reports/pdf/item-wise-mout-summary-pdf.js +1 -1
  78. package/dist/inventory/material-out/mout-pdf.service.js +2 -2
  79. package/dist/inventory/transfer-order/transfer-order-pdf.service.js +1 -1
  80. package/dist/purchases/payment-made/reports/excel/payments-made-excel.service.js +2 -2
  81. package/dist/purchases/payment-made/reports/excel/ven-balance-excel.service.js +1 -1
  82. package/dist/purchases/payment-made/reports/pdf/vendor-balances-pdf.service.js +1 -1
  83. package/dist/purchases/purchase-order/purchase-order-pdf.service.js +2 -2
  84. package/dist/purchases/purchase-order/purchase-order-print.service.js +2 -1
  85. package/dist/purchases/vendor-credit-note/vendor-credit-note-pdf.service.d.ts +1 -1
  86. package/dist/purchases/vendor-credit-note/vendor-credit-note-pdf.service.js +2 -2
  87. package/dist/purchases/vendor-credit-note/vendor-credit-note-print.service.js +2 -1
  88. package/dist/purchases/vendor-debit-note/vendor-debit-note-pdf.service.js +2 -2
  89. package/dist/purchases/vendor-debit-note/vendor-debit-note-print.service.js +2 -1
  90. package/dist/sales/delivery-challan/dc-landscape-pdf.service.js +2 -2
  91. package/dist/sales/delivery-challan/dc-landscape-without-price-pdf.service.js +2 -2
  92. package/dist/sales/delivery-challan/dc-without-price-pdf.service.js +2 -2
  93. package/dist/sales/delivery-challan/delivery-challan-pdf.service.js +2 -2
  94. package/dist/sales/delivery-challan/delivery-challan-print.service.js +2 -1
  95. package/dist/sales/sales/equipment-design-pdf.service.js +2 -2
  96. package/dist/sales/sales/pack-ship-pdf.service.d.ts +4 -4
  97. package/dist/sales/sales/pack-ship-pdf.service.js +2 -2
  98. package/dist/sales/sales/pack-ship-print.service.js +1 -1
  99. package/dist/sales/sales/sales-pdf.service.js +2 -2
  100. package/dist/sales/sales/sales-print.service.js +2 -1
  101. package/dist/services/checklist-pdf.js +2 -2
  102. package/dist/services/checklists-pdf.js +1 -1
  103. package/dist/services/est.print-service.js +1 -1
  104. package/dist/services/reports/excel/insurance-expire-excel.service.js +2 -2
  105. package/dist/services/reports/excel/next-service-date-excel.service.js +2 -2
  106. package/dist/services/reports/excel/repair-orders-excel.service.js +2 -2
  107. package/dist/services/reports/pdf/insurance-expire-pdf.service.d.ts +192 -1
  108. package/dist/services/reports/pdf/insurance-expire-pdf.service.js +2 -2
  109. package/dist/services/reports/pdf/next-service-date-pdf.service.d.ts +192 -1
  110. package/dist/services/reports/pdf/next-service-date-pdf.service.js +2 -2
  111. package/dist/services/reports/pdf/repair-orders-pdf.service.d.ts +192 -1
  112. package/dist/services/reports/pdf/repair-orders-pdf.service.js +3 -3
  113. package/dist/services/ro-pdf.service.js +2 -2
  114. package/dist/services/ro-print-service.js +1 -1
  115. package/dist/services/separate-wo-print.service.js +1 -1
  116. package/dist/services/technician-pdf.service.js +1 -1
  117. package/dist/services/technician-print.service.js +1 -1
  118. package/dist/shared/shared-pdf.service.d.ts +926 -0
  119. package/dist/shared/shared-pdf.service.js +2608 -0
  120. package/dist/shared/{shared-services → shared-pdfs}/shared-pdf.service.js +2 -2
  121. package/dist/shared/{shared-services/shared-print.service.d.ts → shared-print.service.d.ts} +2 -2
  122. package/dist/shared/{shared-services/shared-print.service.js → shared-print.service.js} +2 -2
  123. package/dist/tasks/meetings/meeting-pdf.js +1 -1
  124. package/dist/tasks/tasks/task-pdf.service.js +2 -2
  125. package/dist/tasks/tasks/task-reports-pdf.service.js +2 -2
  126. package/package.json +1 -1
  127. /package/dist/shared/{shared-services → shared-pdfs}/shared-pdf.service.d.ts +0 -0
@@ -15,11 +15,214 @@ export declare class SharedInvoiceprintService {
15
15
  pageBreakBefore: (currentNode: any, followingNodesOnPage: any, nodesOnNextPage: any, previousNodesOnPage: any) => boolean;
16
16
  pageMargins: number[];
17
17
  content: any[];
18
- styles: any;
18
+ styles: {
19
+ temp2header: {
20
+ fontSize: number;
21
+ bold: boolean;
22
+ alignment: string;
23
+ };
24
+ tableheader1: {
25
+ bold: boolean;
26
+ fontFamily: string;
27
+ margin: number[];
28
+ alignment: string;
29
+ };
30
+ header: {
31
+ fontSize: number;
32
+ bold: boolean;
33
+ alignment: string;
34
+ };
35
+ meetingHeader: {
36
+ fontSize: number;
37
+ bold: boolean;
38
+ };
39
+ Receiptheader: {
40
+ fontSize: number;
41
+ bold: boolean;
42
+ alignment: string;
43
+ margin: number[];
44
+ };
45
+ InlineHeader: {
46
+ fontSize: number;
47
+ bold: boolean;
48
+ alignment: string;
49
+ margin: number[];
50
+ };
51
+ TaskHeading: {
52
+ fontSize: number;
53
+ bold: boolean;
54
+ margin: number[];
55
+ };
56
+ lettersSize: {
57
+ fontSize: number;
58
+ margin: number[];
59
+ };
60
+ tablexample: {
61
+ margin: number[];
62
+ };
63
+ hedstyl: {
64
+ margin: number[];
65
+ };
66
+ header2: {
67
+ fontSize: number;
68
+ bold: boolean;
69
+ alignment: string;
70
+ margin: number[];
71
+ };
72
+ header1: {
73
+ fontSize: number;
74
+ bold: boolean;
75
+ alignment: string;
76
+ decoration: string;
77
+ margin: number[];
78
+ };
79
+ ws_adrs_center: {
80
+ fontSize: number;
81
+ alignment: string;
82
+ };
83
+ ws_adrs_center1: {
84
+ fontSize: number;
85
+ alignment: string;
86
+ };
87
+ ws_adrs_left: {
88
+ fontSize: number;
89
+ alignment: string;
90
+ };
91
+ ws_adrs_left1: {
92
+ fontSize: number;
93
+ alignment: string;
94
+ };
95
+ columnheader: {
96
+ margin: number[];
97
+ };
98
+ tableExample: {
99
+ margin: number[];
100
+ fontSize: number;
101
+ };
102
+ tableExamplemargin: {
103
+ margin: number[];
104
+ fontSize: number;
105
+ };
106
+ textcust: {
107
+ fontSize: number;
108
+ margin: number[];
109
+ };
110
+ column: {
111
+ margin: number[];
112
+ };
113
+ tableheader: {
114
+ bold: boolean;
115
+ fontSize: number;
116
+ margin: number[];
117
+ alignment: string;
118
+ };
119
+ tableheader2: {
120
+ fontSize: number;
121
+ margin: number[];
122
+ alignment: string;
123
+ opacity: number;
124
+ };
125
+ hed: {
126
+ fontSize: number;
127
+ bold: boolean;
128
+ };
129
+ hed2: {
130
+ fontSize: number;
131
+ };
132
+ TotalsStyles: {
133
+ marginTop: number;
134
+ lineHeight: number;
135
+ fontSize: number;
136
+ margin: number[];
137
+ };
138
+ colum1: {
139
+ fontSize: number;
140
+ lineHeight: number;
141
+ };
142
+ colum2: {
143
+ fontSize: number;
144
+ lineHeight: number;
145
+ margin: number[];
146
+ };
147
+ colum3: {
148
+ lineHeight: number;
149
+ };
150
+ Receiptheader1: {
151
+ fontSize: number;
152
+ bold: boolean;
153
+ alignment: string;
154
+ margin: number[];
155
+ };
156
+ Row1: {
157
+ fontSize: number;
158
+ margin: number[];
159
+ };
160
+ rowdata: {
161
+ margin: number[];
162
+ fontSize: number;
163
+ };
164
+ forCompany: {
165
+ margin: number[];
166
+ fontSize: string;
167
+ };
168
+ forCompany1: {
169
+ margin: number[];
170
+ fontSize: string;
171
+ };
172
+ Rupees: {
173
+ margin: number[];
174
+ fontSize: string;
175
+ };
176
+ Signature: {
177
+ margin: number[];
178
+ alignment: string;
179
+ fontSize: string;
180
+ };
181
+ withApp: {
182
+ alignment: string;
183
+ lineHeight: number;
184
+ };
185
+ withOutApp: {
186
+ alignment: string;
187
+ lineHeight: number;
188
+ };
189
+ Sign: {
190
+ fontSize: number;
191
+ margin: number[];
192
+ };
193
+ Sign1: {
194
+ fontSize: number;
195
+ margin: number[];
196
+ };
197
+ 'margin-all': {
198
+ margin: number[];
199
+ };
200
+ 'margin-top': {
201
+ margin: number[];
202
+ };
203
+ 'margin-bottom': {
204
+ margin: number[];
205
+ };
206
+ fontSize: {
207
+ fontSize: number;
208
+ };
209
+ };
19
210
  };
20
211
  static GetFileName(ROPrintData: any): string;
21
212
  static CommonHeaderDetails(ROPrintData: any, text: any, isotherIndustry: boolean): any[];
22
- static GetMainHeaderDetails(Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any, text: any): any[];
213
+ static GetMainHeaderDetails(Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any, text: any): ({
214
+ columns: any;
215
+ } | {
216
+ canvas: {
217
+ type: string;
218
+ lineColor: string;
219
+ x1: number;
220
+ y1: number;
221
+ x2: number;
222
+ y2: number;
223
+ lineWidth: number;
224
+ }[];
225
+ })[];
23
226
  static PreparesparePartsTable(ROPrintData: any, isAuto: boolean): any;
24
227
  static GetLaborPartsTableForView(Parts: any, Ops: any, PrintPartNo: any): any;
25
228
  static WithOutDiscountFieldTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): any;
@@ -31,7 +234,12 @@ export declare class SharedInvoiceprintService {
31
234
  widths: number[];
32
235
  body: any;
33
236
  };
34
- layout: any;
237
+ layout: {
238
+ hLineWidth: (i: any, node: any) => number;
239
+ vLineWidth: (i: any, node: any) => number;
240
+ hLineColor: (i: any, node: any) => string;
241
+ vLineColor: (i: any, node: any) => string;
242
+ };
35
243
  };
36
244
  static ConsolidateDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): {
37
245
  style: string;
@@ -39,15 +247,25 @@ export declare class SharedInvoiceprintService {
39
247
  widths: number[];
40
248
  body: any;
41
249
  };
42
- layout: any;
250
+ layout: {
251
+ hLineWidth: (i: any, node: any) => number;
252
+ vLineWidth: (i: any, node: any) => number;
253
+ hLineColor: (i: any, node: any) => string;
254
+ vLineColor: (i: any, node: any) => string;
255
+ };
43
256
  };
44
257
  static NoTaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): {
45
258
  style: string;
46
259
  table: {
47
- widths: any;
260
+ widths: number[];
48
261
  body: any;
49
262
  };
50
- layout: any;
263
+ layout: {
264
+ hLineWidth: (i: any, node: any) => number;
265
+ vLineWidth: (i: any, node: any) => number;
266
+ hLineColor: (i: any, node: any) => string;
267
+ vLineColor: (i: any, node: any) => string;
268
+ };
51
269
  };
52
270
  static buildTableForCustomerLabor(Parts: any, Ops: any, PrintPartNo: any, customerorInsurance: any): any;
53
271
  static getSummaryHeaders(permission: boolean): any;
@@ -59,13 +277,27 @@ export declare class SharedInvoiceprintService {
59
277
  width: number;
60
278
  bold?: undefined;
61
279
  } | {
62
- text: any;
280
+ text: string;
63
281
  bold: boolean;
64
282
  fontSize: number;
65
283
  width: string;
66
284
  })[];
67
285
  };
68
286
  static GetGatePass(isGatepass: boolean, ROPrintData: any): any;
69
- static GetCustomerDetails(ROPrintData: any, isOtherIndustry: boolean): any;
70
- static GetVehicleDetails(Vehicle: any, isOtherIndustry: boolean): any;
287
+ static GetCustomerDetails(ROPrintData: any, isOtherIndustry: boolean): {
288
+ lineHeight: number;
289
+ fontSize: number;
290
+ table: {
291
+ body: any;
292
+ };
293
+ layout: string;
294
+ };
295
+ static GetVehicleDetails(Vehicle: any, isOtherIndustry: boolean): {
296
+ lineHeight: number;
297
+ fontSize: number;
298
+ table: {
299
+ body: any;
300
+ };
301
+ layout: string;
302
+ };
71
303
  }
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SharedInvoiceprintService = void 0;
4
- const shared_pdf_service_1 = require("../shared/shared-services/shared-pdf.service");
5
- const shared_print_service_1 = require("../shared/shared-services/shared-print.service");
6
- const my_date_1 = require("../utils/my-date");
7
- const tr_utils_1 = require("../utils/tr-utils");
4
+ const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
5
+ const shared_print_service_1 = require("../../shared/shared-print.service");
6
+ const my_date_1 = require("../../utils/my-date");
7
+ const tr_utils_1 = require("../../utils/tr-utils");
8
8
  class SharedInvoiceprintService {
9
9
  constructor() {
10
10
  this.FontSize = 8;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReceiptPDFService = void 0;
4
- const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
4
+ 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 ReceiptPDFService {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReceiptPrintService = void 0;
4
- const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
4
+ const shared_print_service_1 = require("../../shared/shared-print.service");
5
5
  const my_date_1 = require("../../utils/my-date");
6
6
  const tr_utils_1 = require("../../utils/tr-utils");
7
7
  class ReceiptPrintService {
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.CustBalanceXlsxFileService = void 0;
27
27
  const XLSX = __importStar(require("xlsx"));
28
- const tr_utils_1 = require("../utils/tr-utils");
28
+ const tr_utils_1 = require("../../../../utils/tr-utils");
29
29
  class CustBalanceXlsxFileService {
30
30
  static GetInvoiceWiseExcelData(MainData, isPhar, WOTypes) {
31
31
  this.wb = {};
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.PaymentReceiveXlsxFileService = void 0;
27
27
  const XLSX = __importStar(require("xlsx"));
28
- const my_date_1 = require("../utils/my-date");
29
- const tr_utils_1 = require("../utils/tr-utils");
28
+ const my_date_1 = require("../../../../utils/my-date");
29
+ const tr_utils_1 = require("../../../../utils/tr-utils");
30
30
  class PaymentReceiveXlsxFileService {
31
31
  static GetRepairOrdersExcelData(MainData) {
32
32
  this.wb = {};
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CustomerBalancesService = void 0;
4
- const shared_pdf_service_1 = require("../../../../shared/shared-services/shared-pdf.service");
4
+ 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 CustomerBalancesService {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaymentsReportPDFService = void 0;
4
- const shared_pdf_service_1 = require("../../../../shared/shared-services/shared-pdf.service");
4
+ 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 PaymentsReportPDFService {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConsultationFeeReceiptPrintService = void 0;
4
4
  const date_fns_1 = require("date-fns");
5
5
  const tr_utils_1 = require("../../utils/tr-utils");
6
- const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
6
+ const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
7
7
  const my_date_1 = require("../../utils/my-date");
8
8
  class ConsultationFeeReceiptPrintService {
9
9
  static GetPrint(consultationData) {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConsultationFullPrintService = void 0;
4
4
  const date_fns_1 = require("date-fns");
5
5
  const tr_utils_1 = require("../../utils/tr-utils");
6
- const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
6
+ const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
7
7
  const my_date_1 = require("../../utils/my-date");
8
8
  class ConsultationFullPrintService {
9
9
  static GetPrint(consultationData) {
@@ -4,7 +4,7 @@ exports.ConsultationLetterHeadPDFService = void 0;
4
4
  const date_fns_1 = require("date-fns");
5
5
  const tr_utils_1 = require("../../utils/tr-utils");
6
6
  const my_date_1 = require("../../utils/my-date");
7
- const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
7
+ const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
8
8
  class ConsultationLetterHeadPDFService {
9
9
  static GetConsultationPrint(CnstData, Remarks, LetterHead) {
10
10
  let dd = {
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConsultationPDFService = void 0;
4
4
  const date_fns_1 = require("date-fns");
5
- const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
5
+ const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
6
6
  const my_date_1 = require("../../utils/my-date");
7
7
  const tr_utils_1 = require("../../utils/tr-utils");
8
8
  class ConsultationPDFService {
package/dist/index.d.ts CHANGED
@@ -97,8 +97,8 @@ export { ScheduledDrugPDFService } from "./accounting/invoice/reports/pdf/schedu
97
97
  export { ScheduledDrugSummaryPDFService } from "./accounting/invoice/reports/pdf/scheduled-drug-summary-pdf.service";
98
98
  export { WOPrintService } from "./services/separate-wo-print.service";
99
99
  export { SharedInvoiceprintService } from "./accounting/invoice/shared-inv-pdf.service";
100
- export { SharedPDFService } from "./shared/shared-services/shared-pdf.service";
101
- export { PrintSharedService } from "./shared/shared-services/shared-print.service";
100
+ export { SharedPDFService } from "./shared/shared-pdf.service";
101
+ export { PrintSharedService } from "./shared/shared-print.service";
102
102
  export { TaskPDfService } from "./tasks/tasks/task-pdf.service";
103
103
  export { TaskReportsPDfService } from "./tasks/tasks/task-reports-pdf.service";
104
104
  export { TechnicianpdfService } from "./services/technician-pdf.service";
package/dist/index.js CHANGED
@@ -201,9 +201,9 @@ var separate_wo_print_service_1 = require("./services/separate-wo-print.service"
201
201
  Object.defineProperty(exports, "WOPrintService", { enumerable: true, get: function () { return separate_wo_print_service_1.WOPrintService; } });
202
202
  var shared_inv_pdf_service_1 = require("./accounting/invoice/shared-inv-pdf.service");
203
203
  Object.defineProperty(exports, "SharedInvoiceprintService", { enumerable: true, get: function () { return shared_inv_pdf_service_1.SharedInvoiceprintService; } });
204
- var shared_pdf_service_1 = require("./shared/shared-services/shared-pdf.service");
204
+ var shared_pdf_service_1 = require("./shared/shared-pdf.service");
205
205
  Object.defineProperty(exports, "SharedPDFService", { enumerable: true, get: function () { return shared_pdf_service_1.SharedPDFService; } });
206
- var shared_print_service_1 = require("./shared/shared-services/shared-print.service");
206
+ var shared_print_service_1 = require("./shared/shared-print.service");
207
207
  Object.defineProperty(exports, "PrintSharedService", { enumerable: true, get: function () { return shared_print_service_1.PrintSharedService; } });
208
208
  var task_pdf_service_1 = require("./tasks/tasks/task-pdf.service");
209
209
  Object.defineProperty(exports, "TaskPDfService", { enumerable: true, get: function () { return task_pdf_service_1.TaskPDfService; } });
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IssuePartsprintService = void 0;
4
- const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
5
- const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
4
+ const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
5
+ const shared_print_service_1 = require("../../shared/shared-print.service");
6
6
  const my_date_1 = require("../../utils/my-date");
7
7
  const tr_utils_1 = require("../../utils/tr-utils");
8
8
  class IssuePartsprintService {
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ItemBarCodeLabelPdf = void 0;
7
7
  const jsbarcode_1 = __importDefault(require("jsbarcode"));
8
- const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
8
+ const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
9
9
  const tr_utils_1 = require("../../utils/tr-utils");
10
10
  class ItemBarCodeLabelPdf {
11
11
  static ItemDetailsPrint(Item, win, custom, txt) {
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ItemDetaisPdf = void 0;
7
7
  const jsbarcode_1 = __importDefault(require("jsbarcode"));
8
- const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
8
+ const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
9
9
  class ItemDetaisPdf {
10
10
  static ItemDetailsPrint(Item, win, custom, txt) {
11
11
  let dd = {
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.ExpiringDrugsXlsxFileService = void 0;
27
27
  const XLSX = __importStar(require("xlsx"));
28
- const my_date_1 = require("../utils/my-date");
29
- const tr_utils_1 = require("../utils/tr-utils");
28
+ const my_date_1 = require("../../../../utils/my-date");
29
+ const tr_utils_1 = require("../../../../utils/tr-utils");
30
30
  class ExpiringDrugsXlsxFileService {
31
31
  static GetExpiringDrugsExcelData(MainData, isSale, searchValue, HeaderName) {
32
32
  this.wb = {};
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.IssueSparesXlsxFileService = void 0;
27
27
  const XLSX = __importStar(require("xlsx"));
28
- const tr_utils_1 = require("../utils/tr-utils");
28
+ const tr_utils_1 = require("../../../../utils/tr-utils");
29
29
  class IssueSparesXlsxFileService {
30
30
  static GetInvoiceWiseExcelData(MainData, WOTypes) {
31
31
  this.wb = {};
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.StockXlsxFileService = void 0;
27
27
  const XLSX = __importStar(require("xlsx"));
28
- const tr_utils_1 = require("../utils/tr-utils");
28
+ const tr_utils_1 = require("../../../../utils/tr-utils");
29
29
  class StockXlsxFileService {
30
30
  static GetStockInfoExcelData(MainData, isSale, isHC, HeaderName) {
31
31
  this.wb = {};
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ItemWiseMODetailsPDF = void 0;
4
- const shared_pdf_service_1 = require("../../../../shared/shared-services/shared-pdf.service");
4
+ 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 ItemWiseMODetailsPDF {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ItemWiseMOSummaryPDF = void 0;
4
- const shared_pdf_service_1 = require("../../../../shared/shared-services/shared-pdf.service");
4
+ const shared_pdf_service_1 = require("../../../../shared/shared-pdf.service");
5
5
  const tr_utils_1 = require("../../../../utils/tr-utils");
6
6
  class ItemWiseMOSummaryPDF {
7
7
  static GetItemWiseMOSummaryPrint(InvoicesData, CName, isPhar, isHC, HeaderName, searchValue) {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MaterialOutprintService = void 0;
4
- const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
5
- const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
4
+ const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
5
+ const shared_print_service_1 = require("../../shared/shared-print.service");
6
6
  const tr_utils_1 = require("../../utils/tr-utils");
7
7
  class MaterialOutprintService {
8
8
  static MaterialOutPDF(MOutPrintData) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TransferOrderPrintService = void 0;
4
- const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
4
+ const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
5
5
  class TransferOrderPrintService {
6
6
  static GetTransferOrderPrint(ReOrderPointData) {
7
7
  // console.log('ReOrderPointData', ReOrderPointData);
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.PaymentsMadeXlsxFileService = void 0;
27
27
  const XLSX = __importStar(require("xlsx"));
28
- const my_date_1 = require("../utils/my-date");
29
- const tr_utils_1 = require("../utils/tr-utils");
28
+ const my_date_1 = require("../../../../utils/my-date");
29
+ const tr_utils_1 = require("../../../../utils/tr-utils");
30
30
  class PaymentsMadeXlsxFileService {
31
31
  static GetPaymentsMadeDetailsExcelData(MainData, isPur, isSale, searchValue, HeaderName, ExtraFields) {
32
32
  this.wb = {};
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.VenBalanceXlsxFileService = void 0;
27
27
  const XLSX = __importStar(require("xlsx"));
28
- const tr_utils_1 = require("../utils/tr-utils");
28
+ const tr_utils_1 = require("../../../../utils/tr-utils");
29
29
  class VenBalanceXlsxFileService {
30
30
  static GetInvoiceWiseExcelData(MainData) {
31
31
  this.wb = {};
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VendorBalancesService = void 0;
4
- const shared_pdf_service_1 = require("../../../../shared/shared-services/shared-pdf.service");
4
+ 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 VendorBalancesService {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PurchaseOrderPDFService = void 0;
4
- const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
5
- const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
4
+ const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
5
+ const shared_print_service_1 = require("../../shared/shared-print.service");
6
6
  const tr_utils_1 = require("../../utils/tr-utils");
7
7
  class PurchaseOrderPDFService {
8
8
  static PurchaseOrder(ROPrintData, moreDiscDetails) {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PurchaseOrderPrintService = void 0;
4
4
  const aggregation_1 = require("../../aggregation/aggregation");
5
5
  const code_enums_1 = require("../../enums/code-enums");
6
- const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
6
+ const shared_print_service_1 = require("../../shared/shared-print.service");
7
7
  const my_date_1 = require("../../utils/my-date");
8
8
  const tr_utils_1 = require("../../utils/tr-utils");
9
9
  const purchase_order_totals_service_1 = require("./purchase-order-totals.service");
@@ -13,6 +13,7 @@ class PurchaseOrderPrintService {
13
13
  let PurchaseOrderData = tr_utils_1.TrUtils.Stringify(argPurchaseOrderData);
14
14
  let PurchaseOrderPDFData = {};
15
15
  PurchaseOrderPDFData.Settings = tr_utils_1.TrUtils.Stringify(argPurchaseOrderData.Settings);
16
+ PurchaseOrderPDFData.SType = tr_utils_1.TrUtils.Stringify(argPurchaseOrderData.SType);
16
17
  PurchaseOrderPDFData.Adjust = argPurchaseOrderData.Adjust;
17
18
  // let IsTaxable: boolean = (PurchaseOrderData.Tax === 3) ? true : false;
18
19
  let IsTaxable = true;
@@ -1,4 +1,4 @@
1
- import { SharedPDFService } from '../../shared/shared-services/shared-pdf.service';
1
+ import { SharedPDFService } from '../../shared/shared-pdf.service';
2
2
  export declare class VendorCreditNotePDFService {
3
3
  SharedPrint: SharedPDFService;
4
4
  static SmallFont: number;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VendorCreditNotePDFService = void 0;
4
- const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
5
- const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
4
+ const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
5
+ const shared_print_service_1 = require("../../shared/shared-print.service");
6
6
  const tr_utils_1 = require("../../utils/tr-utils");
7
7
  class VendorCreditNotePDFService {
8
8
  constructor(SharedPrint) {
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VendorCreditNotePrintService = void 0;
4
4
  const code_enums_1 = require("../../enums/code-enums");
5
- const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
5
+ const shared_print_service_1 = require("../../shared/shared-print.service");
6
6
  const my_date_1 = require("../../utils/my-date");
7
7
  const tr_utils_1 = require("../../utils/tr-utils");
8
8
  const vendor_credit_note_totals_service_1 = require("./vendor-credit-note-totals.service");
@@ -12,6 +12,7 @@ class VendorCreditNotePrintService {
12
12
  let CNData = tr_utils_1.TrUtils.Stringify(argCNData);
13
13
  let creditNotePDFData = {};
14
14
  creditNotePDFData.Settings = tr_utils_1.TrUtils.Stringify(argCNData.Settings);
15
+ creditNotePDFData.SType = tr_utils_1.TrUtils.Stringify(argCNData.SType);
15
16
  // let IsTaxable: boolean = (CNData.Tax === 3) ? true : false;
16
17
  let IsTaxable = true;
17
18
  // PurchaseOrderPDFData.ShowTaxColumn = (CNData.Tax === 3) ? true : false;