shareneus 1.4.34 → 1.4.35

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 (124) hide show
  1. package/dist/aggregation/aggregation.js +13 -13
  2. package/dist/excel-files/GSTR-RO-excel.service.js +3 -3
  3. package/dist/excel-files/GSTR1-excel.service.js +7 -7
  4. package/dist/excel-files/GSTR2-excel.service.js +6 -6
  5. package/dist/excel-files/analysis-excel.service.js +4 -4
  6. package/dist/excel-files/category-wise-item-excel.service.js +10 -10
  7. package/dist/excel-files/cust-balance-excel.service.js +5 -5
  8. package/dist/excel-files/cust-wise-sales-details.js +5 -5
  9. package/dist/excel-files/cust-wise-sales-summary-excel.service.js +5 -5
  10. package/dist/excel-files/expiring-drugs-excel.service.js +7 -7
  11. package/dist/excel-files/insurance-expire-excel.service.js +4 -4
  12. package/dist/excel-files/invoice-wise-excel.service.js +3 -3
  13. package/dist/excel-files/item-wise-doctor-sale-excel.service.js +7 -7
  14. package/dist/excel-files/item-wise-mout-details.js +4 -4
  15. package/dist/excel-files/item-wise-mout-summary.js +4 -4
  16. package/dist/excel-files/items-wise-sales-excel.service.js +10 -10
  17. package/dist/excel-files/manf-wise-sales-excel.service.js +4 -4
  18. package/dist/excel-files/next-service-date-excel.service.js +5 -5
  19. package/dist/excel-files/operator-wise-details.js +4 -4
  20. package/dist/excel-files/operator-wise-summary.js +4 -4
  21. package/dist/excel-files/payment-receive-excel.service.js +6 -6
  22. package/dist/excel-files/payments-made-excel.service.js +6 -6
  23. package/dist/excel-files/repair-orders-excel.service.js +10 -10
  24. package/dist/excel-files/sa-wise-labor-sales-excel.service.js +6 -6
  25. package/dist/excel-files/sa-wise-part-sales-excel.service.js +6 -6
  26. package/dist/excel-files/sale-summary-excel.service.js +3 -3
  27. package/dist/excel-files/sales-by-service-summary-excel.service.js +14 -14
  28. package/dist/excel-files/scheduled-drug-summary-excel.service.js +8 -8
  29. package/dist/excel-files/scheduled-drugs-excel.service.js +10 -10
  30. package/dist/excel-files/spares-issue-excel.service.js +14 -14
  31. package/dist/excel-files/stock-excel.service.js +3 -3
  32. package/dist/excel-files/tally-sales-import.service.js +3 -3
  33. package/dist/excel-files/ven-balance-excel.service.js +3 -3
  34. package/dist/index.js +9 -9
  35. package/dist/services/analysis-pdf.service.js +8 -8
  36. package/dist/services/appointment-total.service.js +37 -37
  37. package/dist/services/auto-sales-receipt-pdf.service.js +24 -24
  38. package/dist/services/category-wise-item-pdf.service.js +6 -6
  39. package/dist/services/checklist-pdf.js +3 -3
  40. package/dist/services/cn-print.service.js +33 -33
  41. package/dist/services/consultation-fee-receipt.service.js +16 -16
  42. package/dist/services/consultation-full-pdf.service.js +10 -10
  43. package/dist/services/consultation-letterhead-pdf.service.js +15 -15
  44. package/dist/services/consultation-pdf.service.js +15 -15
  45. package/dist/services/credit-note-pdf.service.js +16 -16
  46. package/dist/services/credit-note-totals.service.js +31 -31
  47. package/dist/services/cust-wise-sales-details-pdf.service.js +8 -8
  48. package/dist/services/cust-wise-sales-summary-pdf.service.js +7 -7
  49. package/dist/services/customer-balances-pdf.service.js +7 -7
  50. package/dist/services/dc-landscape-pdf.service.js +28 -28
  51. package/dist/services/dc-landscape-without-price-pdf.service.js +24 -24
  52. package/dist/services/dc-without-price-pdf.service.js +15 -15
  53. package/dist/services/debit-note-pdf.service.js +14 -14
  54. package/dist/services/debit-note-print.service.js +33 -33
  55. package/dist/services/debit-note-totals.service.js +28 -28
  56. package/dist/services/delivery-challan-pdf.service.js +16 -16
  57. package/dist/services/delivery-challan-print.service.js +26 -26
  58. package/dist/services/delivery-challan-totals.js +32 -32
  59. package/dist/services/equipment-design-pdf.service.js +10 -10
  60. package/dist/services/est.print-service.js +150 -150
  61. package/dist/services/expiring-drugs-pdf.service.js +6 -6
  62. package/dist/services/hc-inv-pdf.service.js +42 -42
  63. package/dist/services/insurance-expire-pdf.service.js +1 -1
  64. package/dist/services/inv-pdf.service.js +54 -54
  65. package/dist/services/inv-print.service.js +59 -59
  66. package/dist/services/invoice-landscape-pdf.service.js +29 -29
  67. package/dist/services/invoice-letterhead-pdf.service.js +54 -54
  68. package/dist/services/invoice-portrait-pdf.js +51 -51
  69. package/dist/services/invoice-total.service.js +78 -78
  70. package/dist/services/issue-parts-pdf.service.js +43 -43
  71. package/dist/services/item-bar-code-label-pdf.js +2 -2
  72. package/dist/services/item-price-for-pricelist.js +178 -0
  73. package/dist/services/item-wise-doctor-sale-pdf.service.js +3 -3
  74. package/dist/services/item-wise-mout-details-pdf.js +3 -3
  75. package/dist/services/item-wise-mout-summary-pdf.js +2 -2
  76. package/dist/services/item-wise-sales-pdf.service.js +6 -6
  77. package/dist/services/manf-wise-sales-pdf.service.js +5 -5
  78. package/dist/services/meeting-pdf.js +14 -14
  79. package/dist/services/mout-pdf.service.js +17 -17
  80. package/dist/services/next-service-date-pdf.service.js +1 -1
  81. package/dist/services/operator-wise-details-pdf.service.js +8 -8
  82. package/dist/services/operator-wise-summary-pdf.js +7 -7
  83. package/dist/services/pack-ship-pdf.service.js +3 -3
  84. package/dist/services/pack-ship-print.service.js +26 -26
  85. package/dist/services/payment-pdf.service.js +4 -4
  86. package/dist/services/payment-report-pdf.service.js +3 -3
  87. package/dist/services/po-totals.service.js +28 -28
  88. package/dist/services/pos-receipt-pdf.js +19 -19
  89. package/dist/services/purchase-order-pdf.service.js +40 -40
  90. package/dist/services/purchase-order-print.service.js +43 -43
  91. package/dist/services/purchase-order-totals.service.js +53 -53
  92. package/dist/services/receipt-print.service.js +5 -5
  93. package/dist/services/reorder-point-pdf.service.js +3 -3
  94. package/dist/services/repair-orders-pdf.service.js +3 -3
  95. package/dist/services/ro-pdf.service.js +80 -80
  96. package/dist/services/ro-print-service.js +87 -87
  97. package/dist/services/ro-totals.service.js +123 -123
  98. package/dist/services/sales-by-service-pdf.service.js +6 -6
  99. package/dist/services/sales-pdf.service.js +23 -23
  100. package/dist/services/sales-print.service.js +54 -54
  101. package/dist/services/sales-receipt-pdf.service.js +25 -25
  102. package/dist/services/sales-receipt-print.service.js +62 -62
  103. package/dist/services/sales-totals.service.js +33 -33
  104. package/dist/services/scheduled-drug-pdf.service.js +7 -7
  105. package/dist/services/scheduled-drug-summary-pdf.service.js +4 -4
  106. package/dist/services/separate-wo-print.service.js +9 -9
  107. package/dist/services/shared-inv-pdf.service.js +44 -44
  108. package/dist/services/shared-pdf.service.js +119 -119
  109. package/dist/services/shared-print.service.js +68 -68
  110. package/dist/services/task-pdf.service.js +10 -10
  111. package/dist/services/task-reports-pdf.service.js +9 -9
  112. package/dist/services/technician-pdf.service.js +10 -10
  113. package/dist/services/technician-print.service.js +9 -9
  114. package/dist/services/vendor-balances-pdf.service.js +6 -6
  115. package/dist/services/vendor-credit-note-pdf.service.js +27 -27
  116. package/dist/services/vendor-credit-note-print.service.js +29 -29
  117. package/dist/services/vendor-credit-note-totals.service.js +37 -37
  118. package/dist/services/vendor-debit-note-pdf.service.js +16 -16
  119. package/dist/services/vendor-debit-note-print.service.js +29 -29
  120. package/dist/services/vendor-debit-note-totals.service.js +30 -30
  121. package/dist/{utils → shared}/my-date.js +31 -31
  122. package/package.json +1 -1
  123. package/dist/services/pricelist-item-final-price.service.js +0 -177
  124. /package/dist/{utils/tr-utils.js → shared/utils.js} +0 -0
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeliveryChallanTotalsService = void 0;
4
4
  const aggregation_1 = require("../aggregation/aggregation");
