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
@@ -0,0 +1,400 @@
1
+ export declare class DCLandscapeWithoutPricePdfService {
2
+ FontSize: number;
3
+ static GetDeliveryChallanPrint(ROPrintData: any, numberofCopies: any): {
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 GetAddress(Entity: any): string;
212
+ static GetHeaderInfo(InvoicePDFData: any): any;
213
+ static GetBillofSupplyName(Settings: any): {
214
+ text: string | null;
215
+ alignment: string;
216
+ marginRight: number;
217
+ marginTop: number;
218
+ marginBottom: number;
219
+ fontSize: number;
220
+ width: string;
221
+ };
222
+ static CommonHeaderDetails(ROPrintData: any, text: any): ({
223
+ text: string;
224
+ alignment: string;
225
+ bold: boolean;
226
+ fontSize: number;
227
+ color?: undefined;
228
+ width?: undefined;
229
+ marginTop?: undefined;
230
+ style?: undefined;
231
+ table?: undefined;
232
+ layout?: undefined;
233
+ } | {
234
+ text: any;
235
+ color: string;
236
+ alignment: string;
237
+ width: number;
238
+ marginTop: number;
239
+ fontSize: number;
240
+ bold?: undefined;
241
+ style?: undefined;
242
+ table?: undefined;
243
+ layout?: undefined;
244
+ } | {
245
+ style: string;
246
+ table: {
247
+ widths: string[];
248
+ body: ({
249
+ stack: any[];
250
+ width: number;
251
+ marginLeft: number;
252
+ } | {
253
+ lineHeight: number;
254
+ fontSize: number;
255
+ table: {
256
+ body: any;
257
+ };
258
+ layout: string;
259
+ } | {
260
+ stack: ({
261
+ text: any;
262
+ alignment: string;
263
+ bold: boolean;
264
+ fontSize: number;
265
+ style?: undefined;
266
+ stack?: undefined;
267
+ } | {
268
+ text: string;
269
+ alignment: string;
270
+ style: string[];
271
+ bold?: undefined;
272
+ fontSize?: undefined;
273
+ stack?: undefined;
274
+ } | {
275
+ stack: any;
276
+ text?: undefined;
277
+ alignment?: undefined;
278
+ bold?: undefined;
279
+ fontSize?: undefined;
280
+ style?: undefined;
281
+ })[];
282
+ })[][];
283
+ };
284
+ layout: {
285
+ hLineWidth: (i: any, node: any) => number;
286
+ vLineWidth: (i: any, node: any) => number;
287
+ hLineColor: (i: any, node: any) => string;
288
+ vLineColor: (i: any, node: any) => string;
289
+ };
290
+ text?: undefined;
291
+ alignment?: undefined;
292
+ bold?: undefined;
293
+ fontSize?: undefined;
294
+ color?: undefined;
295
+ width?: undefined;
296
+ marginTop?: undefined;
297
+ })[];
298
+ static MainHeading(CName: any, Entity: any, Image: any, HColor: any, CopyName: any): any;
299
+ static GetAddresDetailsAndLogo(Entity: any, Image: any, AColor: any, HColor: any, text: any): any;
300
+ static GetMainHeaderDetails(Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any, text: any): ({
301
+ columns: any;
302
+ } | {
303
+ canvas: {
304
+ type: string;
305
+ lineColor: string;
306
+ x1: number;
307
+ y1: number;
308
+ x2: number;
309
+ y2: number;
310
+ lineWidth: number;
311
+ }[];
312
+ })[];
313
+ static PreparesparePartsTable(ROPrintData: any): any;
314
+ static WithOutDiscountFieldTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
315
+ static GetWithOutDiscountFieldHeader1(permission: any, Body: any, ShowIGST: any, ShowDiscountColumn: any): any;
316
+ static GetWithOutDiscountFieldHeader2(permission: any, Body: any, ShowDiscountColumn: any): any;
317
+ static GetWithOutDiscountFieldHeader(permission: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ShowDiscountColumn: any): any;
318
+ static BuildTableBodyForLaborAndParts(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
319
+ static GetWithOutDiscAndTaxFieldHeader(Parts: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
320
+ static TaxTableWidths(PrintPartNo: any, ShowIGST: any, ShowDiscountColumn: any): (string | number)[];
321
+ static TaxDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): {
322
+ style: string;
323
+ marginTop: number;
324
+ table: {
325
+ widths: (string | number)[];
326
+ body: any;
327
+ };
328
+ layout: {
329
+ hLineWidth: (i: any, node: any) => number;
330
+ vLineWidth: (i: any, node: any) => number;
331
+ hLineColor: (i: any, node: any) => string;
332
+ vLineColor: (i: any, node: any) => string;
333
+ };
334
+ };
335
+ static LayOutStyle(): {
336
+ hLineWidth: (i: any, node: any) => 0 | 0.7;
337
+ vLineWidth: (i: any, node: any) => number;
338
+ hLineColor: (i: any, node: any) => string;
339
+ vLineColor: (i: any, node: any) => string;
340
+ };
341
+ static ConsolidateDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): {
342
+ style: string;
343
+ marginTop: number;
344
+ table: {
345
+ widths: number[];
346
+ body: any;
347
+ };
348
+ layout: {
349
+ hLineWidth: (i: any, node: any) => number;
350
+ vLineWidth: (i: any, node: any) => number;
351
+ hLineColor: (i: any, node: any) => string;
352
+ vLineColor: (i: any, node: any) => string;
353
+ };
354
+ };
355
+ static WidthForInsuranceOrNot(ShowDiscountColumn: any, PrintPartNo: boolean): (string | number)[];
356
+ static NoTaxDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): {
357
+ style: string;
358
+ marginTop: number;
359
+ table: {
360
+ widths: (string | number)[];
361
+ body: any;
362
+ };
363
+ layout: {
364
+ hLineWidth: (i: any, node: any) => number;
365
+ vLineWidth: (i: any, node: any) => number;
366
+ hLineColor: (i: any, node: any) => string;
367
+ vLineColor: (i: any, node: any) => string;
368
+ };
369
+ };
370
+ static CommonTotalDetails(ROPrintData: any, index: any, numberofCopies: any): any[];
371
+ static GetSignatures(CName: any, For: any, Type: any): {
372
+ columns: {
373
+ stack: ({
374
+ style: string;
375
+ text: (string | {
376
+ text: any;
377
+ bold: string;
378
+ })[];
379
+ } | {
380
+ columns: any[];
381
+ })[];
382
+ }[];
383
+ };
384
+ static CompanyName(CName: any): {
385
+ style: string;
386
+ text: (string | {
387
+ text: any;
388
+ bold: string;
389
+ })[];
390
+ };
391
+ static Authorizedsignature(): {
392
+ style: string;
393
+ text: string[];
394
+ };
395
+ static CustomerSignature(): {
396
+ style: string;
397
+ text: string[];
398
+ marginLeft: number;
399
+ };
400
+ }
@@ -1,17 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DCLandscapeWithoutPricePdfService = void 0;
4
- const my_date_1 = require("../shared/my-date");
5
- const utils_1 = require("../shared/utils");
6
- const shared_pdf_service_1 = require("./shared-pdf.service");
7
- const shared_print_service_1 = require("./shared-print.service");
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");
8
8
  class DCLandscapeWithoutPricePdfService {
9
9
  constructor() {
10
10
  this.FontSize = 8;
11
11
  }
12
12
  static GetDeliveryChallanPrint(ROPrintData, numberofCopies) {
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), this.PreparesparePartsTable(ROPrintData), this.CommonTotalDetails(ROPrintData, null, numberofCopies));
16
16
  }
