shareneus 1.4.36 → 1.4.38

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 (244) hide show
  1. package/dist/accounting/counter-sales/auto-sales-receipt-pdf.service.d.ts +290 -0
  2. package/dist/{services → accounting/counter-sales}/auto-sales-receipt-pdf.service.js +4 -4
  3. package/dist/accounting/counter-sales/pos-receipt-pdf.d.ts +156 -0
  4. package/dist/{services → accounting/counter-sales}/pos-receipt-pdf.js +2 -2
  5. package/dist/accounting/counter-sales/sales-receipt-pdf.service.d.ts +272 -0
  6. package/dist/{services → accounting/counter-sales}/sales-receipt-pdf.service.js +4 -3
  7. package/dist/accounting/counter-sales/sales-receipt-print.service.d.ts +18 -0
  8. package/dist/{services → accounting/counter-sales}/sales-receipt-print.service.js +7 -7
  9. package/dist/accounting/credit-note/cn-print.service.d.ts +14 -0
  10. package/dist/{services → accounting/credit-note}/cn-print.service.js +6 -6
  11. package/dist/accounting/credit-note/credit-note-pdf.service.d.ts +272 -0
  12. package/dist/{services → accounting/credit-note}/credit-note-pdf.service.js +3 -3
  13. package/dist/accounting/credit-note/credit-note-totals.service.d.ts +25 -0
  14. package/dist/{services → accounting/credit-note}/credit-note-totals.service.js +2 -2
  15. package/dist/accounting/debit-note/debit-note-pdf.service.d.ts +331 -0
  16. package/dist/{services → accounting/debit-note}/debit-note-pdf.service.js +3 -3
  17. package/dist/accounting/debit-note/debit-note-print.service.d.ts +14 -0
  18. package/dist/{services → accounting/debit-note}/debit-note-print.service.js +6 -6
  19. package/dist/accounting/debit-note/debit-note-totals.service.d.ts +22 -0
  20. package/dist/{services → accounting/debit-note}/debit-note-totals.service.js +2 -2
  21. package/dist/accounting/invoice/hc-inv-pdf.service.d.ts +357 -0
  22. package/dist/{services → accounting/invoice}/hc-inv-pdf.service.js +3 -3
  23. package/dist/accounting/invoice/inv-pdf.service.d.ts +314 -0
  24. package/dist/{services → accounting/invoice}/inv-pdf.service.js +4 -4
  25. package/dist/accounting/invoice/inv-print.service.d.ts +16 -0
  26. package/dist/{services → accounting/invoice}/inv-print.service.js +6 -6
  27. package/dist/accounting/invoice/invoice-landscape-pdf.service.d.ts +416 -0
  28. package/dist/{services → accounting/invoice}/invoice-landscape-pdf.service.js +4 -4
  29. package/dist/accounting/invoice/invoice-letterhead-pdf.service.d.ts +323 -0
  30. package/dist/{services → accounting/invoice}/invoice-letterhead-pdf.service.js +4 -4
  31. package/dist/accounting/invoice/invoice-portrait-pdf.d.ts +275 -0
  32. package/dist/{services → accounting/invoice}/invoice-portrait-pdf.js +4 -4
  33. package/dist/accounting/invoice/invoice-total.service.d.ts +43 -0
  34. package/dist/{services → accounting/invoice}/invoice-total.service.js +2 -2
  35. package/dist/accounting/invoice/shared-inv-pdf.service.d.ts +303 -0
  36. package/dist/accounting/invoice/shared-inv-pdf.service.js +763 -0
  37. package/dist/accounting/payment-receive/payment-pdf.service.d.ts +618 -0
  38. package/dist/{services → accounting/payment-receive}/payment-pdf.service.js +3 -3
  39. package/dist/accounting/payment-receive/receipt-print.service.d.ts +4 -0
  40. package/dist/{services → accounting/payment-receive}/receipt-print.service.js +3 -3
  41. package/dist/accounting/payment-receive/reports/pdf/customer-balances-pdf.service.d.ts +228 -0
  42. package/dist/{services → accounting/payment-receive/reports/pdf}/customer-balances-pdf.service.js +3 -3
  43. package/dist/accounting/payment-receive/reports/pdf/payment-report-pdf.service.d.ts +228 -0
  44. package/dist/{services → accounting/payment-receive/reports/pdf}/payment-report-pdf.service.js +3 -3
  45. package/dist/aggregation/aggregation.d.ts +4 -0
  46. package/dist/appointments/appointments/appointment-total.service.d.ts +25 -0
  47. package/dist/{services → appointments/appointments}/appointment-total.service.js +2 -2
  48. package/dist/appointments/consultations/consultation-fee-receipt.service.d.ts +318 -0
  49. package/dist/{services → appointments/consultations}/consultation-fee-receipt.service.js +3 -3
  50. package/dist/appointments/consultations/consultation-full-pdf.service.d.ts +207 -0
  51. package/dist/{services → appointments/consultations}/consultation-full-pdf.service.js +3 -3
  52. package/dist/appointments/consultations/consultation-letterhead-pdf.service.d.ts +266 -0
  53. package/dist/{services → appointments/consultations}/consultation-letterhead-pdf.service.js +3 -3
  54. package/dist/appointments/consultations/consultation-pdf.service.d.ts +306 -0
  55. package/dist/{services → appointments/consultations}/consultation-pdf.service.js +3 -3
  56. package/dist/enums/cache-enums.d.ts +33 -0
  57. package/dist/enums/code-enums.d.ts +266 -0
  58. package/dist/enums/enums.d.ts +329 -0
  59. package/dist/enums/industry-enums.d.ts +16 -0
  60. package/dist/excel-files/cust-balance-excel.service.d.ts +26 -0
  61. package/dist/excel-files/expiring-drugs-excel.service.d.ts +24 -0
  62. package/dist/excel-files/insurance-expire-excel.service.d.ts +23 -0
  63. package/dist/excel-files/invoice-wise-excel.service.d.ts +26 -0
  64. package/dist/excel-files/next-service-date-excel.service.d.ts +25 -0
  65. package/dist/excel-files/payment-receive-excel.service.d.ts +25 -0
  66. package/dist/excel-files/payments-made-excel.service.d.ts +25 -0
  67. package/dist/excel-files/repair-orders-excel.service.d.ts +24 -0
  68. package/dist/excel-files/sales-by-service-details-excel.service.d.ts +0 -0
  69. package/dist/excel-files/sales-by-service-summary-excel.service.d.ts +24 -0
  70. package/dist/excel-files/scheduled-drug-summary-excel.service.d.ts +24 -0
  71. package/dist/excel-files/scheduled-drugs-excel.service.d.ts +24 -0
  72. package/dist/excel-files/spares-issue-excel.service.d.ts +26 -0
  73. package/dist/excel-files/stock-excel.service.d.ts +23 -0
  74. package/dist/excel-files/ven-balance-excel.service.d.ts +27 -0
  75. package/dist/gst/excel/GSTR-RO-excel.service.d.ts +27 -0
  76. package/dist/{excel-files → gst/excel}/GSTR-RO-excel.service.js +1 -1
  77. package/dist/gst/excel/GSTR1-excel.service.d.ts +16 -0
  78. package/dist/{excel-files → gst/excel}/GSTR1-excel.service.js +1 -1
  79. package/dist/gst/excel/GSTR2-excel.service.d.ts +16 -0
  80. package/dist/{excel-files → gst/excel}/GSTR2-excel.service.js +1 -1
  81. package/dist/gst/excel/tally-sales-import.service.d.ts +27 -0
  82. package/dist/{excel-files → gst/excel}/tally-sales-import.service.js +1 -1
  83. package/dist/index.d.ts +125 -0
  84. package/dist/index.js +99 -97
  85. package/dist/inventory/items/issue-parts-pdf.service.d.ts +303 -0
  86. package/dist/{services → inventory/items}/issue-parts-pdf.service.js +4 -4
  87. package/dist/inventory/items/item-bar-code-label-pdf.d.ts +127 -0
  88. package/dist/{services → inventory/items}/item-bar-code-label-pdf.js +2 -2
  89. package/dist/inventory/items/item-detais-pdf.d.ts +121 -0
  90. package/dist/{services → inventory/items}/item-detais-pdf.js +1 -1
  91. package/dist/inventory/items/item-price-for-pricelist.d.ts +14 -0
  92. package/dist/{services → inventory/items}/item-price-for-pricelist.js +53 -23
  93. package/dist/inventory/items/reports/excel/item-wise-mout-details.d.ts +23 -0
  94. package/dist/{excel-files → inventory/items/reports/excel}/item-wise-mout-details.js +2 -2
  95. package/dist/inventory/items/reports/excel/item-wise-mout-summary.d.ts +23 -0
  96. package/dist/{excel-files → inventory/items/reports/excel}/item-wise-mout-summary.js +2 -2
  97. package/dist/inventory/items/reports/pdf/expiring-drugs-pdf.service.d.ts +49 -0
  98. package/dist/{services → inventory/items/reports/pdf}/expiring-drugs-pdf.service.js +2 -2
  99. package/dist/inventory/items/reports/pdf/item-wise-mout-details-pdf.d.ts +229 -0
  100. package/dist/{services → inventory/items/reports/pdf}/item-wise-mout-details-pdf.js +3 -3
  101. package/dist/inventory/items/reports/pdf/item-wise-mout-summary-pdf.d.ts +228 -0
  102. package/dist/{services → inventory/items/reports/pdf}/item-wise-mout-summary-pdf.js +2 -2
  103. package/dist/inventory/items/reports/pdf/reorder-point-pdf.service.d.ts +48 -0
  104. package/dist/{services → inventory/items/reports/pdf}/reorder-point-pdf.service.js +2 -2
  105. package/dist/inventory/material-out/mout-pdf.service.d.ts +324 -0
  106. package/dist/{services → inventory/material-out}/mout-pdf.service.js +3 -3
  107. package/dist/inventory/transfer-order/transfer-order-pdf.service.d.ts +48 -0
  108. package/dist/{services → inventory/transfer-order}/transfer-order-pdf.service.js +2 -2
  109. package/dist/purchases/payment-made/reports/pdf/vendor-balances-pdf.service.d.ts +227 -0
  110. package/dist/{services → purchases/payment-made/reports/pdf}/vendor-balances-pdf.service.js +3 -3
  111. package/dist/purchases/purchase-order/po-totals.service.d.ts +24 -0
  112. package/dist/{services → purchases/purchase-order}/po-totals.service.js +2 -2
  113. package/dist/purchases/purchase-order/purchase-order-pdf.service.d.ts +526 -0
  114. package/dist/{services → purchases/purchase-order}/purchase-order-pdf.service.js +3 -3
  115. package/dist/purchases/purchase-order/purchase-order-print.service.d.ts +8 -0
  116. package/dist/{services → purchases/purchase-order}/purchase-order-print.service.js +5 -5
  117. package/dist/purchases/purchase-order/purchase-order-totals.service.d.ts +23 -0
  118. package/dist/{services → purchases/purchase-order}/purchase-order-totals.service.js +3 -3
  119. package/dist/purchases/vendor-credit-note/vendor-credit-note-pdf.service.d.ts +491 -0
  120. package/dist/{services → purchases/vendor-credit-note}/vendor-credit-note-pdf.service.js +3 -3
  121. package/dist/purchases/vendor-credit-note/vendor-credit-note-print.service.d.ts +6 -0
  122. package/dist/{services → purchases/vendor-credit-note}/vendor-credit-note-print.service.js +4 -4
  123. package/dist/purchases/vendor-credit-note/vendor-credit-note-totals.service.d.ts +24 -0
  124. package/dist/{services → purchases/vendor-credit-note}/vendor-credit-note-totals.service.js +2 -2
  125. package/dist/purchases/vendor-debit-note/vendor-debit-note-pdf.service.d.ts +271 -0
  126. package/dist/{services → purchases/vendor-debit-note}/vendor-debit-note-pdf.service.js +3 -3
  127. package/dist/purchases/vendor-debit-note/vendor-debit-note-print.service.d.ts +14 -0
  128. package/dist/{services → purchases/vendor-debit-note}/vendor-debit-note-print.service.js +7 -7
  129. package/dist/purchases/vendor-debit-note/vendor-debit-note-totals.service.d.ts +22 -0
  130. package/dist/{services → purchases/vendor-debit-note}/vendor-debit-note-totals.service.js +2 -2
  131. package/dist/sales/delivery-challan/dc-landscape-pdf.service.d.ts +416 -0
  132. package/dist/{services → sales/delivery-challan}/dc-landscape-pdf.service.js +4 -4
  133. package/dist/sales/delivery-challan/dc-landscape-without-price-pdf.service.d.ts +400 -0
  134. package/dist/{services → sales/delivery-challan}/dc-landscape-without-price-pdf.service.js +4 -4
  135. package/dist/sales/delivery-challan/dc-without-price-pdf.service.d.ts +271 -0
  136. package/dist/{services → sales/delivery-challan}/dc-without-price-pdf.service.js +3 -3
  137. package/dist/sales/delivery-challan/delivery-challan-pdf.service.d.ts +269 -0
  138. package/dist/{services → sales/delivery-challan}/delivery-challan-pdf.service.js +3 -3
  139. package/dist/sales/delivery-challan/delivery-challan-print.service.d.ts +12 -0
  140. package/dist/{services → sales/delivery-challan}/delivery-challan-print.service.js +6 -6
  141. package/dist/sales/delivery-challan/delivery-challan-totals.d.ts +27 -0
  142. package/dist/{services → sales/delivery-challan}/delivery-challan-totals.js +2 -2
  143. package/dist/sales/reports/excel/analysis-excel.service.d.ts +23 -0
  144. package/dist/{excel-files → sales/reports/excel}/analysis-excel.service.js +2 -2
  145. package/dist/sales/reports/excel/category-wise-item-excel.service.d.ts +23 -0
  146. package/dist/{excel-files → sales/reports/excel}/category-wise-item-excel.service.js +2 -2
  147. package/dist/sales/reports/excel/cust-wise-sales-details.d.ts +25 -0
  148. package/dist/{excel-files → sales/reports/excel}/cust-wise-sales-details.js +2 -2
  149. package/dist/sales/reports/excel/cust-wise-sales-summary-excel.service.d.ts +24 -0
  150. package/dist/{excel-files → sales/reports/excel}/cust-wise-sales-summary-excel.service.js +2 -2
  151. package/dist/sales/reports/excel/item-wise-doctor-sale-excel.service.d.ts +24 -0
  152. package/dist/{excel-files → sales/reports/excel}/item-wise-doctor-sale-excel.service.js +2 -2
  153. package/dist/sales/reports/excel/items-wise-sales-excel.service.d.ts +24 -0
  154. package/dist/{excel-files → sales/reports/excel}/items-wise-sales-excel.service.js +2 -2
  155. package/dist/sales/reports/excel/manf-wise-sales-excel.service.d.ts +24 -0
  156. package/dist/{excel-files → sales/reports/excel}/manf-wise-sales-excel.service.js +2 -2
  157. package/dist/sales/reports/excel/operator-wise-details.d.ts +23 -0
  158. package/dist/{excel-files → sales/reports/excel}/operator-wise-details.js +2 -2
  159. package/dist/sales/reports/excel/operator-wise-summary.d.ts +23 -0
  160. package/dist/{excel-files → sales/reports/excel}/operator-wise-summary.js +2 -2
  161. package/dist/sales/reports/excel/sa-wise-labor-sales-excel.service.d.ts +23 -0
  162. package/dist/{excel-files → sales/reports/excel}/sa-wise-labor-sales-excel.service.js +2 -2
  163. package/dist/sales/reports/excel/sa-wise-part-sales-excel.service.d.ts +23 -0
  164. package/dist/{excel-files → sales/reports/excel}/sa-wise-part-sales-excel.service.js +2 -2
  165. package/dist/sales/reports/excel/sale-summary-excel.service.d.ts +25 -0
  166. package/dist/{excel-files → sales/reports/excel}/sale-summary-excel.service.js +1 -1
  167. package/dist/sales/reports/pdf/analysis-pdf.service.d.ts +228 -0
  168. package/dist/{services → sales/reports/pdf}/analysis-pdf.service.js +3 -3
  169. package/dist/sales/reports/pdf/category-wise-item-pdf.service.d.ts +228 -0
  170. package/dist/{services → sales/reports/pdf}/category-wise-item-pdf.service.js +2 -2
  171. package/dist/sales/reports/pdf/cust-wise-sales-details-pdf.service.d.ts +228 -0
  172. package/dist/{services → sales/reports/pdf}/cust-wise-sales-details-pdf.service.js +3 -3
  173. package/dist/sales/reports/pdf/cust-wise-sales-summary-pdf.service.d.ts +228 -0
  174. package/dist/{services → sales/reports/pdf}/cust-wise-sales-summary-pdf.service.js +2 -3
  175. package/dist/sales/reports/pdf/item-wise-doctor-sale-pdf.service.d.ts +228 -0
  176. package/dist/{services → sales/reports/pdf}/item-wise-doctor-sale-pdf.service.js +2 -2
  177. package/dist/sales/reports/pdf/item-wise-sales-pdf.service.d.ts +228 -0
  178. package/dist/{services → sales/reports/pdf}/item-wise-sales-pdf.service.js +2 -3
  179. package/dist/sales/reports/pdf/manf-wise-sales-pdf.service.d.ts +228 -0
  180. package/dist/{services → sales/reports/pdf}/manf-wise-sales-pdf.service.js +2 -2
  181. package/dist/sales/reports/pdf/operator-wise-details-pdf.service.d.ts +228 -0
  182. package/dist/{services → sales/reports/pdf}/operator-wise-details-pdf.service.js +3 -3
  183. package/dist/sales/reports/pdf/operator-wise-summary-pdf.d.ts +228 -0
  184. package/dist/{services → sales/reports/pdf}/operator-wise-summary-pdf.js +2 -2
  185. package/dist/sales/reports/pdf/sales-by-service-pdf.service.d.ts +228 -0
  186. package/dist/{services → sales/reports/pdf}/sales-by-service-pdf.service.js +2 -2
  187. package/dist/sales/reports/pdf/scheduled-drug-pdf.service.d.ts +228 -0
  188. package/dist/{services → sales/reports/pdf}/scheduled-drug-pdf.service.js +3 -3
  189. package/dist/sales/reports/pdf/scheduled-drug-summary-pdf.service.d.ts +228 -0
  190. package/dist/{services → sales/reports/pdf}/scheduled-drug-summary-pdf.service.js +2 -2
  191. package/dist/sales/sales/equipment-design-pdf.service.d.ts +121 -0
  192. package/dist/{services → sales/sales}/equipment-design-pdf.service.js +3 -3
  193. package/dist/sales/sales/pack-ship-pdf.service.d.ts +262 -0
  194. package/dist/{services → sales/sales}/pack-ship-pdf.service.js +3 -3
  195. package/dist/sales/sales/pack-ship-print.service.d.ts +11 -0
  196. package/dist/{services → sales/sales}/pack-ship-print.service.js +3 -3
  197. package/dist/sales/sales/sales-pdf.service.d.ts +275 -0
  198. package/dist/{services → sales/sales}/sales-pdf.service.js +3 -3
  199. package/dist/sales/sales/sales-print.service.d.ts +15 -0
  200. package/dist/{services → sales/sales}/sales-print.service.js +6 -6
  201. package/dist/sales/sales/sales-totals.service.d.ts +27 -0
  202. package/dist/{services → sales/sales}/sales-totals.service.js +2 -2
  203. package/dist/services/checklist-pdf.d.ts +57 -0
  204. package/dist/services/checklist-pdf.js +2 -2
  205. package/dist/services/checklists-pdf.d.ts +12 -0
  206. package/dist/services/checklists-pdf.js +1 -1
  207. package/dist/services/est.print-service.d.ts +64 -0
  208. package/dist/services/est.print-service.js +1 -1
  209. package/dist/services/next-service-date-pdf.service.d.ts +228 -0
  210. package/dist/services/next-service-date-pdf.service.js +1 -1
  211. package/dist/services/reports/insurance-expire-pdf.service.d.ts +227 -0
  212. package/dist/services/{insurance-expire-pdf.service.js → reports/insurance-expire-pdf.service.js} +2 -2
  213. package/dist/services/reports/repair-orders-pdf.service.d.ts +229 -0
  214. package/dist/services/{repair-orders-pdf.service.js → reports/repair-orders-pdf.service.js} +3 -3
  215. package/dist/services/ro-pdf.service.d.ts +1060 -0
  216. package/dist/services/ro-pdf.service.js +2 -2
  217. package/dist/services/ro-print-service.d.ts +45 -0
  218. package/dist/services/ro-print-service.js +1 -1
  219. package/dist/services/ro-totals.service.d.ts +65 -0
  220. package/dist/services/separate-wo-print.service.d.ts +494 -0
  221. package/dist/services/separate-wo-print.service.js +1 -1
  222. package/dist/services/shared-inv-pdf.service.d.ts +303 -0
  223. package/dist/services/shared-inv-pdf.service.js +2 -2
  224. package/dist/services/technician-pdf.service.d.ts +221 -0
  225. package/dist/services/technician-pdf.service.js +1 -1
  226. package/dist/services/technician-print.service.d.ts +5 -0
  227. package/dist/services/technician-print.service.js +1 -1
  228. package/dist/shared/math-operations.d.ts +53 -0
  229. package/dist/shared/shared-services/shared-pdf.service.d.ts +926 -0
  230. package/dist/{services → shared/shared-services}/shared-pdf.service.js +3 -3
  231. package/dist/shared/shared-services/shared-print.service.d.ts +49 -0
  232. package/dist/{services → shared/shared-services}/shared-print.service.js +2 -2
  233. package/dist/shared/util.d.ts +3 -0
  234. package/dist/tasks/meetings/meeting-pdf.d.ts +107 -0
  235. package/dist/{services → tasks/meetings}/meeting-pdf.js +3 -3
  236. package/dist/tasks/tasks/task-pdf.service.d.ts +127 -0
  237. package/dist/{services → tasks/tasks}/task-pdf.service.js +4 -4
  238. package/dist/tasks/tasks/task-reports-pdf.service.d.ts +94 -0
  239. package/dist/{services → tasks/tasks}/task-reports-pdf.service.js +4 -4
  240. package/dist/utils/my-date.d.ts +104 -0
  241. package/dist/utils/tr-utils.d.ts +40 -0
  242. package/dist/utils/tr-utils.js +0 -4
  243. package/package.json +1 -1
  244. package/tsconfig.json +1 -0
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreditNoteTotalsService = void 0;
4
- const aggregation_1 = require("../aggregation/aggregation");
5
- const tr_utils_1 = require("../utils/tr-utils");
4
+ const tr_utils_1 = require("../../utils/tr-utils");
5
+ const aggregation_1 = require("../../aggregation/aggregation");
6
6
  class CreditNoteTotalsService {
7
7
  static GetTotalsValue(opCodesList, PartsList, IsIndependentTax, DetailedInfo, Disc, Perc, TaxCodes, WithItems, Settings) {
8
8
  // LPerc = TrUtils.SetPercToStringIfNull(LPerc);
@@ -0,0 +1,331 @@
1
+ export declare class DebitNotePdfService {
2
+ FontSize: number;
3
+ static GetInvoicePrint(ROPrintData: any, win: any, moreDiscDetails: boolean): {
4
+ info: {
5
+ title: string;
6
+ };
7
+ background: (currentPage: any, pageSize: any) => any;
8
+ header: (currentPage: any, pageCount: any) => {
9
+ text: string;
10
+ alignment: string;
11
+ marginRight: number;
12
+ fontSize: number;
13
+ marginTop: number;
14
+ };
15
+ pageMargins: number[];
16
+ content: any[];
17
+ styles: {
18
+ temp2header: {
19
+ fontSize: number;
20
+ bold: boolean;
21
+ alignment: string;
22
+ };
23
+ tableheader1: {
24
+ bold: boolean;
25
+ fontFamily: string;
26
+ margin: number[];
27
+ alignment: string;
28
+ };
29
+ header: {
30
+ fontSize: number;
31
+ bold: boolean;
32
+ alignment: string;
33
+ };
34
+ meetingHeader: {
35
+ fontSize: number;
36
+ bold: boolean;
37
+ };
38
+ Receiptheader: {
39
+ fontSize: number;
40
+ bold: boolean;
41
+ alignment: string;
42
+ margin: number[];
43
+ };
44
+ InlineHeader: {
45
+ fontSize: number;
46
+ bold: boolean;
47
+ alignment: string;
48
+ margin: number[];
49
+ };
50
+ TaskHeading: {
51
+ fontSize: number;
52
+ bold: boolean;
53
+ margin: number[];
54
+ };
55
+ lettersSize: {
56
+ fontSize: number;
57
+ margin: number[];
58
+ };
59
+ tablexample: {
60
+ margin: number[];
61
+ };
62
+ hedstyl: {
63
+ margin: number[];
64
+ };
65
+ header2: {
66
+ fontSize: number;
67
+ bold: boolean;
68
+ alignment: string;
69
+ margin: number[];
70
+ };
71
+ header1: {
72
+ fontSize: number;
73
+ bold: boolean;
74
+ alignment: string;
75
+ decoration: string;
76
+ margin: number[];
77
+ };
78
+ ws_adrs_center: {
79
+ fontSize: number;
80
+ alignment: string;
81
+ };
82
+ ws_adrs_center1: {
83
+ fontSize: number;
84
+ alignment: string;
85
+ };
86
+ ws_adrs_left: {
87
+ fontSize: number;
88
+ alignment: string;
89
+ };
90
+ ws_adrs_left1: {
91
+ fontSize: number;
92
+ alignment: string;
93
+ };
94
+ columnheader: {
95
+ margin: number[];
96
+ };
97
+ tableExample: {
98
+ margin: number[];
99
+ fontSize: number;
100
+ };
101
+ tableExamplemargin: {
102
+ margin: number[];
103
+ fontSize: number;
104
+ };
105
+ textcust: {
106
+ fontSize: number;
107
+ margin: number[];
108
+ };
109
+ column: {
110
+ margin: number[];
111
+ };
112
+ tableheader: {
113
+ bold: boolean;
114
+ fontSize: number;
115
+ margin: number[];
116
+ alignment: string;
117
+ };
118
+ tableheader2: {
119
+ fontSize: number;
120
+ margin: number[];
121
+ alignment: string;
122
+ opacity: number;
123
+ };
124
+ hed: {
125
+ fontSize: number;
126
+ bold: boolean;
127
+ };
128
+ hed2: {
129
+ fontSize: number;
130
+ };
131
+ TotalsStyles: {
132
+ marginTop: number;
133
+ lineHeight: number;
134
+ fontSize: number;
135
+ margin: number[];
136
+ };
137
+ colum1: {
138
+ fontSize: number;
139
+ lineHeight: number;
140
+ };
141
+ colum2: {
142
+ fontSize: number;
143
+ lineHeight: number;
144
+ margin: number[];
145
+ };
146
+ colum3: {
147
+ lineHeight: number;
148
+ };
149
+ Receiptheader1: {
150
+ fontSize: number;
151
+ bold: boolean;
152
+ alignment: string;
153
+ margin: number[];
154
+ };
155
+ Row1: {
156
+ fontSize: number;
157
+ margin: number[];
158
+ };
159
+ rowdata: {
160
+ margin: number[];
161
+ fontSize: number;
162
+ };
163
+ forCompany: {
164
+ margin: number[];
165
+ fontSize: string;
166
+ };
167
+ forCompany1: {
168
+ margin: number[];
169
+ fontSize: string;
170
+ };
171
+ Rupees: {
172
+ margin: number[];
173
+ fontSize: string;
174
+ };
175
+ Signature: {
176
+ margin: number[];
177
+ alignment: string;
178
+ fontSize: string;
179
+ };
180
+ withApp: {
181
+ alignment: string;
182
+ lineHeight: number;
183
+ };
184
+ withOutApp: {
185
+ alignment: string;
186
+ lineHeight: number;
187
+ };
188
+ Sign: {
189
+ fontSize: number;
190
+ margin: number[];
191
+ };
192
+ Sign1: {
193
+ fontSize: number;
194
+ margin: number[];
195
+ };
196
+ 'margin-all': {
197
+ margin: number[];
198
+ };
199
+ 'margin-top': {
200
+ margin: number[];
201
+ };
202
+ 'margin-bottom': {
203
+ margin: number[];
204
+ };
205
+ fontSize: {
206
+ fontSize: number;
207
+ };
208
+ };
209
+ };
210
+ static GetFileName(ROPrintData: any): string;
211
+ static CommonHeaderDetails(ROPrintData: any): ({
212
+ canvas: {
213
+ type: string;
214
+ lineColor: string;
215
+ x1: number;
216
+ y1: number;
217
+ x2: number;
218
+ y2: number;
219
+ lineWidth: number;
220
+ }[];
221
+ } | {
222
+ style: string;
223
+ marginLeft: number;
224
+ columns: ({
225
+ stack: any[];
226
+ width: number;
227
+ marginLeft: number;
228
+ } | {
229
+ stack: any[];
230
+ width: number;
231
+ marginRight: number;
232
+ text?: undefined;
233
+ } | {
234
+ text: string;
235
+ width: number;
236
+ stack?: undefined;
237
+ marginRight?: undefined;
238
+ } | {
239
+ stack: {
240
+ lineHeight: number;
241
+ fontSize: number;
242
+ table: {
243
+ body: any;
244
+ };
245
+ layout: string;
246
+ }[];
247
+ width: number;
248
+ })[];
249
+ } | {
250
+ text: string;
251
+ fontSize: number;
252
+ bold: boolean;
253
+ margin: number[];
254
+ } | ({
255
+ columns: any;
256
+ } | {
257
+ canvas: {
258
+ type: string;
259
+ lineColor: string;
260
+ x1: number;
261
+ y1: number;
262
+ x2: number;
263
+ y2: number;
264
+ lineWidth: number;
265
+ }[];
266
+ })[])[];
267
+ static GetMainHeaderDetails(Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any): ({
268
+ columns: any;
269
+ } | {
270
+ canvas: {
271
+ type: string;
272
+ lineColor: string;
273
+ x1: number;
274
+ y1: number;
275
+ x2: number;
276
+ y2: number;
277
+ lineWidth: number;
278
+ }[];
279
+ })[];
280
+ static PreparesparePartsTable(ROPrintData: any): any;
281
+ static WithOutDiscountFieldTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
282
+ static BuildTableBodyForLaborAndParts(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
283
+ static GetWithOutDiscountFieldHeader(permission: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
284
+ static GetWithOutDiscountFieldHeader1(permission: any, Body: any, ShowIGST: any, ShowDiscountColumn: any): any;
285
+ static GetWithOutDiscountFieldHeader2(permission: any, Body: any, ShowDiscountColumn: any): any;
286
+ static GetWithOutDiscAndTaxFieldHeader(Parts: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
287
+ static TaxTableWidths(PrintPartNo: any, ShowIGST: any, ShowDiscountColumn: any): (string | number)[];
288
+ static TaxDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): {
289
+ style: string;
290
+ table: {
291
+ widths: (string | number)[];
292
+ body: any;
293
+ };
294
+ layout: {
295
+ hLineWidth: (i: any, node: any) => number;
296
+ vLineWidth: (i: any, node: any) => number;
297
+ hLineColor: (i: any, node: any) => string;
298
+ vLineColor: (i: any, node: any) => string;
299
+ };
300
+ };
301
+ static ConsolidateDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): {
302
+ style: string;
303
+ table: {
304
+ widths: number[];
305
+ body: any;
306
+ };
307
+ layout: {
308
+ hLineWidth: (i: any, node: any) => number;
309
+ vLineWidth: (i: any, node: any) => number;
310
+ hLineColor: (i: any, node: any) => string;
311
+ vLineColor: (i: any, node: any) => string;
312
+ };
313
+ };
314
+ static WidthForInsuranceOrNot(ShowDiscountColumn: any, PrintPartNo: boolean): number[];
315
+ static NoTaxDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): {
316
+ style: string;
317
+ table: {
318
+ widths: number[];
319
+ body: any;
320
+ };
321
+ layout: {
322
+ hLineWidth: (i: any, node: any) => number;
323
+ vLineWidth: (i: any, node: any) => number;
324
+ hLineColor: (i: any, node: any) => string;
325
+ vLineColor: (i: any, node: any) => string;
326
+ };
327
+ };
328
+ static buildTableForCustomerLabor(Parts: any, PrintPartNo: any, customerorInsurance: any): any;
329
+ static getSummaryHeaders(permission: boolean): any;
330
+ static CommonTotalDetails(ROPrintData: any, moreDiscDetails: boolean): any[];
331
+ }
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DebitNotePdfService = void 0;
4
- const tr_utils_1 = require("../utils/tr-utils");
5
- const shared_pdf_service_1 = require("./shared-pdf.service");
6
- const shared_print_service_1 = require("./shared-print.service");
4
+ const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
5
+ const tr_utils_1 = require("../../utils/tr-utils");
6
+ const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
7
7
  class DebitNotePdfService {
8
8
  constructor() {
9
9
  this.FontSize = 8;
@@ -0,0 +1,14 @@
1
+ export declare class DebitNotePrintService {
2
+ static GetDebitNotePrintInfo(OriginalInvoiceData: any, OriginalEntityData: any, image: any, IncludeGST: boolean, ConsolidateGST: boolean, TaxCodes: any, IsProforma: boolean, IsCustBillTo: boolean): any;
3
+ static GetPrintConditionsBasedOnInput(InvoicePrintData: any, IncludeGST: boolean, ConsolidateGST: boolean, SType: any, OriginalInvoiceData: any, IsProforma: boolean, IsBillTo: boolean): any;
4
+ static GetInvoiceTypeHeading(InvoicePrintData: any, OriginalInvoiceData: any, IncludeGST: boolean, ConsolidateGST: boolean, IsProforma: boolean, IsBillTo: boolean): any;
5
+ static GetInvoiceOtherDetailsForPrint(InvoicePrintData: any, OriginalInvoiceData: any, IsCustBillTo: boolean): any;
6
+ static GetItemsPrintInfo(Items: any, Consolidate: boolean, TaxCodes: any, LineTotal: string): any;
7
+ static ReverseItemsForInvoicePrint(argInvoiceData: any): any;
8
+ static PrepareFormatForInvoicePrint(InvoicePrintData: any, ROType: any, InvoiceStatus: any): any[];
9
+ static GetFormattedProductDataForPrint(OriginalInvoiceData: any, InvoicePrintData: any): any;
10
+ static GetBillNameForInvoicePrint(OriginalInvoiceData: any, InvoicePrintData: any, IsBillTo: boolean): any;
11
+ static GetCustomerDetails(OriginalInvoiceData: any): any;
12
+ static GetBillToName(Title: any, Name: string): string;
13
+ static GetPaymentsTotal(InvoicePayments: any, Total: number, InvoiceStatus: string): any;
14
+ }
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DebitNotePrintService = void 0;
4
- const shared_print_service_1 = require("./shared-print.service");
4
+ const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
5
5
  const debit_note_totals_service_1 = require("./debit-note-totals.service");
6
- const code_enums_1 = require("../enums/code-enums");
7
- const tr_utils_1 = require("../utils/tr-utils");
8
- const enums_1 = require("../enums/enums");
9
- const my_date_1 = require("../utils/my-date");
10
- const aggregation_1 = require("../aggregation/aggregation");
6
+ const code_enums_1 = require("../../enums/code-enums");
7
+ const tr_utils_1 = require("../../utils/tr-utils");
8
+ const enums_1 = require("../../enums/enums");
9
+ const my_date_1 = require("../../utils/my-date");
10
+ const aggregation_1 = require("../../aggregation/aggregation");
11
11
  class DebitNotePrintService {
12
12
  static GetDebitNotePrintInfo(OriginalInvoiceData, OriginalEntityData, image, IncludeGST, ConsolidateGST, TaxCodes, IsProforma, IsCustBillTo) {
13
13
  var _a, _b;
@@ -0,0 +1,22 @@
1
+ export declare class DebitNoteTotalsService {
2
+ static GetTotalsValue(PartsList: any, IsIndependentTax: boolean, DetailedInfo: boolean, Disc: any, Perc: string, TaxCodes: any, WithItems: boolean, Settings: any): any;
3
+ static CalculateLaborPartValues(PartsList: any, IsIndependentTax: boolean): any;
4
+ static ResetLaborPartValues(PartsList: any, IsIndependentTax: boolean): any;
5
+ static ResetLaborPartValueIfInvalid(Part: any): any;
6
+ static GetFinalRODataForSave(PartsList: any, IsIndependentTax: boolean, Disc: any, Perc: string, DetailedInfo: boolean, Settings: any): any;
7
+ static SetMainDiscountValues(Disc: string, Perc: string, finalTotalsData: any, DetailedInfo: boolean): any;
8
+ static GetFinalCustomerTotalsData(finalTotalsData: any, PartsList: any, IsIndependentTax: boolean, DetailedInfo: boolean): any;
9
+ static GetSubTotalFor(PartsList: any): any;
10
+ static GetPartsTotalAfterDiscount(PartsList: any): any;
11
+ static GetDetailedTotalsData(finalTotalsData: any, IsIndependentTax: boolean, PartsList: any, TaxCodes: any): any;
12
+ static GetPartDiscountedTotal(PartsList: any, isTaxable: boolean, finalTotalsData: any): any;
13
+ static GetPartsTaxTotalFor(PartsList: any, IsIndependentTax: boolean): any;
14
+ static GetCustomerTotalBasedOnTaxType(finalTotalsData: any, PartsTaxAmount: number, PartsList: any, IsIndependentTax: boolean): any;
15
+ static ItemsTotalAfterDiscount(PartsTotalAfterDisc: number, PartsTaxAmount: number, MainPDisc: number, PDiscInPerc: string): number;
16
+ static GetPartGSTTaxTotal(PartsList: any, IsIndependentTax: boolean): number[];
17
+ static GetTaxGroupingForPartsByHSN(Parts: any, TaxCodes: any): any[];
18
+ static GetCombinedTaxPercentage(Parts: any, TaxCodes: any): any;
19
+ static ComparePartsByHSN(Parts: any, TaxCodes: any): any[];
20
+ static GetTaxGroupingInfoByHSN(FinalMatchedParts: any, TaxCodes: any): any[];
21
+ static GetGSTValueBasedOnTaxCode(TCode: any, TaxCodes: any): any[];
22
+ }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DebitNoteTotalsService = void 0;
4
- const aggregation_1 = require("../aggregation/aggregation");
5
- const tr_utils_1 = require("../utils/tr-utils");
4
+ const aggregation_1 = require("../../aggregation/aggregation");
5
+ const tr_utils_1 = require("../../utils/tr-utils");
6
6
  class DebitNoteTotalsService {
7
7
  static GetTotalsValue(PartsList, IsIndependentTax, DetailedInfo, Disc, Perc, TaxCodes, WithItems, Settings) {
8
8
  // LPerc = TrUtils.SetPercToStringIfNull(LPerc);