shareneus 1.4.35 → 1.4.37

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 (263) 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 +26 -26
  3. package/dist/accounting/counter-sales/pos-receipt-pdf.d.ts +156 -0
  4. package/dist/{services → accounting/counter-sales}/pos-receipt-pdf.js +20 -20
  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 +28 -27
  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 +67 -67
  9. package/dist/accounting/credit-note/cn-print.service.d.ts +14 -0
  10. package/dist/{services → accounting/credit-note}/cn-print.service.js +37 -37
  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 +18 -18
  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 +32 -32
  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 +16 -16
  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 +37 -37
  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 +29 -29
  21. package/dist/accounting/invoice/hc-inv-pdf.service.d.ts +357 -0
  22. package/dist/{services → accounting/invoice}/hc-inv-pdf.service.js +44 -44
  23. package/dist/accounting/invoice/inv-pdf.service.d.ts +314 -0
  24. package/dist/{services → accounting/invoice}/inv-pdf.service.js +56 -56
  25. package/dist/accounting/invoice/inv-print.service.d.ts +16 -0
  26. package/dist/{services → accounting/invoice}/inv-print.service.js +63 -63
  27. package/dist/accounting/invoice/invoice-landscape-pdf.service.d.ts +416 -0
  28. package/dist/{services → accounting/invoice}/invoice-landscape-pdf.service.js +31 -31
  29. package/dist/accounting/invoice/invoice-letterhead-pdf.service.d.ts +323 -0
  30. package/dist/{services → accounting/invoice}/invoice-letterhead-pdf.service.js +56 -56
  31. package/dist/accounting/invoice/invoice-portrait-pdf.d.ts +275 -0
  32. package/dist/{services → accounting/invoice}/invoice-portrait-pdf.js +53 -53
  33. package/dist/accounting/invoice/invoice-total.service.d.ts +43 -0
  34. package/dist/{services → accounting/invoice}/invoice-total.service.js +79 -79
  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 +5 -5
  39. package/dist/accounting/payment-receive/receipt-print.service.d.ts +4 -0
  40. package/dist/{services → accounting/payment-receive}/receipt-print.service.js +6 -6
  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 +8 -8
  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 +4 -4
  45. package/dist/aggregation/aggregation.d.ts +4 -0
  46. package/dist/aggregation/aggregation.js +13 -13
  47. package/dist/appointments/appointments/appointment-total.service.d.ts +25 -0
  48. package/dist/{services → appointments/appointments}/appointment-total.service.js +38 -38
  49. package/dist/appointments/consultations/consultation-fee-receipt.service.d.ts +318 -0
  50. package/dist/{services → appointments/consultations}/consultation-fee-receipt.service.js +17 -17
  51. package/dist/appointments/consultations/consultation-full-pdf.service.d.ts +207 -0
  52. package/dist/{services → appointments/consultations}/consultation-full-pdf.service.js +11 -11
  53. package/dist/appointments/consultations/consultation-letterhead-pdf.service.d.ts +266 -0
  54. package/dist/{services → appointments/consultations}/consultation-letterhead-pdf.service.js +16 -16
  55. package/dist/appointments/consultations/consultation-pdf.service.d.ts +306 -0
  56. package/dist/{services → appointments/consultations}/consultation-pdf.service.js +16 -16
  57. package/dist/enums/cache-enums.d.ts +33 -0
  58. package/dist/enums/code-enums.d.ts +266 -0
  59. package/dist/enums/enums.d.ts +329 -0
  60. package/dist/enums/industry-enums.d.ts +16 -0
  61. package/dist/excel-files/cust-balance-excel.service.d.ts +26 -0
  62. package/dist/excel-files/cust-balance-excel.service.js +5 -5
  63. package/dist/excel-files/expiring-drugs-excel.service.d.ts +24 -0
  64. package/dist/excel-files/expiring-drugs-excel.service.js +7 -7
  65. package/dist/excel-files/insurance-expire-excel.service.d.ts +23 -0
  66. package/dist/excel-files/insurance-expire-excel.service.js +4 -4
  67. package/dist/excel-files/invoice-wise-excel.service.d.ts +26 -0
  68. package/dist/excel-files/invoice-wise-excel.service.js +3 -3
  69. package/dist/excel-files/next-service-date-excel.service.d.ts +25 -0
  70. package/dist/excel-files/next-service-date-excel.service.js +5 -5
  71. package/dist/excel-files/payment-receive-excel.service.d.ts +25 -0
  72. package/dist/excel-files/payment-receive-excel.service.js +6 -6
  73. package/dist/excel-files/payments-made-excel.service.d.ts +25 -0
  74. package/dist/excel-files/payments-made-excel.service.js +6 -6
  75. package/dist/excel-files/repair-orders-excel.service.d.ts +24 -0
  76. package/dist/excel-files/repair-orders-excel.service.js +10 -10
  77. package/dist/excel-files/sales-by-service-details-excel.service.d.ts +0 -0
  78. package/dist/excel-files/sales-by-service-summary-excel.service.d.ts +24 -0
  79. package/dist/excel-files/sales-by-service-summary-excel.service.js +14 -14
  80. package/dist/excel-files/scheduled-drug-summary-excel.service.d.ts +24 -0
  81. package/dist/excel-files/scheduled-drug-summary-excel.service.js +8 -8
  82. package/dist/excel-files/scheduled-drugs-excel.service.d.ts +24 -0
  83. package/dist/excel-files/scheduled-drugs-excel.service.js +10 -10
  84. package/dist/excel-files/spares-issue-excel.service.d.ts +26 -0
  85. package/dist/excel-files/spares-issue-excel.service.js +14 -14
  86. package/dist/excel-files/stock-excel.service.d.ts +23 -0
  87. package/dist/excel-files/stock-excel.service.js +3 -3
  88. package/dist/excel-files/ven-balance-excel.service.d.ts +27 -0
  89. package/dist/excel-files/ven-balance-excel.service.js +3 -3
  90. package/dist/gst/excel/GSTR-RO-excel.service.d.ts +27 -0
  91. package/dist/{excel-files → gst/excel}/GSTR-RO-excel.service.js +3 -3
  92. package/dist/gst/excel/GSTR1-excel.service.d.ts +16 -0
  93. package/dist/{excel-files → gst/excel}/GSTR1-excel.service.js +7 -7
  94. package/dist/gst/excel/GSTR2-excel.service.d.ts +16 -0
  95. package/dist/{excel-files → gst/excel}/GSTR2-excel.service.js +6 -6
  96. package/dist/gst/excel/tally-sales-import.service.d.ts +27 -0
  97. package/dist/{excel-files → gst/excel}/tally-sales-import.service.js +3 -3
  98. package/dist/index.d.ts +124 -0
  99. package/dist/index.js +102 -102
  100. package/dist/inventory/items/issue-parts-pdf.service.d.ts +303 -0
  101. package/dist/{services → inventory/items}/issue-parts-pdf.service.js +45 -45
  102. package/dist/inventory/items/item-bar-code-label-pdf.d.ts +127 -0
  103. package/dist/{services → inventory/items}/item-bar-code-label-pdf.js +3 -3
  104. package/dist/inventory/items/item-detais-pdf.d.ts +121 -0
  105. package/dist/{services → inventory/items}/item-detais-pdf.js +1 -1
  106. package/dist/inventory/items/item-price-for-pricelist.d.ts +1 -0
  107. package/dist/{services → inventory/items}/item-price-for-pricelist.js +44 -50
  108. package/dist/inventory/items/reports/excel/item-wise-mout-details.d.ts +23 -0
  109. package/dist/{excel-files → inventory/items/reports/excel}/item-wise-mout-details.js +4 -4
  110. package/dist/inventory/items/reports/excel/item-wise-mout-summary.d.ts +23 -0
  111. package/dist/{excel-files → inventory/items/reports/excel}/item-wise-mout-summary.js +4 -4
  112. package/dist/inventory/items/reports/pdf/expiring-drugs-pdf.service.d.ts +49 -0
  113. package/dist/{services → inventory/items/reports/pdf}/expiring-drugs-pdf.service.js +6 -6
  114. package/dist/inventory/items/reports/pdf/item-wise-mout-details-pdf.d.ts +229 -0
  115. package/dist/{services → inventory/items/reports/pdf}/item-wise-mout-details-pdf.js +4 -4
  116. package/dist/inventory/items/reports/pdf/item-wise-mout-summary-pdf.d.ts +228 -0
  117. package/dist/{services → inventory/items/reports/pdf}/item-wise-mout-summary-pdf.js +3 -3
  118. package/dist/inventory/items/reports/pdf/reorder-point-pdf.service.d.ts +48 -0
  119. package/dist/{services → inventory/items/reports/pdf}/reorder-point-pdf.service.js +3 -3
  120. package/dist/inventory/material-out/mout-pdf.service.d.ts +324 -0
  121. package/dist/{services → inventory/material-out}/mout-pdf.service.js +19 -19
  122. package/dist/inventory/transfer-order/transfer-order-pdf.service.d.ts +48 -0
  123. package/dist/{services → inventory/transfer-order}/transfer-order-pdf.service.js +2 -2
  124. package/dist/purchases/payment-made/reports/pdf/vendor-balances-pdf.service.d.ts +227 -0
  125. package/dist/{services → purchases/payment-made/reports/pdf}/vendor-balances-pdf.service.js +7 -7
  126. package/dist/purchases/purchase-order/po-totals.service.d.ts +24 -0
  127. package/dist/{services → purchases/purchase-order}/po-totals.service.js +29 -29
  128. package/dist/purchases/purchase-order/purchase-order-pdf.service.d.ts +526 -0
  129. package/dist/{services → purchases/purchase-order}/purchase-order-pdf.service.js +42 -42
  130. package/dist/purchases/purchase-order/purchase-order-print.service.d.ts +8 -0
  131. package/dist/{services → purchases/purchase-order}/purchase-order-print.service.js +46 -46
  132. package/dist/purchases/purchase-order/purchase-order-totals.service.d.ts +23 -0
  133. package/dist/{services → purchases/purchase-order}/purchase-order-totals.service.js +55 -55
  134. package/dist/purchases/vendor-credit-note/vendor-credit-note-pdf.service.d.ts +491 -0
  135. package/dist/{services → purchases/vendor-credit-note}/vendor-credit-note-pdf.service.js +29 -29
  136. package/dist/purchases/vendor-credit-note/vendor-credit-note-print.service.d.ts +6 -0
  137. package/dist/{services → purchases/vendor-credit-note}/vendor-credit-note-print.service.js +31 -31
  138. package/dist/purchases/vendor-credit-note/vendor-credit-note-totals.service.d.ts +24 -0
  139. package/dist/{services → purchases/vendor-credit-note}/vendor-credit-note-totals.service.js +38 -38
  140. package/dist/purchases/vendor-debit-note/vendor-debit-note-pdf.service.d.ts +271 -0
  141. package/dist/{services → purchases/vendor-debit-note}/vendor-debit-note-pdf.service.js +18 -18
  142. package/dist/purchases/vendor-debit-note/vendor-debit-note-print.service.d.ts +14 -0
  143. package/dist/{services → purchases/vendor-debit-note}/vendor-debit-note-print.service.js +34 -34
  144. package/dist/purchases/vendor-debit-note/vendor-debit-note-totals.service.d.ts +22 -0
  145. package/dist/{services → purchases/vendor-debit-note}/vendor-debit-note-totals.service.js +31 -31
  146. package/dist/sales/delivery-challan/dc-landscape-pdf.service.d.ts +416 -0
  147. package/dist/{services → sales/delivery-challan}/dc-landscape-pdf.service.js +30 -30
  148. package/dist/sales/delivery-challan/dc-landscape-without-price-pdf.service.d.ts +400 -0
  149. package/dist/{services → sales/delivery-challan}/dc-landscape-without-price-pdf.service.js +26 -26
  150. package/dist/sales/delivery-challan/dc-without-price-pdf.service.d.ts +271 -0
  151. package/dist/{services → sales/delivery-challan}/dc-without-price-pdf.service.js +17 -17
  152. package/dist/sales/delivery-challan/delivery-challan-pdf.service.d.ts +269 -0
  153. package/dist/{services → sales/delivery-challan}/delivery-challan-pdf.service.js +18 -18
  154. package/dist/sales/delivery-challan/delivery-challan-print.service.d.ts +12 -0
  155. package/dist/{services → sales/delivery-challan}/delivery-challan-print.service.js +30 -30
  156. package/dist/sales/delivery-challan/delivery-challan-totals.d.ts +27 -0
  157. package/dist/{services → sales/delivery-challan}/delivery-challan-totals.js +33 -33
  158. package/dist/sales/reports/excel/analysis-excel.service.d.ts +23 -0
  159. package/dist/{excel-files → sales/reports/excel}/analysis-excel.service.js +4 -4
  160. package/dist/sales/reports/excel/category-wise-item-excel.service.d.ts +23 -0
  161. package/dist/{excel-files → sales/reports/excel}/category-wise-item-excel.service.js +10 -10
  162. package/dist/sales/reports/excel/cust-wise-sales-details.d.ts +25 -0
  163. package/dist/{excel-files → sales/reports/excel}/cust-wise-sales-details.js +5 -5
  164. package/dist/sales/reports/excel/cust-wise-sales-summary-excel.service.d.ts +24 -0
  165. package/dist/{excel-files → sales/reports/excel}/cust-wise-sales-summary-excel.service.js +5 -5
  166. package/dist/sales/reports/excel/item-wise-doctor-sale-excel.service.d.ts +24 -0
  167. package/dist/{excel-files → sales/reports/excel}/item-wise-doctor-sale-excel.service.js +7 -7
  168. package/dist/sales/reports/excel/items-wise-sales-excel.service.d.ts +24 -0
  169. package/dist/{excel-files → sales/reports/excel}/items-wise-sales-excel.service.js +10 -10
  170. package/dist/sales/reports/excel/manf-wise-sales-excel.service.d.ts +24 -0
  171. package/dist/{excel-files → sales/reports/excel}/manf-wise-sales-excel.service.js +4 -4
  172. package/dist/sales/reports/excel/operator-wise-details.d.ts +23 -0
  173. package/dist/{excel-files → sales/reports/excel}/operator-wise-details.js +4 -4
  174. package/dist/sales/reports/excel/operator-wise-summary.d.ts +23 -0
  175. package/dist/{excel-files → sales/reports/excel}/operator-wise-summary.js +4 -4
  176. package/dist/sales/reports/excel/sa-wise-labor-sales-excel.service.d.ts +23 -0
  177. package/dist/{excel-files → sales/reports/excel}/sa-wise-labor-sales-excel.service.js +6 -6
  178. package/dist/sales/reports/excel/sa-wise-part-sales-excel.service.d.ts +23 -0
  179. package/dist/{excel-files → sales/reports/excel}/sa-wise-part-sales-excel.service.js +6 -6
  180. package/dist/sales/reports/excel/sale-summary-excel.service.d.ts +25 -0
  181. package/dist/{excel-files → sales/reports/excel}/sale-summary-excel.service.js +3 -3
  182. package/dist/sales/reports/pdf/analysis-pdf.service.d.ts +228 -0
  183. package/dist/{services → sales/reports/pdf}/analysis-pdf.service.js +9 -9
  184. package/dist/sales/reports/pdf/category-wise-item-pdf.service.d.ts +228 -0
  185. package/dist/{services → sales/reports/pdf}/category-wise-item-pdf.service.js +7 -7
  186. package/dist/sales/reports/pdf/cust-wise-sales-details-pdf.service.d.ts +228 -0
  187. package/dist/{services → sales/reports/pdf}/cust-wise-sales-details-pdf.service.js +9 -9
  188. package/dist/sales/reports/pdf/cust-wise-sales-summary-pdf.service.d.ts +228 -0
  189. package/dist/{services → sales/reports/pdf}/cust-wise-sales-summary-pdf.service.js +8 -9
  190. package/dist/sales/reports/pdf/item-wise-doctor-sale-pdf.service.d.ts +228 -0
  191. package/dist/{services → sales/reports/pdf}/item-wise-doctor-sale-pdf.service.js +4 -4
  192. package/dist/sales/reports/pdf/item-wise-sales-pdf.service.d.ts +228 -0
  193. package/dist/{services → sales/reports/pdf}/item-wise-sales-pdf.service.js +7 -8
  194. package/dist/sales/reports/pdf/manf-wise-sales-pdf.service.d.ts +228 -0
  195. package/dist/{services → sales/reports/pdf}/manf-wise-sales-pdf.service.js +6 -6
  196. package/dist/sales/reports/pdf/operator-wise-details-pdf.service.d.ts +228 -0
  197. package/dist/{services → sales/reports/pdf}/operator-wise-details-pdf.service.js +9 -9
  198. package/dist/sales/reports/pdf/operator-wise-summary-pdf.d.ts +228 -0
  199. package/dist/{services → sales/reports/pdf}/operator-wise-summary-pdf.js +8 -8
  200. package/dist/sales/reports/pdf/sales-by-service-pdf.service.d.ts +228 -0
  201. package/dist/{services → sales/reports/pdf}/sales-by-service-pdf.service.js +7 -7
  202. package/dist/sales/reports/pdf/scheduled-drug-pdf.service.d.ts +228 -0
  203. package/dist/{services → sales/reports/pdf}/scheduled-drug-pdf.service.js +8 -8
  204. package/dist/sales/reports/pdf/scheduled-drug-summary-pdf.service.d.ts +228 -0
  205. package/dist/{services → sales/reports/pdf}/scheduled-drug-summary-pdf.service.js +5 -5
  206. package/dist/sales/sales/equipment-design-pdf.service.d.ts +121 -0
  207. package/dist/{services → sales/sales}/equipment-design-pdf.service.js +12 -12
  208. package/dist/sales/sales/pack-ship-pdf.service.d.ts +262 -0
  209. package/dist/{services → sales/sales}/pack-ship-pdf.service.js +5 -5
  210. package/dist/sales/sales/pack-ship-print.service.d.ts +11 -0
  211. package/dist/{services → sales/sales}/pack-ship-print.service.js +27 -27
  212. package/dist/sales/sales/sales-pdf.service.d.ts +275 -0
  213. package/dist/{services → sales/sales}/sales-pdf.service.js +25 -25
  214. package/dist/sales/sales/sales-print.service.d.ts +15 -0
  215. package/dist/{services → sales/sales}/sales-print.service.js +58 -58
  216. package/dist/sales/sales/sales-totals.service.d.ts +27 -0
  217. package/dist/{services → sales/sales}/sales-totals.service.js +34 -34
  218. package/dist/services/checklist-pdf.d.ts +57 -0
  219. package/dist/services/checklist-pdf.js +5 -5
  220. package/dist/services/checklists-pdf.d.ts +12 -0
  221. package/dist/services/checklists-pdf.js +1 -1
  222. package/dist/services/est.print-service.d.ts +64 -0
  223. package/dist/services/est.print-service.js +151 -151
  224. package/dist/services/next-service-date-pdf.service.d.ts +228 -0
  225. package/dist/services/next-service-date-pdf.service.js +2 -2
  226. package/dist/services/reports/insurance-expire-pdf.service.d.ts +227 -0
  227. package/dist/services/{insurance-expire-pdf.service.js → reports/insurance-expire-pdf.service.js} +2 -2
  228. package/dist/services/reports/repair-orders-pdf.service.d.ts +229 -0
  229. package/dist/services/{repair-orders-pdf.service.js → reports/repair-orders-pdf.service.js} +4 -4
  230. package/dist/services/ro-pdf.service.d.ts +1060 -0
  231. package/dist/services/ro-pdf.service.js +82 -82
  232. package/dist/services/ro-print-service.d.ts +45 -0
  233. package/dist/services/ro-print-service.js +88 -88
  234. package/dist/services/ro-totals.service.d.ts +65 -0
  235. package/dist/services/ro-totals.service.js +123 -123
  236. package/dist/services/separate-wo-print.service.d.ts +494 -0
  237. package/dist/services/separate-wo-print.service.js +10 -10
  238. package/dist/services/shared-inv-pdf.service.d.ts +303 -0
  239. package/dist/services/shared-inv-pdf.service.js +46 -46
  240. package/dist/services/technician-pdf.service.d.ts +221 -0
  241. package/dist/services/technician-pdf.service.js +11 -11
  242. package/dist/services/technician-print.service.d.ts +5 -0
  243. package/dist/services/technician-print.service.js +10 -10
  244. package/dist/shared/math-operations.d.ts +53 -0
  245. package/dist/shared/math-operations.js +184 -0
  246. package/dist/shared/shared-services/shared-pdf.service.d.ts +926 -0
  247. package/dist/{services → shared/shared-services}/shared-pdf.service.js +120 -120
  248. package/dist/shared/shared-services/shared-print.service.d.ts +49 -0
  249. package/dist/{services → shared/shared-services}/shared-print.service.js +68 -68
  250. package/dist/shared/util.d.ts +3 -0
  251. package/dist/shared/util.js +15 -0
  252. package/dist/tasks/meetings/meeting-pdf.d.ts +107 -0
  253. package/dist/{services → tasks/meetings}/meeting-pdf.js +15 -15
  254. package/dist/tasks/tasks/task-pdf.service.d.ts +127 -0
  255. package/dist/{services → tasks/tasks}/task-pdf.service.js +12 -12
  256. package/dist/tasks/tasks/task-reports-pdf.service.d.ts +94 -0
  257. package/dist/{services → tasks/tasks}/task-reports-pdf.service.js +11 -11
  258. package/dist/utils/my-date.d.ts +104 -0
  259. package/dist/{shared → utils}/my-date.js +31 -31
  260. package/dist/utils/tr-utils.d.ts +41 -0
  261. package/dist/{shared/utils.js → utils/tr-utils.js} +0 -8
  262. package/package.json +2 -1
  263. package/tsconfig.json +1 -0
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HCInvoiceprintService = void 0;
4
- const utils_1 = require("../shared/utils");
5
- const shared_pdf_service_1 = require("./shared-pdf.service");
6
- const shared_print_service_1 = require("./shared-print.service");
4
+ const tr_utils_1 = require("../../utils/tr-utils");
5
+ const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
6
+ const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
7
7
  class HCInvoiceprintService {
8
8
  constructor() {
9
9
  this.FontSize = 8;
@@ -11,7 +11,7 @@ class HCInvoiceprintService {
11
11
  static GetInvoicePrint(ROPrintData, numberofCopies, isotherIndustry, withPass, isAuto, size, moreDiscDetails) {
12
12
  ROPrintData.Entity.IsProforma = ROPrintData.IsProforma;
13
13
  var contents = [];
14
- if (utils_1.TrUtils.IsNull(numberofCopies) || numberofCopies.length === 0) {
14
+ if (tr_utils_1.TrUtils.IsNull(numberofCopies) || numberofCopies.length === 0) {
15
15
  contents.push(this.CommonHeaderDetails(ROPrintData, null, isotherIndustry), this.PreparesparePartsTable(ROPrintData, isAuto), this.CommonTotalDetails(ROPrintData, null, numberofCopies, withPass, isAuto, moreDiscDetails));
16
16
  }
17
17
  else {
@@ -34,7 +34,7 @@ class HCInvoiceprintService {
34
34
  return { text: currentPage.toString() + ' of ' + pageCount, alignment: 'right', marginRight: 7, fontSize: 8, marginTop: 2 };
35
35
  },
36
36
  pageBreakBefore: function (currentNode, followingNodesOnPage, nodesOnNextPage, previousNodesOnPage) {
37
- return currentNode.startPosition.top >= 700 && !utils_1.TrUtils.IsNull(currentNode === null || currentNode === void 0 ? void 0 : currentNode.id) && (currentNode === null || currentNode === void 0 ? void 0 : currentNode.id) === '567';
37
+ return currentNode.startPosition.top >= 700 && !tr_utils_1.TrUtils.IsNull(currentNode === null || currentNode === void 0 ? void 0 : currentNode.id) && (currentNode === null || currentNode === void 0 ? void 0 : currentNode.id) === '567';
38
38
  },
39
39
  // pageMargins: [10, 15, 10, 15],
40
40
  pageMargins: this.GetMarginsBasedOnPaperSize(size),
@@ -62,7 +62,7 @@ class HCInvoiceprintService {
62
62
  }
63
63
  static GetFileName(ROPrintData) {
64
64
  let fileName = ROPrintData.HeaderName;
65
- if (!utils_1.TrUtils.IsNull(ROPrintData.Product) && !utils_1.TrUtils.IsEmpty(ROPrintData.Product.RegNo)) {
65
+ if (!tr_utils_1.TrUtils.IsNull(ROPrintData.Product) && !tr_utils_1.TrUtils.IsEmpty(ROPrintData.Product.RegNo)) {
66
66
  fileName = fileName + '-' + ROPrintData.Product.RegNo;
67
67
  }
68
68
  return fileName;
@@ -126,19 +126,19 @@ class HCInvoiceprintService {
126
126
  let List = [];
127
127
  if (ROPrintData.Entity.Body === 1) {
128
128
  for (let i = 0; i < ROPrintData.PrintInfo.length; i++) {
129
- if (utils_1.TrUtils.IsNull(ROPrintData.PrintInfo[i].Text)) {
129
+ if (tr_utils_1.TrUtils.IsNull(ROPrintData.PrintInfo[i].Text)) {
130
130
  ROPrintData.PrintInfo[i].Text = '';
131
131
  }
132
- List.push(ROPrintData.PrintInfo[i].Text, this.GetLaborPartsTableForView(utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Items), utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Ops), false));
132
+ List.push(ROPrintData.PrintInfo[i].Text, this.GetLaborPartsTableForView(tr_utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Items), tr_utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Ops), false));
133
133
  }
134
134
  }
135
135
  else {
136
136
  if (ROPrintData.Entity.Body === 2) {
137
137
  for (let i = 0; i < ROPrintData.PrintInfo.length; i++) {
138
- if (utils_1.TrUtils.IsNull(ROPrintData.PrintInfo[i].Text)) {
138
+ if (tr_utils_1.TrUtils.IsNull(ROPrintData.PrintInfo[i].Text)) {
139
139
  ROPrintData.PrintInfo[i].Text = '';
140
140
  }
141
- List.push(ROPrintData.PrintInfo[i].Text, this.WithOutDiscountFieldTable(utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Items), utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Ops), ROPrintData.ShowTaxColumn, false, ROPrintData.Entity.Body, ROPrintData.ShowIGST, ROPrintData.ConsolidateGST, ROPrintData.ShowDiscountColumn, isAuto));
141
+ List.push(ROPrintData.PrintInfo[i].Text, this.WithOutDiscountFieldTable(tr_utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Items), tr_utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Ops), ROPrintData.ShowTaxColumn, false, ROPrintData.Entity.Body, ROPrintData.ShowIGST, ROPrintData.ConsolidateGST, ROPrintData.ShowDiscountColumn, isAuto));
142
142
  }
143
143
  }
144
144
  else {
@@ -147,10 +147,10 @@ class HCInvoiceprintService {
147
147
  }
148
148
  else {
149
149
  for (let i = 0; i < ROPrintData.PrintInfo.length; i++) {
150
- if (utils_1.TrUtils.IsNull(ROPrintData.PrintInfo[i].Text)) {
150
+ if (tr_utils_1.TrUtils.IsNull(ROPrintData.PrintInfo[i].Text)) {
151
151
  ROPrintData.PrintInfo[i].Text = '';
152
152
  }
153
- List.push(ROPrintData.PrintInfo[i].Text, this.GetWithOutDiscAndTaxFieldHeader(utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Items), utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Ops), ROPrintData.ShowTaxColumn, false, ROPrintData.Entity.Body, ROPrintData.ShowIGST, ROPrintData.ConsolidateGST, ROPrintData.ShowDiscountColumn, isAuto));
153
+ List.push(ROPrintData.PrintInfo[i].Text, this.GetWithOutDiscAndTaxFieldHeader(tr_utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Items), tr_utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Ops), ROPrintData.ShowTaxColumn, false, ROPrintData.Entity.Body, ROPrintData.ShowIGST, ROPrintData.ConsolidateGST, ROPrintData.ShowDiscountColumn, isAuto));
154
154
  }
155
155
  }
156
156
  }
@@ -254,14 +254,14 @@ class HCInvoiceprintService {
254
254
  let dpartadding1 = {};
255
255
  dpartadding1.SNo = '';
256
256
  dpartadding1.Desc = 'Medications Total';
257
- dpartadding1.QtyAndUoM = utils_1.TrUtils.FixedTo(Qty);
257
+ dpartadding1.QtyAndUoM = tr_utils_1.TrUtils.FixedTo(Qty);
258
258
  dpartadding1.bold = true;
259
- dpartadding1.UnPr = utils_1.TrUtils.FixedTo(Taxable);
260
- dpartadding1.SGSTAmt = utils_1.TrUtils.FixedTo(SGSTAMT);
261
- dpartadding1.IGSTAmt = utils_1.TrUtils.FixedTo(IGSTAMT);
262
- dpartadding1.CGSTAmt = utils_1.TrUtils.FixedTo(CGSTAMT);
259
+ dpartadding1.UnPr = tr_utils_1.TrUtils.FixedTo(Taxable);
260
+ dpartadding1.SGSTAmt = tr_utils_1.TrUtils.FixedTo(SGSTAMT);
261
+ dpartadding1.IGSTAmt = tr_utils_1.TrUtils.FixedTo(IGSTAMT);
262
+ dpartadding1.CGSTAmt = tr_utils_1.TrUtils.FixedTo(CGSTAMT);
263
263
  dpartadding1.TCode = ShowTaxColumn ? 114 : undefined;
264
- dpartadding1.LineTotal = utils_1.TrUtils.FixPriceValue(FinalTotal);
264
+ dpartadding1.LineTotal = tr_utils_1.TrUtils.FixPriceValue(FinalTotal);
265
265
  Parts.push({ SNo: '' });
266
266
  Parts.push(dpartadding1);
267
267
  }
@@ -277,13 +277,13 @@ class HCInvoiceprintService {
277
277
  Parts.forEach((part) => {
278
278
  var dataRow = [];
279
279
  columns.forEach((column) => {
280
- if ((!utils_1.TrUtils.IsFixedZero(part[column.Field]) && !utils_1.TrUtils.IsNull(part[column.Field]))
280
+ if ((!tr_utils_1.TrUtils.IsFixedZero(part[column.Field]) && !tr_utils_1.TrUtils.IsNull(part[column.Field]))
281
281
  || (column.text === 'Line Total')) {
282
282
  // if (part[column.Field] === 'Medications') {
283
283
  // dataRow.push({ text: part[column.Field].toString(), marginLeft: 50, style: 'InlineHeader' });
284
284
  // } else {
285
285
  if (((column.Field === 'CGSTAmt' || column.Field === 'SGSTAmt' || column.Field === 'CGSTPerc' || column.Field === 'SGSTPerc' || column.Field === 'IGSTAmt' || column.Field === 'IGSTPerc')
286
- && utils_1.TrUtils.CheckInvalidSelect(part.TCode))) {
286
+ && tr_utils_1.TrUtils.CheckInvalidSelect(part.TCode))) {
287
287
  part[column.Field] = '';
288
288
  dataRow.push({ text: part[column.Field].toString(), alignment: 'center' });
289
289
  }
@@ -293,7 +293,7 @@ class HCInvoiceprintService {
293
293
  || column.Field === 'CGSTPerc' || column.Field === 'SGSTPerc' || column.Field === 'IGSTAmt' || column.Field === 'IGSTPerc') {
294
294
  if (column.Field === 'Disc') {
295
295
  if (column.type === 'percentage') {
296
- if (!utils_1.TrUtils.IsEmpty(part[column.Field])) {
296
+ if (!tr_utils_1.TrUtils.IsEmpty(part[column.Field])) {
297
297
  dataRow.push({ text: part[column.Field].toString(), noWrap: true });
298
298
  }
299
299
  else {
@@ -301,7 +301,7 @@ class HCInvoiceprintService {
301
301
  }
302
302
  }
303
303
  else {
304
- if (!utils_1.TrUtils.IsNull(part[column.Field])) {
304
+ if (!tr_utils_1.TrUtils.IsNull(part[column.Field])) {
305
305
  dataRow.push({ text: part[column.Field].toString(), noWrap: true });
306
306
  }
307
307
  else {
@@ -310,7 +310,7 @@ class HCInvoiceprintService {
310
310
  }
311
311
  }
312
312
  else {
313
- if (!utils_1.TrUtils.IsNull(part[column.Field])) {
313
+ if (!tr_utils_1.TrUtils.IsNull(part[column.Field])) {
314
314
  dataRow.push({ text: part[column.Field].toString(), bold: part.bold, alignment: 'right', nowrap: true });
315
315
  }
316
316
  else {
@@ -323,7 +323,7 @@ class HCInvoiceprintService {
323
323
  if (column.Field === 'Desc') {
324
324
  let DescData = [];
325
325
  DescData.push({ text: part[column.Field].toString(), bold: part.bold });
326
- if (!utils_1.TrUtils.IsEmpty(part['EDesc'])) {
326
+ if (!tr_utils_1.TrUtils.IsEmpty(part['EDesc'])) {
327
327
  DescData.push({ text: part['EDesc'].toString(), color: 'grey' });
328
328
  }
329
329
  dataRow.push({ stack: DescData });
@@ -341,7 +341,7 @@ class HCInvoiceprintService {
341
341
  SNo = SNo + 1;
342
342
  }
343
343
  else {
344
- if (utils_1.TrUtils.IsNull(part[column.Field])) {
344
+ if (tr_utils_1.TrUtils.IsNull(part[column.Field])) {
345
345
  part[column.Field] = '';
346
346
  }
347
347
  }
@@ -372,13 +372,13 @@ class HCInvoiceprintService {
372
372
  dpartadding1.SNo = '';
373
373
  dpartadding1.Desc = 'Procedures Total';
374
374
  // dpartadding1.QtyAndUoM = Qty;
375
- dpartadding1.UnPr = utils_1.TrUtils.FixedTo(Taxable);
376
- dpartadding1.SGSTAmt = utils_1.TrUtils.FixedTo(SGSTAMT);
377
- dpartadding1.IGSTAmt = utils_1.TrUtils.FixedTo(IGSTAMT);
378
- dpartadding1.CGSTAmt = utils_1.TrUtils.FixedTo(CGSTAMT);
375
+ dpartadding1.UnPr = tr_utils_1.TrUtils.FixedTo(Taxable);
376
+ dpartadding1.SGSTAmt = tr_utils_1.TrUtils.FixedTo(SGSTAMT);
377
+ dpartadding1.IGSTAmt = tr_utils_1.TrUtils.FixedTo(IGSTAMT);
378
+ dpartadding1.CGSTAmt = tr_utils_1.TrUtils.FixedTo(CGSTAMT);
379
379
  dpartadding1.TCode = ShowTaxColumn ? 114 : undefined;
380
380
  dpartadding1.bold = true;
381
- dpartadding1.LineTotal = utils_1.TrUtils.FixPriceValue(FinalTotal);
381
+ dpartadding1.LineTotal = tr_utils_1.TrUtils.FixPriceValue(FinalTotal);
382
382
  Labor.push({ SNo: '' });
383
383
  Labor.push(dpartadding1);
384
384
  }
@@ -399,14 +399,14 @@ class HCInvoiceprintService {
399
399
  Labor.forEach((Ops) => {
400
400
  var dataRow = [];
401
401
  columns.forEach((column) => {
402
- if ((!utils_1.TrUtils.IsFixedZero(Ops[column.Field]) && !utils_1.TrUtils.IsNull(Ops[column.Field]))
402
+ if ((!tr_utils_1.TrUtils.IsFixedZero(Ops[column.Field]) && !tr_utils_1.TrUtils.IsNull(Ops[column.Field]))
403
403
  || (column.text === 'Line Total')) {
404
404
  if (Ops[column.Field] === 'Procedures') {
405
405
  dataRow.push({ text: Ops[column.Field].toString(), marginLeft: 50, style: 'InlineHeader' });
406
406
  }
407
407
  else {
408
408
  if (((column.Field === 'CGSTAmt' || column.Field === 'SGSTAmt' || column.Field === 'CGSTPerc' || column.Field === 'SGSTPerc' || column.Field === 'IGSTAmt' || column.Field === 'IGSTPerc')
409
- && utils_1.TrUtils.CheckInvalidSelect(Ops.TCode))) {
409
+ && tr_utils_1.TrUtils.CheckInvalidSelect(Ops.TCode))) {
410
410
  Ops[column.Field] = '';
411
411
  dataRow.push({ text: Ops[column.Field].toString(), alignment: 'center' });
412
412
  }
@@ -416,7 +416,7 @@ class HCInvoiceprintService {
416
416
  || column.Field === 'CGSTPerc' || column.Field === 'SGSTPerc' || column.Field === 'IGSTAmt' || column.Field === 'IGSTPerc') {
417
417
  if (column.Field === 'Disc') {
418
418
  if (column.type === 'percentage') {
419
- if (!utils_1.TrUtils.IsEmpty(Ops[column.Field])) {
419
+ if (!tr_utils_1.TrUtils.IsEmpty(Ops[column.Field])) {
420
420
  dataRow.push({ text: Ops[column.Field].toString(), noWrap: true });
421
421
  }
422
422
  else {
@@ -424,7 +424,7 @@ class HCInvoiceprintService {
424
424
  }
425
425
  }
426
426
  else {
427
- if (!utils_1.TrUtils.IsNull(Ops[column.Field])) {
427
+ if (!tr_utils_1.TrUtils.IsNull(Ops[column.Field])) {
428
428
  dataRow.push({ text: Ops[column.Field].toString(), noWrap: true });
429
429
  }
430
430
  else {
@@ -433,7 +433,7 @@ class HCInvoiceprintService {
433
433
  }
434
434
  }
435
435
  else {
436
- if (!utils_1.TrUtils.IsNull(Ops[column.Field])) {
436
+ if (!tr_utils_1.TrUtils.IsNull(Ops[column.Field])) {
437
437
  dataRow.push({ text: Ops[column.Field].toString(), alignment: 'right', nowrap: true, bold: Ops.bold });
438
438
  }
439
439
  else {
@@ -453,7 +453,7 @@ class HCInvoiceprintService {
453
453
  SNo = SNo + 1;
454
454
  }
455
455
  else {
456
- if (utils_1.TrUtils.IsNull(Ops[column.Field])) {
456
+ if (tr_utils_1.TrUtils.IsNull(Ops[column.Field])) {
457
457
  Ops[column.Field] = '';
458
458
  }
459
459
  }
@@ -642,7 +642,7 @@ class HCInvoiceprintService {
642
642
  Parts.forEach((part) => {
643
643
  var dataRow = [];
644
644
  columns.forEach((column) => {
645
- if (!utils_1.TrUtils.IsFixedZero(part[column.Field]) && !utils_1.TrUtils.IsNull(part[column.Field])
645
+ if (!tr_utils_1.TrUtils.IsFixedZero(part[column.Field]) && !tr_utils_1.TrUtils.IsNull(part[column.Field])
646
646
  || column.text === 'Line Total') {
647
647
  // if (part[column.Field] === 'Medications') {
648
648
  // dataRow.push({ text: part[column.Field].toString(), marginLeft: 50, style: 'InlineHeader' });
@@ -661,7 +661,7 @@ class HCInvoiceprintService {
661
661
  if (column.Field === 'Desc') {
662
662
  let DescData = [];
663
663
  DescData.push(part[column.Field].toString());
664
- if (!utils_1.TrUtils.IsEmpty(part['EDesc'])) {
664
+ if (!tr_utils_1.TrUtils.IsEmpty(part['EDesc'])) {
665
665
  DescData.push({ text: part['EDesc'].toString(), color: 'grey' });
666
666
  }
667
667
  dataRow.push({ stack: DescData });
@@ -678,7 +678,7 @@ class HCInvoiceprintService {
678
678
  SNo = SNo + 1;
679
679
  }
680
680
  else {
681
- if (utils_1.TrUtils.IsNull(part[column.Field])) {
681
+ if (tr_utils_1.TrUtils.IsNull(part[column.Field])) {
682
682
  part[column.Field] = '';
683
683
  }
684
684
  }
@@ -704,7 +704,7 @@ class HCInvoiceprintService {
704
704
  Ops.forEach((labor) => {
705
705
  var dataRow = [];
706
706
  columns.forEach((column) => {
707
- if (!utils_1.TrUtils.IsFixedZero(labor[column.Field]) && !utils_1.TrUtils.IsNull(labor[column.Field])
707
+ if (!tr_utils_1.TrUtils.IsFixedZero(labor[column.Field]) && !tr_utils_1.TrUtils.IsNull(labor[column.Field])
708
708
  || column.text === 'Line Total') {
709
709
  if (labor[column.Field] === 'Procedures') {
710
710
  dataRow.push({ text: labor[column.Field].toString(), marginLeft: 50, style: 'InlineHeader' });
@@ -730,7 +730,7 @@ class HCInvoiceprintService {
730
730
  SNo = SNo + 1;
731
731
  }
732
732
  else {
733
- if (utils_1.TrUtils.IsNull(labor[column.Field])) {
733
+ if (tr_utils_1.TrUtils.IsNull(labor[column.Field])) {
734
734
  labor[column.Field] = '';
735
735
  }
736
736
  }
@@ -765,7 +765,7 @@ class HCInvoiceprintService {
765
765
  static CommonTotalDetails(ROPrintData, index, numberofCopies, withPass, isAuto, moreDiscDetails) {
766
766
  // console.log('ROPrintData', ROPrintData);
767
767
  let CommonDetails = [
768
- shared_pdf_service_1.SharedPDFService.GetFinalTotalDetails1(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.CustTaxGroupDataByPerc, ROPrintData.ShowAccParts, ROPrintData.CustLaborAfterTax, ROPrintData.CustPartAfterTax, ROPrintData.FixedDisc, ROPrintData.For, ROPrintData.FixedTotal, ROPrintData.CustTotalRoundedBy, ROPrintData.CustRoundedTotal, ROPrintData.ShowTaxColumn, ROPrintData.ShowTaxColumn, utils_1.TrUtils.isTaxable(ROPrintData.Settings.Tax), ROPrintData.CustLaborITax, ROPrintData.CustPartITax, ROPrintData.Consolidate, ROPrintData.From, ROPrintData.Adj, ROPrintData.CustLaborTaxGroupDataByPerc, ROPrintData.STotal, isAuto, moreDiscDetails),
768
+ shared_pdf_service_1.SharedPDFService.GetFinalTotalDetails1(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.CustTaxGroupDataByPerc, 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.CustLaborTaxGroupDataByPerc, ROPrintData.STotal, isAuto, moreDiscDetails),
769
769
  this.GetNumberInWords(ROPrintData.CustRoundedTotal),
770
770
  this.InvoiceDueStatus(ROPrintData.Type, ROPrintData.Paid, ROPrintData.Due, ROPrintData.Sts, ROPrintData.isCountersale),
771
771
  shared_pdf_service_1.SharedPDFService.GetTemsAndConditions(ROPrintData.Entity.Terms),
@@ -779,7 +779,7 @@ class HCInvoiceprintService {
779
779
  if (ROPrintData.Type !== 'Invoice') {
780
780
  CommonDetails.splice(2, 0, shared_pdf_service_1.SharedPDFService.GetUnderLine());
781
781
  }
782
- if (!utils_1.TrUtils.IsNull(numberofCopies) && numberofCopies.length !== 0 && (index !== (numberofCopies.length - 1))) {
782
+ if (!tr_utils_1.TrUtils.IsNull(numberofCopies) && numberofCopies.length !== 0 && (index !== (numberofCopies.length - 1))) {
783
783
  CommonDetails.push({ text: '', pageBreak: 'after' });
784
784
  }
785
785
  return CommonDetails;
@@ -827,7 +827,7 @@ class HCInvoiceprintService {
827
827
  ];
828
828
  if (!isOtherIndustry) {
829
829
  a.unshift({ name: 'Regn. No', value: shared_pdf_service_1.SharedPDFService.CheckAndSetString(Vehicle.RegNo) });
830
- if (!utils_1.TrUtils.IsEmpty(Vehicle.VIN)) {
830
+ if (!tr_utils_1.TrUtils.IsEmpty(Vehicle.VIN)) {
831
831
  a.unshift({ name: 'Chassis No', value: shared_pdf_service_1.SharedPDFService.CheckAndSetString(Vehicle.VIN) });
832
832
  }
833
833
  }
@@ -0,0 +1,314 @@
1
+ export declare class InvoiceprintService {
2
+ FontSize: number;
3
+ static GetInvoicePrint(ROPrintData: any, numberofCopies: any, isotherIndustry: boolean, withPass: boolean, isAuto: boolean, moreDiscDetails: boolean): {
4
+ info: {
5
+ title: string;
6
+ };
7
+ watermark: string | {
8
+ text: string;
9
+ opacity: number;
10
+ };
11
+ background: (currentPage: any, pageSize: any) => any;
12
+ header: (currentPage: any, pageCount: any) => {
13
+ text: string;
14
+ alignment: string;
15
+ marginRight: number;
16
+ fontSize: number;
17
+ marginTop: number;
18
+ };
19
+ pageBreakBefore: (currentNode: any, followingNodesOnPage: any, nodesOnNextPage: any, previousNodesOnPage: any) => boolean;
20
+ pageMargins: number[];
21
+ content: any[];
22
+ styles: {
23
+ temp2header: {
24
+ fontSize: number;
25
+ bold: boolean;
26
+ alignment: string;
27
+ };
28
+ tableheader1: {
29
+ bold: boolean;
30
+ fontFamily: string;
31
+ margin: number[];
32
+ alignment: string;
33
+ };
34
+ header: {
35
+ fontSize: number;
36
+ bold: boolean;
37
+ alignment: string;
38
+ };
39
+ meetingHeader: {
40
+ fontSize: number;
41
+ bold: boolean;
42
+ };
43
+ Receiptheader: {
44
+ fontSize: number;
45
+ bold: boolean;
46
+ alignment: string;
47
+ margin: number[];
48
+ };
49
+ InlineHeader: {
50
+ fontSize: number;
51
+ bold: boolean;
52
+ alignment: string;
53
+ margin: number[];
54
+ };
55
+ TaskHeading: {
56
+ fontSize: number;
57
+ bold: boolean;
58
+ margin: number[];
59
+ };
60
+ lettersSize: {
61
+ fontSize: number;
62
+ margin: number[];
63
+ };
64
+ tablexample: {
65
+ margin: number[];
66
+ };
67
+ hedstyl: {
68
+ margin: number[];
69
+ };
70
+ header2: {
71
+ fontSize: number;
72
+ bold: boolean;
73
+ alignment: string;
74
+ margin: number[];
75
+ };
76
+ header1: {
77
+ fontSize: number;
78
+ bold: boolean;
79
+ alignment: string;
80
+ decoration: string;
81
+ margin: number[];
82
+ };
83
+ ws_adrs_center: {
84
+ fontSize: number;
85
+ alignment: string;
86
+ };
87
+ ws_adrs_center1: {
88
+ fontSize: number;
89
+ alignment: string;
90
+ };
91
+ ws_adrs_left: {
92
+ fontSize: number;
93
+ alignment: string;
94
+ };
95
+ ws_adrs_left1: {
96
+ fontSize: number;
97
+ alignment: string;
98
+ };
99
+ columnheader: {
100
+ margin: number[];
101
+ };
102
+ tableExample: {
103
+ margin: number[];
104
+ fontSize: number;
105
+ };
106
+ tableExamplemargin: {
107
+ margin: number[];
108
+ fontSize: number;
109
+ };
110
+ textcust: {
111
+ fontSize: number;
112
+ margin: number[];
113
+ };
114
+ column: {
115
+ margin: number[];
116
+ };
117
+ tableheader: {
118
+ bold: boolean;
119
+ fontSize: number;
120
+ margin: number[];
121
+ alignment: string;
122
+ };
123
+ tableheader2: {
124
+ fontSize: number;
125
+ margin: number[];
126
+ alignment: string;
127
+ opacity: number;
128
+ };
129
+ hed: {
130
+ fontSize: number;
131
+ bold: boolean;
132
+ };
133
+ hed2: {
134
+ fontSize: number;
135
+ };
136
+ TotalsStyles: {
137
+ marginTop: number;
138
+ lineHeight: number;
139
+ fontSize: number;
140
+ margin: number[];
141
+ };
142
+ colum1: {
143
+ fontSize: number;
144
+ lineHeight: number;
145
+ };
146
+ colum2: {
147
+ fontSize: number;
148
+ lineHeight: number;
149
+ margin: number[];
150
+ };
151
+ colum3: {
152
+ lineHeight: number;
153
+ };
154
+ Receiptheader1: {
155
+ fontSize: number;
156
+ bold: boolean;
157
+ alignment: string;
158
+ margin: number[];
159
+ };
160
+ Row1: {
161
+ fontSize: number;
162
+ margin: number[];
163
+ };
164
+ rowdata: {
165
+ margin: number[];
166
+ fontSize: number;
167
+ };
168
+ forCompany: {
169
+ margin: number[];
170
+ fontSize: string;
171
+ };
172
+ forCompany1: {
173
+ margin: number[];
174
+ fontSize: string;
175
+ };
176
+ Rupees: {
177
+ margin: number[];
178
+ fontSize: string;
179
+ };
180
+ Signature: {
181
+ margin: number[];
182
+ alignment: string;
183
+ fontSize: string;
184
+ };
185
+ withApp: {
186
+ alignment: string;
187
+ lineHeight: number;
188
+ };
189
+ withOutApp: {
190
+ alignment: string;
191
+ lineHeight: number;
192
+ };
193
+ Sign: {
194
+ fontSize: number;
195
+ margin: number[];
196
+ };
197
+ Sign1: {
198
+ fontSize: number;
199
+ margin: number[];
200
+ };
201
+ 'margin-all': {
202
+ margin: number[];
203
+ };
204
+ 'margin-top': {
205
+ margin: number[];
206
+ };
207
+ 'margin-bottom': {
208
+ margin: number[];
209
+ };
210
+ fontSize: {
211
+ fontSize: number;
212
+ };
213
+ };
214
+ };
215
+ static GetWatermark(ROPrintData: any, isAuto: any): "" | {
216
+ text: string;
217
+ opacity: number;
218
+ };
219
+ static GetFileName(ROPrintData: any): string;
220
+ static CommonHeaderDetails(ROPrintData: any, text: any, isotherIndustry: boolean): any[];
221
+ static GetMainHeaderDetails(Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any, text: any): ({
222
+ columns: any;
223
+ } | {
224
+ canvas: {
225
+ type: string;
226
+ lineColor: string;
227
+ x1: number;
228
+ y1: number;
229
+ x2: number;
230
+ y2: number;
231
+ lineWidth: number;
232
+ }[];
233
+ })[];
234
+ static PreparesparePartsTable(ROPrintData: any, isAuto: boolean): any;
235
+ static GetLaborPartsTableForView(Parts: any, Ops: any, PrintPartNo: any): any;
236
+ static WithOutDiscountFieldTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): any;
237
+ static BuildTableBodyForLaborAndParts(Parts: any, Labor: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): any;
238
+ static GetWithOutDiscAndTaxFieldHeader(Parts: any, Ops: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): any;
239
+ static TaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): {
240
+ style: string;
241
+ table: {
242
+ widths: (string | number)[];
243
+ body: any;
244
+ };
245
+ layout: {
246
+ hLineWidth: (i: any, node: any) => number;
247
+ vLineWidth: (i: any, node: any) => number;
248
+ hLineColor: (i: any, node: any) => string;
249
+ vLineColor: (i: any, node: any) => string;
250
+ };
251
+ };
252
+ static ConsolidateDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): {
253
+ style: string;
254
+ table: {
255
+ widths: number[];
256
+ body: any;
257
+ };
258
+ layout: {
259
+ hLineWidth: (i: any, node: any) => number;
260
+ vLineWidth: (i: any, node: any) => number;
261
+ hLineColor: (i: any, node: any) => string;
262
+ vLineColor: (i: any, node: any) => string;
263
+ };
264
+ };
265
+ static NoTaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): {
266
+ style: string;
267
+ table: {
268
+ widths: number[];
269
+ body: any;
270
+ };
271
+ layout: {
272
+ hLineWidth: (i: any, node: any) => number;
273
+ vLineWidth: (i: any, node: any) => number;
274
+ hLineColor: (i: any, node: any) => string;
275
+ vLineColor: (i: any, node: any) => string;
276
+ };
277
+ };
278
+ static buildTableForCustomerLabor(Parts: any, Ops: any, PrintPartNo: any, customerorInsurance: any): any;
279
+ static getSummaryHeaders(permission: boolean): any;
280
+ static CommonTotalDetails(ROPrintData: any, index: any, numberofCopies: any, withPass: boolean, isAuto: boolean, moreDiscDetails: boolean): any[];
281
+ static GetBanckdetailswithQRCode(ROPrintData: any): {
282
+ columns: any[];
283
+ };
284
+ static GetNumberInWords(TotalAmount: any): {
285
+ columns: ({
286
+ text: string;
287
+ fontSize: number;
288
+ width: number;
289
+ bold?: undefined;
290
+ } | {
291
+ text: string;
292
+ bold: boolean;
293
+ fontSize: number;
294
+ width: string;
295
+ })[];
296
+ };
297
+ static GetGatePass(isGatepass: boolean, ROPrintData: any): any;
298
+ static GetCustomerDetails(ROPrintData: any, isOtherIndustry: boolean): {
299
+ lineHeight: number;
300
+ fontSize: number;
301
+ table: {
302
+ body: any;
303
+ };
304
+ layout: string;
305
+ };
306
+ static GetVehicleDetails(Vehicle: any, isOtherIndustry: boolean): {
307
+ lineHeight: number;
308
+ fontSize: number;
309
+ table: {
310
+ body: any;
311
+ };
312
+ layout: string;
313
+ };
314
+ }