17
17
  else {
@@ -42,7 +42,7 @@ class DCLandscapeWithoutPricePdfService {
42
42
  }
43
43
  static GetFileName(ROPrintData) {
44
44
  let fileName = ROPrintData.HeaderName;
45
- if (!utils_1.TrUtils.IsNull(ROPrintData.Product) && !utils_1.TrUtils.IsEmpty(ROPrintData.Product.RegNo)) {
45
+ if (!tr_utils_1.TrUtils.IsNull(ROPrintData.Product) && !tr_utils_1.TrUtils.IsEmpty(ROPrintData.Product.RegNo)) {
46
46
  fileName = fileName + '-' + ROPrintData.Product.RegNo;
47
47
  }
48
48
  return fileName;
@@ -52,14 +52,14 @@ class DCLandscapeWithoutPricePdfService {
52
52
  }
53
53
  static GetHeaderInfo(InvoicePDFData) {
54
54
  let TaxInfo = [];
55
- if (!utils_1.TrUtils.IsEmpty(InvoicePDFData.Entity.GSTIN)) {
55
+ if (!tr_utils_1.TrUtils.IsEmpty(InvoicePDFData.Entity.GSTIN)) {
56
56
  TaxInfo.push({ text: 'GSTIN : ' + InvoicePDFData.Entity.GSTIN, marginTop: 2, marginLeft: 5, alignment: 'left', fontSize: 7, width: 'auto' });
57
57
  }
58
58
  // if (!TrUtils.IsEmpty(InvoicePDFData.Entity.PAN)) {
59
59
  // TaxInfo.push({ text: 'PAN : ' + InvoicePDFData.Entity.PAN, marginTop: 2, marginLeft: 5, alignment: 'left', fontSize: 9, width: 'auto' },
60
60
  // );
61
61
  // }
62
- if (!utils_1.TrUtils.IsEmpty(InvoicePDFData.Entity.DLNo)) {
62
+ if (!tr_utils_1.TrUtils.IsEmpty(InvoicePDFData.Entity.DLNo)) {
63
63
  TaxInfo.push({ text: 'D.L.NO : ' + InvoicePDFData.Entity.DLNo, marginTop: 2, marginLeft: 5, alignment: 'left', fontSize: 7, width: '*' });
64
64
  }
65
65
  TaxInfo.push(this.GetBillofSupplyName(InvoicePDFData.Settings));
@@ -133,19 +133,19 @@ class DCLandscapeWithoutPricePdfService {
133
133
  ]
134
134
  }
135
135
  ];
136
- if (!utils_1.TrUtils.IsNull(Image)) {
136
+ if (!tr_utils_1.TrUtils.IsNull(Image)) {
137
137
  // Details.unshift({ text: '', width: 120 });
138
138
  if (Entity.CName.length < 28) {
139
139
  Details[0].stack[0].columns.push({ text: '', width: 140 });
140
140
  }
141
- if (!utils_1.TrUtils.IsNull(text)) {
141
+ if (!tr_utils_1.TrUtils.IsNull(text)) {
142
142
  Details[0].stack.unshift({ text: text, color: 'grey', alignment: 'right', width: 100, marginBottom: -15, fontSize: 10 });
143
143
  }
144
144
  Details.unshift({ image: Image, width: 120, height: 80 });
145
145
  }
146
146
  else {
147
147
  Details[0].stack[1].columns.unshift({ text: '', width: 130 });
148
- if (!utils_1.TrUtils.IsNull(text)) {
148
+ if (!tr_utils_1.TrUtils.IsNull(text)) {
149
149
  Details[0].stack.unshift({ text: text, color: 'grey', alignment: 'right', width: 100, marginBottom: -15, fontSize: 10 });
150
150
  }
151
151
  }
@@ -163,7 +163,7 @@ class DCLandscapeWithoutPricePdfService {
163
163
  let List = [];
164
164
  if (ROPrintData.Entity.Body === 1) {
165
165
  for (let i = 0; i < ROPrintData.PrintInfo.length; i++) {
166
- if (utils_1.TrUtils.IsNull(ROPrintData.PrintInfo[i].Text)) {
166
+ if (tr_utils_1.TrUtils.IsNull(ROPrintData.PrintInfo[i].Text)) {
167
167
  ROPrintData.PrintInfo[i].Text = '';
168
168
  }
169
169
  // List.push(ROPrintData.PrintInfo[i].Text,
@@ -174,10 +174,10 @@ class DCLandscapeWithoutPricePdfService {
174
174
  else {
175
175
  if (ROPrintData.Entity.Body === 2) {
176
176
  for (let i = 0; i < ROPrintData.PrintInfo.length; i++) {
177
- if (utils_1.TrUtils.IsNull(ROPrintData.PrintInfo[i].Text)) {
177
+ if (tr_utils_1.TrUtils.IsNull(ROPrintData.PrintInfo[i].Text)) {
178
178
  ROPrintData.PrintInfo[i].Text = '';
179
179
  }
180
- List.push(ROPrintData.PrintInfo[i].Text, this.WithOutDiscountFieldTable(utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Items), ROPrintData.ShowTaxColumn, ROPrintData.Entity.MPN, ROPrintData.Entity.Body, ROPrintData.ShowIGST, ROPrintData.ConsolidateGST, ROPrintData.ShowDiscountColumn));
180
+ List.push(ROPrintData.PrintInfo[i].Text, this.WithOutDiscountFieldTable(tr_utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Items), ROPrintData.ShowTaxColumn, ROPrintData.Entity.MPN, ROPrintData.Entity.Body, ROPrintData.ShowIGST, ROPrintData.ConsolidateGST, ROPrintData.ShowDiscountColumn));
181
181
  }
182
182
  }
183
183
  else {
@@ -188,10 +188,10 @@ class DCLandscapeWithoutPricePdfService {
188
188
  }
189
189
  else {
190
190
  for (let i = 0; i < ROPrintData.PrintInfo.length; i++) {
191
- if (utils_1.TrUtils.IsNull(ROPrintData.PrintInfo[i].Text)) {
191
+ if (tr_utils_1.TrUtils.IsNull(ROPrintData.PrintInfo[i].Text)) {
192
192
  ROPrintData.PrintInfo[i].Text = '';
193
193
  }
194
- List.push(ROPrintData.PrintInfo[i].Text, this.GetWithOutDiscAndTaxFieldHeader(utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Items), ROPrintData.ShowTaxColumn, ROPrintData.Entity.MPN, ROPrintData.Entity.Body, ROPrintData.ShowIGST, ROPrintData.ConsolidateGST, ROPrintData.ShowDiscountColumn));
194
+ List.push(ROPrintData.PrintInfo[i].Text, this.GetWithOutDiscAndTaxFieldHeader(tr_utils_1.TrUtils.Stringify(ROPrintData.PrintInfo[i].Items), ROPrintData.ShowTaxColumn, ROPrintData.Entity.MPN, ROPrintData.Entity.Body, ROPrintData.ShowIGST, ROPrintData.ConsolidateGST, ROPrintData.ShowDiscountColumn));
195
195
  }
196
196
  }
197
197
  }
@@ -430,14 +430,14 @@ class DCLandscapeWithoutPricePdfService {
430
430
  Parts.forEach((part) => {
431
431
  var dataRow = [];
432
432
  columns.forEach((column) => {
433
- if ((!utils_1.TrUtils.IsFixedZero(part[column.Field]) && !utils_1.TrUtils.IsNull(part[column.Field]))
433
+ if ((!tr_utils_1.TrUtils.IsFixedZero(part[column.Field]) && !tr_utils_1.TrUtils.IsNull(part[column.Field]))
434
434
  || (column.text === 'Line Total' || column.text === 'Expiry')) {
435
435
  if (part[column.Field] === 'Spare Parts') {
436
436
  dataRow.push({ text: part[column.Field].toString(), marginLeft: 50, style: 'InlineHeader' });
437
437
  }
438
438
  else {
439
439
  if (((column.Field === 'CGSTAmt' || column.Field === 'SGSTAmt' || column.Field === 'CGSTPerc' || column.Field === 'SGSTPerc' || column.Field === 'IGSTAmt' || column.Field === 'IGSTPerc')
440
- && utils_1.TrUtils.CheckInvalidSelect(part.TCode))) {
440
+ && tr_utils_1.TrUtils.CheckInvalidSelect(part.TCode))) {
441
441
  part[column.Field] = '';
442
442
  dataRow.push({ text: part[column.Field].toString(), alignment: 'center' });
443
443
  }
@@ -447,7 +447,7 @@ class DCLandscapeWithoutPricePdfService {
447
447
  || column.Field === 'CGSTPerc' || column.Field === 'SGSTPerc' || column.Field === 'IGSTAmt' || column.Field === 'IGSTPerc') {
448
448
  if (column.Field === 'Disc') {
449
449
  if (column.type === 'percentage') {
450
- if (!utils_1.TrUtils.IsEmpty(part[column.Field])) {
450
+ if (!tr_utils_1.TrUtils.IsEmpty(part[column.Field])) {
451
451
  dataRow.push({ text: part[column.Field].toString(), noWrap: true });
452
452
  }
453
453
  else {
@@ -455,7 +455,7 @@ class DCLandscapeWithoutPricePdfService {
455
455
  }
456
456
  }
457
457
  else {
458
- if (!utils_1.TrUtils.IsZero(part[column.Field])) {
458
+ if (!tr_utils_1.TrUtils.IsZero(part[column.Field])) {
459
459
  dataRow.push({ text: part[column.Field].toString(), noWrap: true });
460
460
  }
461
461
  else {
@@ -465,7 +465,7 @@ class DCLandscapeWithoutPricePdfService {
465
465
  }
466
466
  else {
467
467
  if (column.Field === 'Batch') {
468
- if (!utils_1.TrUtils.IsNull(part[column.Field])) {
468
+ if (!tr_utils_1.TrUtils.IsNull(part[column.Field])) {
469
469
  dataRow.push({ text: part[column.Field].BN, nowrap: true });
470
470
  }
471
471
  else {
@@ -473,7 +473,7 @@ class DCLandscapeWithoutPricePdfService {
473
473
  }
474
474
  }
475
475
  else if (column.Field === 'ExDate') {
476
- if (!utils_1.TrUtils.IsNull(part['Batch'])) {
476
+ if (!tr_utils_1.TrUtils.IsNull(part['Batch'])) {
477
477
  dataRow.push({ text: my_date_1.MyDate.ConvertUTCDateToReadableExDate(part['Batch'].ExDt), nowrap: true });
478
478
  }
479
479
  else {
@@ -481,7 +481,7 @@ class DCLandscapeWithoutPricePdfService {
481
481
  }
482
482
  }
483
483
  else {
484
- if (!utils_1.TrUtils.IsZero(part[column.Field])) {
484
+ if (!tr_utils_1.TrUtils.IsZero(part[column.Field])) {
485
485
  dataRow.push({ text: part[column.Field].toString(), alignment: 'right', nowrap: true });
486
486
  }
487
487
  else {
@@ -495,7 +495,7 @@ class DCLandscapeWithoutPricePdfService {
495
495
  if (column.Field === 'Desc') {
496
496
  let DescData = [];
497
497
  DescData.push(part[column.Field].toString());
498
- if (!utils_1.TrUtils.IsEmpty(part['EDesc'])) {
498
+ if (!tr_utils_1.TrUtils.IsEmpty(part['EDesc'])) {
499
499
  DescData.push({ text: part['EDesc'].toString(), color: 'grey' });
500
500
  }
501
501
  dataRow.push({ stack: DescData });
@@ -508,7 +508,7 @@ class DCLandscapeWithoutPricePdfService {
508
508
  }
509
509
  }
510
510
  else {
511
- if (column.Field === 'SNo' && !utils_1.TrUtils.IsNull(part.Desc)) {
511
+ if (column.Field === 'SNo' && !tr_utils_1.TrUtils.IsNull(part.Desc)) {
512
512
  part[column.Field] = SNo;
513
513
  SNo = SNo + 1;
514
514
  }
@@ -816,7 +816,7 @@ class DCLandscapeWithoutPricePdfService {
816
816
  // if (ROPrintData.Type !== 'Invoice') {
817
817
  // CommonDetails.splice(2, 0, SharedPDFService.GetUnderLine());
818
818
  // }
819
- if (!utils_1.TrUtils.IsNull(numberofCopies) && numberofCopies.length !== 0 && (index !== (numberofCopies.length - 1))) {
819
+ if (!tr_utils_1.TrUtils.IsNull(numberofCopies) && numberofCopies.length !== 0 && (index !== (numberofCopies.length - 1))) {
820
820
  CommonDetails.push({ text: '', pageBreak: 'after' });
821
821
  }
822
822
  return CommonDetails;