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.EquipmentDesignPdf = void 0;
4
- const shared_print_service_1 = require("./shared-print.service");
5
- const shared_pdf_service_1 = require("./shared-pdf.service");
6
- const utils_1 = require("../shared/utils");
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 tr_utils_1 = require("../../utils/tr-utils");
7
7
  class EquipmentDesignPdf {
8
8
  static GetEquipmentPdf(Entity, Image, Sites, Items) {
9
9
  var dd = {
@@ -23,7 +23,7 @@ class EquipmentDesignPdf {
23
23
  return dd;
24
24
  }
25
25
  static GetContentData(Entity, Sites, Items, Image) {
26
- let EntityData = shared_print_service_1.PrintSharedService.GetFormattedEntityDataForPrint(utils_1.TrUtils.Stringify(Entity), '', null);
26
+ let EntityData = shared_print_service_1.PrintSharedService.GetFormattedEntityDataForPrint(tr_utils_1.TrUtils.Stringify(Entity), '', null);
27
27
  Entity = shared_print_service_1.PrintSharedService.GetEntityHeaderStyles(Entity, Entity, Image);
28
28
  EntityData.HColor = Entity.HColor;
29
29
  return [
@@ -45,7 +45,7 @@ class EquipmentDesignPdf {
45
45
  static getsites(Sites, Items) {
46
46
  let mainsites = [];
47
47
  mainsites = Sites.filter((site) => {
48
- return utils_1.TrUtils.IsNull(site.Parent);
48
+ return tr_utils_1.TrUtils.IsNull(site.Parent);
49
49
  });
50
50
  mainsites.forEach((site, pindex) => {
51
51
  site.Index = pindex + 1;
@@ -58,16 +58,16 @@ class EquipmentDesignPdf {
58
58
  // lo.push({ text: item.Name, colSpan: item.children.length });
59
59
  // lo.push({});
60
60
  let Itemdata = this.GetItem(item.ItemId, Items);
61
- if (utils_1.TrUtils.IsNull(Itemdata.TR)) {
61
+ if (tr_utils_1.TrUtils.IsNull(Itemdata.TR)) {
62
62
  Itemdata.TR = '';
63
63
  }
64
- if (utils_1.TrUtils.IsNull(Itemdata.Model)) {
64
+ if (tr_utils_1.TrUtils.IsNull(Itemdata.Model)) {
65
65
  Itemdata.Model = '';
66
66
  }
67
- if (utils_1.TrUtils.IsNull(item.Qty)) {
67
+ if (tr_utils_1.TrUtils.IsNull(item.Qty)) {
68
68
  item.Qty = '';
69
69
  }
70
- if (utils_1.TrUtils.IsNull(item.children) || item.children.length === 0) {
70
+ if (tr_utils_1.TrUtils.IsNull(item.children) || item.children.length === 0) {
71
71
  lo.push({ text: item.Index });
72
72
  lo.push({ text: item.Name });
73
73
  lo.push({ text: item.Qty });
@@ -105,13 +105,13 @@ class EquipmentDesignPdf {
105
105
  // sm.push({ text: child.Name, colSpan: child.children.length })
106
106
  // sm.push({ text: 'High wall' });
107
107
  let Itemdata = this.GetItem(child.ItemId, Items);
108
- if (utils_1.TrUtils.IsNull(Itemdata.TR)) {
108
+ if (tr_utils_1.TrUtils.IsNull(Itemdata.TR)) {
109
109
  Itemdata.TR = '';
110
110
  }
111
- if (utils_1.TrUtils.IsNull(Itemdata.Model)) {
111
+ if (tr_utils_1.TrUtils.IsNull(Itemdata.Model)) {
112
112
  Itemdata.Model = '';
113
113
  }
114
- if (utils_1.TrUtils.IsNull(child.Qty)) {
114
+ if (tr_utils_1.TrUtils.IsNull(child.Qty)) {
115
115
  child.Qty = '';
116
116
  }
117
117
  if (child.children.length === 0) {
@@ -0,0 +1,262 @@
1
+ export declare class PackShipPDFService {
2
+ static FontSize: number;
3
+ static GetPackagesPrint(ShipmentData: 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: (void | any[] | {
17
+ style: string;
18
+ table: {
19
+ widths: number[];
20
+ body: any;
21
+ };
22
+ layout: {
23
+ hLineWidth: (i: any, node: any) => number;
24
+ vLineWidth: (i: any, node: any) => number;
25
+ hLineColor: (i: any, node: any) => "black" | "gray";
26
+ vLineColor: (i: any, node: any) => "black" | "gray";
27
+ };
28
+ } | {
29
+ text: string;
30
+ alignment: string;
31
+ fontSize: number;
32
+ bold: boolean;
33
+ })[];
34
+ defaultStyle: {
35
+ fontSize: number;
36
+ };
37
+ styles: {
38
+ temp2header: {
39
+ fontSize: number;
40
+ bold: boolean;
41
+ alignment: string;
42
+ };
43
+ tableheader1: {
44
+ bold: boolean;
45
+ fontFamily: string;
46
+ margin: number[];
47
+ alignment: string;
48
+ };
49
+ header: {
50
+ fontSize: number;
51
+ bold: boolean;
52
+ alignment: string;
53
+ };
54
+ meetingHeader: {
55
+ fontSize: number;
56
+ bold: boolean;
57
+ };
58
+ Receiptheader: {
59
+ fontSize: number;
60
+ bold: boolean;
61
+ alignment: string;
62
+ margin: number[];
63
+ };
64
+ InlineHeader: {
65
+ fontSize: number;
66
+ bold: boolean;
67
+ alignment: string;
68
+ margin: number[];
69
+ };
70
+ TaskHeading: {
71
+ fontSize: number;
72
+ bold: boolean;
73
+ margin: number[];
74
+ };
75
+ lettersSize: {
76
+ fontSize: number;
77
+ margin: number[];
78
+ };
79
+ tablexample: {
80
+ margin: number[];
81
+ };
82
+ hedstyl: {
83
+ margin: number[];
84
+ };
85
+ header2: {
86
+ fontSize: number;
87
+ bold: boolean;
88
+ alignment: string;
89
+ margin: number[];
90
+ };
91
+ header1: {
92
+ fontSize: number;
93
+ bold: boolean;
94
+ alignment: string;
95
+ decoration: string;
96
+ margin: number[];
97
+ };
98
+ ws_adrs_center: {
99
+ fontSize: number;
100
+ alignment: string;
101
+ };
102
+ ws_adrs_center1: {
103
+ fontSize: number;
104
+ alignment: string;
105
+ };
106
+ ws_adrs_left: {
107
+ fontSize: number;
108
+ alignment: string;
109
+ };
110
+ ws_adrs_left1: {
111
+ fontSize: number;
112
+ alignment: string;
113
+ };
114
+ columnheader: {
115
+ margin: number[];
116
+ };
117
+ tableExample: {
118
+ margin: number[];
119
+ fontSize: number;
120
+ };
121
+ tableExamplemargin: {
122
+ margin: number[];
123
+ fontSize: number;
124
+ };
125
+ textcust: {
126
+ fontSize: number;
127
+ margin: number[];
128
+ };
129
+ column: {
130
+ margin: number[];
131
+ };
132
+ tableheader: {
133
+ bold: boolean;
134
+ fontSize: number;
135
+ margin: number[];
136
+ alignment: string;
137
+ };
138
+ tableheader2: {
139
+ fontSize: number;
140
+ margin: number[];
141
+ alignment: string;
142
+ opacity: number;
143
+ };
144
+ hed: {
145
+ fontSize: number;
146
+ bold: boolean;
147
+ };
148
+ hed2: {
149
+ fontSize: number;
150
+ };
151
+ TotalsStyles: {
152
+ marginTop: number;
153
+ lineHeight: number;
154
+ fontSize: number;
155
+ margin: number[];
156
+ };
157
+ colum1: {
158
+ fontSize: number;
159
+ lineHeight: number;
160
+ };
161
+ colum2: {
162
+ fontSize: number;
163
+ lineHeight: number;
164
+ margin: number[];
165
+ };
166
+ colum3: {
167
+ lineHeight: number;
168
+ };
169
+ Receiptheader1: {
170
+ fontSize: number;
171
+ bold: boolean;
172
+ alignment: string;
173
+ margin: number[];
174
+ };
175
+ Row1: {
176
+ fontSize: number;
177
+ margin: number[];
178
+ };
179
+ rowdata: {
180
+ margin: number[];
181
+ fontSize: number;
182
+ };
183
+ forCompany: {
184
+ margin: number[];
185
+ fontSize: string;
186
+ };
187
+ forCompany1: {
188
+ margin: number[];
189
+ fontSize: string;
190
+ };
191
+ Rupees: {
192
+ margin: number[];
193
+ fontSize: string;
194
+ };
195
+ Signature: {
196
+ margin: number[];
197
+ alignment: string;
198
+ fontSize: string;
199
+ };
200
+ withApp: {
201
+ alignment: string;
202
+ lineHeight: number;
203
+ };
204
+ withOutApp: {
205
+ alignment: string;
206
+ lineHeight: number;
207
+ };
208
+ Sign: {
209
+ fontSize: number;
210
+ margin: number[];
211
+ };
212
+ Sign1: {
213
+ fontSize: number;
214
+ margin: number[];
215
+ };
216
+ 'margin-all': {
217
+ margin: number[];
218
+ };
219
+ 'margin-top': {
220
+ margin: number[];
221
+ };
222
+ 'margin-bottom': {
223
+ margin: number[];
224
+ };
225
+ fontSize: {
226
+ fontSize: number;
227
+ };
228
+ };
229
+ };
230
+ static GetPackageData(): void;
231
+ static PrepareItemsTable(ShipmentData: any): {
232
+ style: string;
233
+ table: {
234
+ widths: number[];
235
+ body: any;
236
+ };
237
+ layout: {
238
+ hLineWidth: (i: any, node: any) => number;
239
+ vLineWidth: (i: any, node: any) => number;
240
+ hLineColor: (i: any, node: any) => "black" | "gray";
241
+ vLineColor: (i: any, node: any) => "black" | "gray";
242
+ };
243
+ };
244
+ static buildTableForCustomerLabor(Items: any): any;
245
+ static GetColumns(): any;
246
+ static GetPackageDetails(Packages: any): void;
247
+ static CommonHeaderDetails(ROPrintData: any, text: any): any[];
248
+ static GetMainHeaderDetails(Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any, text: any): ({
249
+ columns: any;
250
+ } | {
251
+ canvas: {
252
+ type: string;
253
+ lineColor: string;
254
+ x1: number;
255
+ y1: number;
256
+ x2: number;
257
+ y2: number;
258
+ lineWidth: number;
259
+ }[];
260
+ })[];
261
+ static GetFileName(ROPrintData: any): string;
262
+ }
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PackShipPDFService = 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 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 tr_utils_1 = require("../../utils/tr-utils");
7
7
  class PackShipPDFService {
8
8
  static GetPackagesPrint(ShipmentData, numberofCopies) {
9
9
  // console.log(ShipmentData);
10
10
  var contents = [];
11
- if (utils_1.TrUtils.IsNull(numberofCopies) || numberofCopies.length === 0) {
11
+ if (tr_utils_1.TrUtils.IsNull(numberofCopies) || numberofCopies.length === 0) {
12
12
  contents.push(this.CommonHeaderDetails(ShipmentData, null), this.GetPackageData(), { text: 'Items', alignment: 'start', fontSize: 14, bold: true }, this.PrepareItemsTable(ShipmentData));
13
13
  }
14
14
  else {
@@ -95,7 +95,7 @@ class PackShipPDFService {
95
95
  }
96
96
  static GetFileName(ROPrintData) {
97
97
  let fileName = ROPrintData.HeaderName;
98
- if (!utils_1.TrUtils.IsNull(ROPrintData.Product) && !utils_1.TrUtils.IsEmpty(ROPrintData.Product.RegNo)) {
98
+ if (!tr_utils_1.TrUtils.IsNull(ROPrintData.Product) && !tr_utils_1.TrUtils.IsEmpty(ROPrintData.Product.RegNo)) {
99
99
  fileName = fileName + '-' + ROPrintData.Product.RegNo;
100
100
  }
101
101
  return fileName;
@@ -0,0 +1,11 @@
1
+ export declare class PackShipPrintService {
2
+ static GetShipmentPrintInfo(OriginalInvoiceData: any, OriginalEntityData: any, image: any, PackShipData: any, ItemsList: any, IsPackage: boolean): any;
3
+ static GetPackShipHeading(InvoicePrintData: any, IsPackage: boolean): any;
4
+ static GetPrintConditionsBasedOnInput(InvoicePrintData: any, IncludeGST: boolean, ConsolidateGST: boolean, ForInsurance: boolean, SType: any, OriginalInvoiceData: any, IsProforma: boolean): any;
5
+ static GetInvoiceOtherDetailsForPrint(InvoicePrintData: any, OriginalInvoiceData: any, PackShipData: any, IsPackage: boolean): any;
6
+ static GetFormattedProductDataForPrint(OriginalInvoiceData: any, InvoicePrintData: any): any;
7
+ static GetShipToForSOPrint(OriginalInvoiceData: any, InvoicePrintData: any): any;
8
+ static GetBillNameForInvoicePrint(OriginalInvoiceData: any, InvoicePrintData: any): any;
9
+ static GetCustomerDetails(OriginalInvoiceData: any): any;
10
+ static GetBillToName(Title: any, Name: string): string;
11
+ }
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PackShipPrintService = void 0;
4
- const my_date_1 = require("../shared/my-date");
5
- const utils_1 = require("../shared/utils");
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 my_date_1 = require("../../utils/my-date");
6
+ const tr_utils_1 = require("../../utils/tr-utils");
7
7
  class PackShipPrintService {
8
8
  static GetShipmentPrintInfo(OriginalInvoiceData, OriginalEntityData, image, PackShipData, ItemsList, IsPackage) {
9
9
  // console.log(ItemsList);
10
- let ForInsurance = !utils_1.TrUtils.IsNull(OriginalInvoiceData.ShipTo.InsId);
10
+ let ForInsurance = !tr_utils_1.TrUtils.IsNull(OriginalInvoiceData.ShipTo.InsId);
11
11
  let InvoicePrintData = {};
12
- let argInvoiceData = utils_1.TrUtils.Stringify(OriginalInvoiceData);
12
+ let argInvoiceData = tr_utils_1.TrUtils.Stringify(OriginalInvoiceData);
13
13
  InvoicePrintData.Entity = shared_print_service_1.PrintSharedService.GetFormattedEntityDataForPrint(OriginalEntityData, OriginalInvoiceData.Type, OriginalInvoiceData);
14
14
  InvoicePrintData = shared_print_service_1.PrintSharedService.GetEntityHeaderStyles(InvoicePrintData, OriginalEntityData, image);
15
15
  InvoicePrintData = this.GetInvoiceOtherDetailsForPrint(InvoicePrintData, argInvoiceData, PackShipData, IsPackage);
16
- InvoicePrintData.Settings = utils_1.TrUtils.Stringify(argInvoiceData.Settings);
17
- InvoicePrintData.Items = utils_1.TrUtils.Stringify(ItemsList);
16
+ InvoicePrintData.Settings = tr_utils_1.TrUtils.Stringify(argInvoiceData.Settings);
17
+ InvoicePrintData.Items = tr_utils_1.TrUtils.Stringify(ItemsList);
18
18
  InvoicePrintData = this.GetFormattedProductDataForPrint(argInvoiceData, InvoicePrintData);
19
19
  InvoicePrintData = this.GetBillNameForInvoicePrint(argInvoiceData, InvoicePrintData);
20
20
  InvoicePrintData = this.GetShipToForSOPrint(argInvoiceData, InvoicePrintData);
@@ -36,10 +36,10 @@ class PackShipPrintService {
36
36
  InvoicePrintData.IncludeGST = IncludeGST;
37
37
  InvoicePrintData.ConsolidateGST = ConsolidateGST;
38
38
  InvoicePrintData.ShowAccParts = false;
39
- InvoicePrintData.ShowIGST = (utils_1.TrUtils.IsNull(SType) || (SType === 'Intra')) ? false : true;
39
+ InvoicePrintData.ShowIGST = (tr_utils_1.TrUtils.IsNull(SType) || (SType === 'Intra')) ? false : true;
40
40
  InvoicePrintData.ShowTaxColumn = (IncludeGST && !ConsolidateGST) ? true : false;
41
41
  // InvoicePrintData.ShowDiscountColumn = (!ForInsurance && !ConsolidateGST) ? true : false;
42
- InvoicePrintData.PrDate = utils_1.TrUtils.IsNull(OriginalInvoiceData.PrDate) ? '' : my_date_1.MyDate.ConvertUTCDateToReadable(OriginalInvoiceData.PrDate);
42
+ InvoicePrintData.PrDate = tr_utils_1.TrUtils.IsNull(OriginalInvoiceData.PrDate) ? '' : my_date_1.MyDate.ConvertUTCDateToReadable(OriginalInvoiceData.PrDate);
43
43
  return InvoicePrintData;
44
44
  }
45
45
  static GetInvoiceOtherDetailsForPrint(InvoicePrintData, OriginalInvoiceData, PackShipData, IsPackage) {
@@ -60,15 +60,15 @@ class PackShipPrintService {
60
60
  return InvoicePrintData;
61
61
  }
62
62
  static GetFormattedProductDataForPrint(OriginalInvoiceData, InvoicePrintData) {
63
- if (!utils_1.TrUtils.IsNull(OriginalInvoiceData.Prod)) {
63
+ if (!tr_utils_1.TrUtils.IsNull(OriginalInvoiceData.Prod)) {
64
64
  InvoicePrintData.Product = OriginalInvoiceData.Prod;
65
- if (utils_1.TrUtils.IsNull(InvoicePrintData.Product.VIN)) {
65
+ if (tr_utils_1.TrUtils.IsNull(InvoicePrintData.Product.VIN)) {
66
66
  InvoicePrintData.Product.VIN = '';
67
67
  }
68
- if (utils_1.TrUtils.IsNull(InvoicePrintData.Product.RegNo)) {
68
+ if (tr_utils_1.TrUtils.IsNull(InvoicePrintData.Product.RegNo)) {
69
69
  InvoicePrintData.Product.RegNo = '';
70
70
  }
71
- if (utils_1.TrUtils.IsNull(InvoicePrintData.Product.EngNo)) {
71
+ if (tr_utils_1.TrUtils.IsNull(InvoicePrintData.Product.EngNo)) {
72
72
  InvoicePrintData.Product.EngNo = '';
73
73
  }
74
74
  InvoicePrintData.MIn = OriginalInvoiceData.Prod.MIn;
@@ -81,17 +81,17 @@ class PackShipPrintService {
81
81
  Customer.Name = OriginalInvoiceData.ShipTo.Name;
82
82
  Customer.Adrs = [];
83
83
  Customer.Cons = [];
84
- if (!utils_1.TrUtils.IsNull(OriginalInvoiceData.ShipTo.Adrs)) {
84
+ if (!tr_utils_1.TrUtils.IsNull(OriginalInvoiceData.ShipTo.Adrs)) {
85
85
  Customer.Adrs.push(OriginalInvoiceData.ShipTo.Adrs.A1);
86
- if (!utils_1.TrUtils.IsEmpty(OriginalInvoiceData.ShipTo.Adrs.A2)) {
86
+ if (!tr_utils_1.TrUtils.IsEmpty(OriginalInvoiceData.ShipTo.Adrs.A2)) {
87
87
  Customer.Adrs.push(OriginalInvoiceData.ShipTo.Adrs.A2);
88
88
  }
89
- if (!utils_1.TrUtils.IsEmpty(OriginalInvoiceData.ShipTo.Adrs.Ct)) {
89
+ if (!tr_utils_1.TrUtils.IsEmpty(OriginalInvoiceData.ShipTo.Adrs.Ct)) {
90
90
  Customer.Adrs.push(OriginalInvoiceData.ShipTo.Adrs.Ct);
91
91
  }
92
92
  }
93
93
  Customer.GSTIN = OriginalInvoiceData.ShipTo.GSTIN;
94
- if (!utils_1.TrUtils.IsEmpty(OriginalInvoiceData.ShipTo.Ph)) {
94
+ if (!tr_utils_1.TrUtils.IsEmpty(OriginalInvoiceData.ShipTo.Ph)) {
95
95
  Customer.Cons = [
96
96
  {
97
97
  Type: 'M',
@@ -100,7 +100,7 @@ class PackShipPrintService {
100
100
  ];
101
101
  }
102
102
  InvoicePrintData.ShippmentTo = Customer;
103
- if (!utils_1.TrUtils.IsNull(OriginalInvoiceData.ShipTo.InsId)) {
103
+ if (!tr_utils_1.TrUtils.IsNull(OriginalInvoiceData.ShipTo.InsId)) {
104
104
  InvoicePrintData.Cust = this.GetCustomerDetails(OriginalInvoiceData);
105
105
  }
106
106
  return InvoicePrintData;
@@ -111,17 +111,17 @@ class PackShipPrintService {
111
111
  Customer.Name = OriginalInvoiceData.ShipTo.Name;
112
112
  Customer.Adrs = [];
113
113
  Customer.Cons = [];
114
- if (!utils_1.TrUtils.IsNull(OriginalInvoiceData.ShipTo.Adrs)) {
114
+ if (!tr_utils_1.TrUtils.IsNull(OriginalInvoiceData.ShipTo.Adrs)) {
115
115
  Customer.Adrs.push(OriginalInvoiceData.ShipTo.Adrs.A1);
116
- if (!utils_1.TrUtils.IsEmpty(OriginalInvoiceData.ShipTo.Adrs.A2)) {
116
+ if (!tr_utils_1.TrUtils.IsEmpty(OriginalInvoiceData.ShipTo.Adrs.A2)) {
117
117
  Customer.Adrs.push(OriginalInvoiceData.ShipTo.Adrs.A2);
118
118
  }
119
- if (!utils_1.TrUtils.IsEmpty(OriginalInvoiceData.ShipTo.Adrs.Ct)) {
119
+ if (!tr_utils_1.TrUtils.IsEmpty(OriginalInvoiceData.ShipTo.Adrs.Ct)) {
120
120
  Customer.Adrs.push(OriginalInvoiceData.ShipTo.Adrs.Ct);
121
121
  }
122
122
  }
123
123
  Customer.GSTIN = OriginalInvoiceData.ShipTo.GSTIN;
124
- if (!utils_1.TrUtils.IsEmpty(OriginalInvoiceData.ShipTo.Ph)) {
124
+ if (!tr_utils_1.TrUtils.IsEmpty(OriginalInvoiceData.ShipTo.Ph)) {
125
125
  Customer.Cons = [
126
126
  {
127
127
  Type: 'M',
@@ -130,7 +130,7 @@ class PackShipPrintService {
130
130
  ];
131
131
  }
132
132
  InvoicePrintData.Customer = Customer;
133
- if (!utils_1.TrUtils.IsNull(OriginalInvoiceData.ShipTo.InsId)) {
133
+ if (!tr_utils_1.TrUtils.IsNull(OriginalInvoiceData.ShipTo.InsId)) {
134
134
  InvoicePrintData.Cust = this.GetCustomerDetails(OriginalInvoiceData);
135
135
  }
136
136
  return InvoicePrintData;
@@ -139,7 +139,7 @@ class PackShipPrintService {
139
139
  let Customer = {};
140
140
  Customer.Name = this.GetBillToName(OriginalInvoiceData.Cust.Title, OriginalInvoiceData.Cust.Name);
141
141
  Customer.Cons = [];
142
- if (!utils_1.TrUtils.IsEmpty(OriginalInvoiceData.Cust.Ph)) {
142
+ if (!tr_utils_1.TrUtils.IsEmpty(OriginalInvoiceData.Cust.Ph)) {
143
143
  Customer.Cons = [
144
144
  {
145
145
  Type: 'M',
@@ -149,9 +149,9 @@ class PackShipPrintService {
149
149
  }
150
150
  Customer.GSTIN = OriginalInvoiceData.Cust.GSTIN;
151
151
  Customer.Adrs = [];
152
- if (!utils_1.TrUtils.IsNull(OriginalInvoiceData.Cust.Adrs)) {
152
+ if (!tr_utils_1.TrUtils.IsNull(OriginalInvoiceData.Cust.Adrs)) {
153
153
  Customer.Adrs.push(OriginalInvoiceData.Cust.Adrs.A1);
154
- if (!utils_1.TrUtils.IsEmpty(OriginalInvoiceData.Cust.Adrs.A2)) {
154
+ if (!tr_utils_1.TrUtils.IsEmpty(OriginalInvoiceData.Cust.Adrs.A2)) {
155
155
  Customer.Adrs.push(OriginalInvoiceData.Cust.Adrs.A2);
156
156
  }
157
157
  Customer.Adrs.push(OriginalInvoiceData.Cust.Adrs.Ct);
@@ -161,7 +161,7 @@ class PackShipPrintService {
161
161
  return Customer;
162
162
  }
163
163
  static GetBillToName(Title, Name) {
164
- return utils_1.TrUtils.IsEmpty(Title) ? Name : Title + ' ' + Name;
164
+ return tr_utils_1.TrUtils.IsEmpty(Title) ? Name : Title + ' ' + Name;
165
165
  }
166
166
  }
167
167
  exports.PackShipPrintService = PackShipPrintService;