5
- const tr_utils_1 = require("../utils/tr-utils");
5
+ const utils_1 = require("../shared/utils");
6
6
  class DeliveryChallanTotalsService {
7
7
  static GetTotalsValue(PartsList, IsIndependentTax, DetailedInfo, Disc, Perc, TaxCodes, WithItems, Settings, isRoundable) {
8
8
  // LPerc = TrUtils.SetPercToStringIfNull(LPerc);
9
- Perc = tr_utils_1.TrUtils.SetPercToStringIfNull(Perc);
9
+ Perc = utils_1.TrUtils.SetPercToStringIfNull(Perc);
10
10
  // LDisc = TrUtils.SetValueToZeroIfNull(LDisc);
11
- Disc = tr_utils_1.TrUtils.SetValueToZeroIfNull(Disc);
11
+ Disc = utils_1.TrUtils.SetValueToZeroIfNull(Disc);
12
12
  PartsList = this.CalculateLaborPartValues(PartsList, IsIndependentTax);
13
13
  let finalTotalsData = this.GetFinalChallanDataForSave(PartsList, IsIndependentTax, Disc, Perc, DetailedInfo, Settings, isRoundable);
14
14
  if (DetailedInfo) {
@@ -29,7 +29,7 @@ class DeliveryChallanTotalsService {
29
29
  static ResetLaborPartValues(PartsList, IsIndependentTax) {
30
30
  PartsList.forEach((Part) => {
31
31
  Part = this.ResetLaborPartValueIfInvalid(Part);
32
- Part.DiscountedPrice = (0, aggregation_1.addition)(Part.Disc, tr_utils_1.TrUtils.SetValueToZeroIfNull(Part.RecDisc));
32
+ Part.DiscountedPrice = (0, aggregation_1.addition)(Part.Disc, utils_1.TrUtils.SetValueToZeroIfNull(Part.RecDisc));
33
33
  let NetAmt = (0, aggregation_1.subtraction)(Part.UnAmt, Part.Disc, Part.RecDisc);
34
34
  Part.AfterPartDisc = NetAmt;
35
35
  if (IsIndependentTax) {
@@ -42,12 +42,12 @@ class DeliveryChallanTotalsService {
42
42
  return PartsList;
43
43
  }
44
44
  static ResetLaborPartValueIfInvalid(Part) {
45
- Part.UnPr = tr_utils_1.TrUtils.SetValueToZeroIfNull(Part.UnPr);
46
- Part.Disc = tr_utils_1.TrUtils.SetValueToZeroIfNull(Part.Disc);
47
- Part.RecDisc = tr_utils_1.TrUtils.SetValueToZeroIfNull(Part.RecDisc);
48
- Part.CGST = tr_utils_1.TrUtils.SetValueToZeroIfNull(Part.CGST);
49
- Part.SGST = tr_utils_1.TrUtils.SetValueToZeroIfNull(Part.SGST);
50
- Part.IGST = tr_utils_1.TrUtils.SetValueToZeroIfNull(Part.IGST);
45
+ Part.UnPr = utils_1.TrUtils.SetValueToZeroIfNull(Part.UnPr);
46
+ Part.Disc = utils_1.TrUtils.SetValueToZeroIfNull(Part.Disc);
47
+ Part.RecDisc = utils_1.TrUtils.SetValueToZeroIfNull(Part.RecDisc);
48
+ Part.CGST = utils_1.TrUtils.SetValueToZeroIfNull(Part.CGST);
49
+ Part.SGST = utils_1.TrUtils.SetValueToZeroIfNull(Part.SGST);
50
+ Part.IGST = utils_1.TrUtils.SetValueToZeroIfNull(Part.IGST);
51
51
  return Part;
52
52
  }
53
53
  static GetFinalChallanDataForSave(PartsList, IsIndependentTax, Disc, Perc, DetailedInfo, Settings, isRoundable) {
@@ -75,15 +75,15 @@ class DeliveryChallanTotalsService {
75
75
  let CustTotal = this.GetCustomerTotalBasedOnTaxType(CustPartTaxTotal, PartsList, IsIndependentTax);
76
76
  // console.log('CustTotal', CustTotal);
77
77
  if (isRoundable) {
78
- finalTotalsData.Round = tr_utils_1.TrUtils.FixedTo(Math.round(CustTotal) - CustTotal);
78
+ finalTotalsData.Round = utils_1.TrUtils.FixedTo(Math.round(CustTotal) - CustTotal);
79
79
  finalTotalsData.Total = Math.round(CustTotal);
80
80
  }
81
81
  else {
82
- finalTotalsData.Total = tr_utils_1.TrUtils.FixedTo(CustTotal);
82
+ finalTotalsData.Total = utils_1.TrUtils.FixedTo(CustTotal);
83
83
  }
84
84
  if (DetailedInfo) {
85
- finalTotalsData.FixedSubTotal = tr_utils_1.TrUtils.FixedTo(CustomerAfterDiscTotals);
86
- finalTotalsData.FixedTotal = tr_utils_1.TrUtils.FixedTo(CustTotal);
85
+ finalTotalsData.FixedSubTotal = utils_1.TrUtils.FixedTo(CustomerAfterDiscTotals);
86
+ finalTotalsData.FixedTotal = utils_1.TrUtils.FixedTo(CustTotal);
87
87
  }
88
88
  return finalTotalsData;
89
89
  }
@@ -116,21 +116,21 @@ class DeliveryChallanTotalsService {
116
116
  // finalTotalsData.CustPartIGST = this.GetPartIGSTTaxTotal(PartsList, IsIndependentTax);
117
117
  // finalTotalsData.CustPartSGST = this.GetPartSGSTTaxTotal(PartsList, IsIndependentTax);
118
118
  let TaxInfo = this.GetPartGSTTaxTotal(PartsList, IsIndependentTax);
119
- finalTotalsData.CustPartITax = tr_utils_1.TrUtils.SetValueToZeroIfNull(TaxInfo[3]);
120
- finalTotalsData.CustPartCGST = tr_utils_1.TrUtils.SetValueToZeroIfNull(TaxInfo[0]);
121
- finalTotalsData.CustPartIGST = tr_utils_1.TrUtils.SetValueToZeroIfNull(TaxInfo[2]);
122
- finalTotalsData.CustPartSGST = tr_utils_1.TrUtils.SetValueToZeroIfNull(TaxInfo[1]);
119
+ finalTotalsData.CustPartITax = utils_1.TrUtils.SetValueToZeroIfNull(TaxInfo[3]);
120
+ finalTotalsData.CustPartCGST = utils_1.TrUtils.SetValueToZeroIfNull(TaxInfo[0]);
121
+ finalTotalsData.CustPartIGST = utils_1.TrUtils.SetValueToZeroIfNull(TaxInfo[2]);
122
+ finalTotalsData.CustPartSGST = utils_1.TrUtils.SetValueToZeroIfNull(TaxInfo[1]);
123
123
  // finalTotalsData.CustLaborAfterTax = TrUtils.FixedTo(finalTotalsData.CustLaborITax + finalTotalsData.CustLaborTotalAfterDisc);
124
124
  finalTotalsData.CustPartAfterTax = (0, aggregation_1.addition)(finalTotalsData.CustPartITax, finalTotalsData.CustPartsTotalAfterDisc);
125
125
  finalTotalsData.CustTaxGroupData = this.GetTaxGroupingForPartsByHSN(PartsList, TaxCodes);
126
- finalTotalsData.CustTotalRoundedBy = tr_utils_1.TrUtils.FixedTo(finalTotalsData.Round);
127
- finalTotalsData.CustRoundedTotal = tr_utils_1.TrUtils.FixedTo(finalTotalsData.Total);
126
+ finalTotalsData.CustTotalRoundedBy = utils_1.TrUtils.FixedTo(finalTotalsData.Round);
127
+ finalTotalsData.CustRoundedTotal = utils_1.TrUtils.FixedTo(finalTotalsData.Total);
128
128
  for (var key in finalTotalsData) {
129
129
  if (key !== 'Total' && key !== 'SubTotal' &&
130
130
  key !== 'LDisc' && key !== 'LPerc' && key !== 'PDisc' &&
131
131
  key !== 'PPerc' && key !== 'Disc' && key !== 'Perc' && key !== 'Tax'
132
132
  && typeof finalTotalsData[key] === 'number') {
133
- finalTotalsData[key] = tr_utils_1.TrUtils.FixPriceValue(finalTotalsData[key]);
133
+ finalTotalsData[key] = utils_1.TrUtils.FixPriceValue(finalTotalsData[key]);
134
134
  }
135
135
  }
136
136
  return finalTotalsData;
@@ -170,8 +170,8 @@ class DeliveryChallanTotalsService {
170
170
  }
171
171
  static LaborTotalAfterDiscount(LaborTotalAfterDisc, LaborTaxAmount, MainLDisc, LDiscInPerc) {
172
172
  let LaborTotal = (0, aggregation_1.addition)(LaborTotalAfterDisc, LaborTaxAmount);
173
- if (!tr_utils_1.TrUtils.IsZero(MainLDisc)) {
174
- if (!tr_utils_1.TrUtils.IsEmpty(LDiscInPerc)) {
173
+ if (!utils_1.TrUtils.IsZero(MainLDisc)) {
174
+ if (!utils_1.TrUtils.IsEmpty(LDiscInPerc)) {
175
175
  LaborTotal = (0, aggregation_1.subtraction)(LaborTotal, (0, aggregation_1.division)((0, aggregation_1.multiply)(LaborTotal, Number(LDiscInPerc)), 100));
176
176
  }
177
177
  else {
@@ -182,8 +182,8 @@ class DeliveryChallanTotalsService {
182
182
  }
183
183
  static ItemsTotalAfterDiscount(PartsTotalAfterDisc, PartsTaxAmount, MainPDisc, PDiscInPerc) {
184
184
  let ItemsTotal = (0, aggregation_1.addition)(PartsTotalAfterDisc, PartsTaxAmount);
185
- if (!tr_utils_1.TrUtils.IsZero(MainPDisc)) {
186
- if (!tr_utils_1.TrUtils.IsEmpty(PDiscInPerc)) {
185
+ if (!utils_1.TrUtils.IsZero(MainPDisc)) {
186
+ if (!utils_1.TrUtils.IsEmpty(PDiscInPerc)) {
187
187
  ItemsTotal = (0, aggregation_1.subtraction)(ItemsTotal, (0, aggregation_1.division)((0, aggregation_1.multiply)(ItemsTotal, Number(PDiscInPerc)), 100));
188
188
  }
189
189
  else {
@@ -242,13 +242,13 @@ class DeliveryChallanTotalsService {
242
242
  }
243
243
  static GetCombinedTaxPercentage(Parts, TaxCodes) {
244
244
  Parts.forEach((Part) => {
245
- if (tr_utils_1.TrUtils.IsNull(Part.HSN)) {
245
+ if (utils_1.TrUtils.IsNull(Part.HSN)) {
246
246
  Part.HSN = '';
247
247
  }
248
248
  let GSTValues = this.GetGSTValueBasedOnTaxCode(Part.TCode, TaxCodes);
249
- Part.CGSTAmt = tr_utils_1.TrUtils.SetValueToZeroIfNull(GSTValues[0]);
250
- Part.SGSTAmt = tr_utils_1.TrUtils.SetValueToZeroIfNull(GSTValues[1]);
251
- Part.IGSTAmt = tr_utils_1.TrUtils.SetValueToZeroIfNull(GSTValues[2]);
249
+ Part.CGSTAmt = utils_1.TrUtils.SetValueToZeroIfNull(GSTValues[0]);
250
+ Part.SGSTAmt = utils_1.TrUtils.SetValueToZeroIfNull(GSTValues[1]);
251
+ Part.IGSTAmt = utils_1.TrUtils.SetValueToZeroIfNull(GSTValues[2]);
252
252
  Part.CombinedTaxPercentage = (0, aggregation_1.addition)(Part.CGSTAmt, Part.SGSTAmt, Part.IGSTAmt);
253
253
  });
254
254
  return Parts;
@@ -299,8 +299,8 @@ class DeliveryChallanTotalsService {
299
299
  TaxAmount = (0, aggregation_1.addition)(TaxAmount, argMatchedGSTPart.SGST);
300
300
  });
301
301
  TaxInfo.HSN = HSN;
302
- TaxInfo.TotalTaxableAmount = tr_utils_1.TrUtils.FixPriceValue(TaxOnAmount);
303
- TaxInfo.TotalTaxAmount = tr_utils_1.TrUtils.FixPriceValue(TaxAmount);
302
+ TaxInfo.TotalTaxableAmount = utils_1.TrUtils.FixPriceValue(TaxOnAmount);
303
+ TaxInfo.TotalTaxAmount = utils_1.TrUtils.FixPriceValue(TaxAmount);
304
304
  TaxInfo.ItemsCount = MatchedPart.length;
305
305
  // let GSTValues: any[] = this.GetGSTValueBasedOnTaxCode(MatchedPart[0].TCode, TaxCodes);
306
306
  // TaxInfo.CGST = GSTValues[0];
@@ -319,7 +319,7 @@ class DeliveryChallanTotalsService {
319
319
  let CGST = 0;
320
320
  let SGST = 0;
321
321
  let IGST = 0;
322
- if (tr_utils_1.TrUtils.IsNull(TCode)) {
322
+ if (utils_1.TrUtils.IsNull(TCode)) {
323
323
  return [CGST, SGST, IGST];
324
324
  }
325
325
  let TCodeIndex = TaxCodes.findIndex((TaxCode) => {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EquipmentDesignPdf = void 0;
4
4
  const shared_print_service_1 = require("./shared-print.service");
5
5
  const shared_pdf_service_1 = require("./shared-pdf.service");
6
- const tr_utils_1 = require("../utils/tr-utils");
6
+ const utils_1 = require("../shared/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(tr_utils_1.TrUtils.Stringify(Entity), '', null);
26
+ let EntityData = shared_print_service_1.PrintSharedService.GetFormattedEntityDataForPrint(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 tr_utils_1.TrUtils.IsNull(site.Parent);
48
+ return 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 (tr_utils_1.TrUtils.IsNull(Itemdata.TR)) {
61
+ if (utils_1.TrUtils.IsNull(Itemdata.TR)) {
62
62
  Itemdata.TR = '';
63
63
  }
64
- if (tr_utils_1.TrUtils.IsNull(Itemdata.Model)) {
64
+ if (utils_1.TrUtils.IsNull(Itemdata.Model)) {
65
65
  Itemdata.Model = '';
66
66
  }
67
- if (tr_utils_1.TrUtils.IsNull(item.Qty)) {
67
+ if (utils_1.TrUtils.IsNull(item.Qty)) {
68
68
  item.Qty = '';
69
69
  }
70
- if (tr_utils_1.TrUtils.IsNull(item.children) || item.children.length === 0) {
70
+ if (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 (tr_utils_1.TrUtils.IsNull(Itemdata.TR)) {
108
+ if (utils_1.TrUtils.IsNull(Itemdata.TR)) {
109
109
  Itemdata.TR = '';
110
110
  }
111
- if (tr_utils_1.TrUtils.IsNull(Itemdata.Model)) {
111
+ if (utils_1.TrUtils.IsNull(Itemdata.Model)) {
112
112
  Itemdata.Model = '';
113
113
  }
114
- if (tr_utils_1.TrUtils.IsNull(child.Qty)) {
114
+ if (utils_1.TrUtils.IsNull(child.Qty)) {
115
115
  child.Qty = '';
116
116
  }
117
117
  if (child.children.length === 0) {