shareneus 1.5.1 → 1.5.3

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 (48) hide show
  1. package/dist/accounting/counter-sales/sales-receipt-print.service.js +8 -9
  2. package/dist/accounting/credit-note/cn-print.service.js +7 -7
  3. package/dist/accounting/credit-note/credit-note-totals.service.d.ts +2 -2
  4. package/dist/accounting/credit-note/credit-note-totals.service.js +33 -33
  5. package/dist/accounting/debit-note/debit-note-print.service.js +8 -8
  6. package/dist/accounting/debit-note/debit-note-totals.service.d.ts +2 -2
  7. package/dist/accounting/debit-note/debit-note-totals.service.js +27 -27
  8. package/dist/accounting/invoice/inv-pdf.service.js +12 -12
  9. package/dist/accounting/invoice/inv-print.service.js +11 -11
  10. package/dist/accounting/invoice/invoice-landscape-pdf.service.js +4 -4
  11. package/dist/accounting/invoice/invoice-letterhead-pdf.service.js +12 -12
  12. package/dist/accounting/invoice/invoice-portrait-pdf.js +5 -5
  13. package/dist/accounting/invoice/invoice-total.service.d.ts +8 -8
  14. package/dist/accounting/invoice/invoice-total.service.js +79 -79
  15. package/dist/accounting/invoice/reports/excel/items-wise-sales-excel.service.js +2 -2
  16. package/dist/accounting/invoice/reports/excel/sa-wise-labor-sales-excel.service.js +4 -4
  17. package/dist/accounting/invoice/reports/excel/sa-wise-part-sales-excel.service.js +4 -4
  18. package/dist/accounting/invoice/reports/excel/sale-summary-excel.service.js +3 -3
  19. package/dist/accounting/invoice/reports/excel/sales-by-service-summary-excel.service.js +3 -3
  20. package/dist/accounting/invoice/reports/pdf/item-wise-sales-pdf.service.js +2 -2
  21. package/dist/accounting/invoice/reports/pdf/manf-wise-sales-pdf.service.js +2 -2
  22. package/dist/accounting/invoice/reports/pdf/sales-by-service-pdf.service.js +2 -2
  23. package/dist/appointments/appointments/appointment-total.service.js +12 -12
  24. package/dist/appointments/consultations/consultation-fee-receipt.service.js +2 -2
  25. package/dist/purchases/purchase-order/po-totals.service.js +13 -13
  26. package/dist/purchases/purchase-order/purchase-order-totals.service.d.ts +1 -1
  27. package/dist/purchases/purchase-order/purchase-order-totals.service.js +58 -58
  28. package/dist/purchases/vendor-credit-note/vendor-credit-note-totals.service.d.ts +1 -1
  29. package/dist/purchases/vendor-credit-note/vendor-credit-note-totals.service.js +20 -20
  30. package/dist/purchases/vendor-debit-note/vendor-debit-note-print.service.js +7 -7
  31. package/dist/purchases/vendor-debit-note/vendor-debit-note-totals.service.d.ts +2 -2
  32. package/dist/purchases/vendor-debit-note/vendor-debit-note-totals.service.js +26 -26
  33. package/dist/sales/delivery-challan/dc-landscape-pdf.service.js +4 -4
  34. package/dist/sales/delivery-challan/delivery-challan-print.service.js +7 -7
  35. package/dist/sales/delivery-challan/delivery-challan-totals.js +35 -35
  36. package/dist/sales/sales/sales-print.service.js +9 -9
  37. package/dist/sales/sales/sales-totals.service.js +32 -32
  38. package/dist/sales-receive/sales-receive-print.service.js +10 -10
  39. package/dist/sales-receive/sales-receive-totals.service.d.ts +2 -2
  40. package/dist/sales-receive/sales-receive-totals.service.js +32 -32
  41. package/dist/sales-receive/sales-total-calculation.js +1 -1
  42. package/dist/services/est.print-service.js +5 -5
  43. package/dist/services/ro-print-service.js +13 -13
  44. package/dist/services/ro-totals.service.d.ts +4 -4
  45. package/dist/services/ro-totals.service.js +140 -140
  46. package/dist/shared/math-operations.js +46 -41
  47. package/dist/shared/shared-pdf.service.js +8 -8
  48. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ROTotalsService = void 0;
4
- const aggregation_1 = require("../aggregation/aggregation");
5
4
  const enums_1 = require("../enums/enums");
5
+ const math_operations_1 = require("../shared/math-operations");
6
6
  const tr_utils_1 = require("../utils/tr-utils");
7
7
  class ROTotalsService {
8
8
  static GetTotalsValue(OriRecordData, TaxCodes, isWorkOrder, detailedInfo, withItems, isRoundable, EntitySettings) {
@@ -57,14 +57,14 @@ class ROTotalsService {
57
57
  static GetOperationsDiscountPrice(OperationsList, isWorkOrder) {
58
58
  OperationsList.forEach((Operation) => {
59
59
  if (isWorkOrder) {
60
- Operation.CustDiscountedPrice = (0, aggregation_1.addition)(Operation.Disc, Operation.RecDisc);
60
+ Operation.CustDiscountedPrice = (0, math_operations_1.Add)(Operation.Disc, Operation.RecDisc);
61
61
  }
62
62
  else {
63
63
  if (Operation.Sts === enums_1.LaborStatusEnum.New || Operation.Sts === enums_1.LaborStatusEnum.WtngForAppr) {
64
64
  Operation.CustDiscountedPrice = 0;
65
65
  }
66
66
  else {
67
- Operation.CustDiscountedPrice = (0, aggregation_1.addition)(Operation.Disc, Operation.RecDisc);
67
+ Operation.CustDiscountedPrice = (0, math_operations_1.Add)(Operation.Disc, Operation.RecDisc);
68
68
  }
69
69
  }
70
70
  });
@@ -116,31 +116,31 @@ class ROTotalsService {
116
116
  else {
117
117
  if (Operation.PBy === enums_1.PayTypeEnum.Customer) {
118
118
  if (isWorkOrder) {
119
- Operation.CustAfterTax = (0, aggregation_1.addition)(Operation.CustAfterLaborDisc, Operation.CCGST, Operation.CSGST, Operation.CIGST);
119
+ Operation.CustAfterTax = (0, math_operations_1.Add)(Operation.CustAfterLaborDisc, Operation.CCGST, Operation.CSGST, Operation.CIGST);
120
120
  }
121
121
  else {
122
122
  if (Operation.Sts !== enums_1.LaborStatusEnum.New && Operation.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
123
- Operation.CustAfterTax = (0, aggregation_1.addition)(Operation.CustAfterLaborDisc, Operation.CCGST, Operation.CSGST, Operation.CIGST);
123
+ Operation.CustAfterTax = (0, math_operations_1.Add)(Operation.CustAfterLaborDisc, Operation.CCGST, Operation.CSGST, Operation.CIGST);
124
124
  }
125
125
  else {
126
- Operation.CustAfterTax = (0, aggregation_1.addition)(Operation.CustAfterLaborDisc, Operation.ECGST, Operation.ESGST, Operation.EIGST);
126
+ Operation.CustAfterTax = (0, math_operations_1.Add)(Operation.CustAfterLaborDisc, Operation.ECGST, Operation.ESGST, Operation.EIGST);
127
127
  }
128
128
  }
129
129
  Operation.InsAfterTax = 0;
130
130
  }
131
131
  else {
132
132
  if (isWorkOrder) {
133
- Operation.CustAfterTax = (0, aggregation_1.addition)(Operation.CustAfterLaborDisc, Operation.CCGST, Operation.CSGST, Operation.CIGST);
134
- Operation.InsAfterTax = (0, aggregation_1.addition)(Operation.InsAfterLaborDisc, Operation.ACGST, Operation.ASGST, Operation.AIGST);
133
+ Operation.CustAfterTax = (0, math_operations_1.Add)(Operation.CustAfterLaborDisc, Operation.CCGST, Operation.CSGST, Operation.CIGST);
134
+ Operation.InsAfterTax = (0, math_operations_1.Add)(Operation.InsAfterLaborDisc, Operation.ACGST, Operation.ASGST, Operation.AIGST);
135
135
  }
136
136
  else {
137
137
  if (Operation.Sts !== enums_1.LaborStatusEnum.New && Operation.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
138
- Operation.CustAfterTax = (0, aggregation_1.addition)(Operation.CustAfterLaborDisc, Operation.CCGST, Operation.CSGST, Operation.CIGST);
139
- Operation.InsAfterTax = (0, aggregation_1.addition)(Operation.InsAfterLaborDisc, Operation.ACGST, Operation.ASGST, Operation.AIGST);
138
+ Operation.CustAfterTax = (0, math_operations_1.Add)(Operation.CustAfterLaborDisc, Operation.CCGST, Operation.CSGST, Operation.CIGST);
139
+ Operation.InsAfterTax = (0, math_operations_1.Add)(Operation.InsAfterLaborDisc, Operation.ACGST, Operation.ASGST, Operation.AIGST);
140
140
  }
141
141
  else {
142
142
  Operation.CustAfterTax = 0;
143
- Operation.InsAfterTax = (0, aggregation_1.addition)(Operation.InsAfterLaborDisc, Operation.ECGST, Operation.ESGST, Operation.EIGST);
143
+ Operation.InsAfterTax = (0, math_operations_1.Add)(Operation.InsAfterLaborDisc, Operation.ECGST, Operation.ESGST, Operation.EIGST);
144
144
  }
145
145
  }
146
146
  }
@@ -202,7 +202,7 @@ class ROTotalsService {
202
202
  PartsList.forEach((Part) => {
203
203
  if (tr_utils_1.TrUtils.IsNull(Part.CollId)) {
204
204
  if (isWorkOrder) {
205
- Part.CustDiscountedPrice = (0, aggregation_1.addition)(Part.Disc, Part.RecDisc);
205
+ Part.CustDiscountedPrice = (0, math_operations_1.Add)(Part.Disc, Part.RecDisc);
206
206
  }
207
207
  else {
208
208
  let LaborSts = this.GetPartParentStatus(Part, LaborList);
@@ -210,20 +210,20 @@ class ROTotalsService {
210
210
  Part.CustDiscountedPrice = 0;
211
211
  }
212
212
  else {
213
- Part.CustDiscountedPrice = (0, aggregation_1.addition)(Part.Disc, Part.RecDisc);
213
+ Part.CustDiscountedPrice = (0, math_operations_1.Add)(Part.Disc, Part.RecDisc);
214
214
  }
215
215
  }
216
216
  }
217
217
  else {
218
218
  if (isWorkOrder) {
219
- Part.CustDiscountedPrice = (0, aggregation_1.addition)(Part.Disc, Part.RecDisc);
219
+ Part.CustDiscountedPrice = (0, math_operations_1.Add)(Part.Disc, Part.RecDisc);
220
220
  }
221
221
  else {
222
222
  if (Part.Sts === enums_1.LaborStatusEnum.New || Part.Sts === enums_1.LaborStatusEnum.WtngForAppr) {
223
223
  Part.CustDiscountedPrice = 0;
224
224
  }
225
225
  else {
226
- Part.CustDiscountedPrice = (0, aggregation_1.addition)(Part.Disc, Part.RecDisc);
226
+ Part.CustDiscountedPrice = (0, math_operations_1.Add)(Part.Disc, Part.RecDisc);
227
227
  }
228
228
  }
229
229
  }
@@ -313,20 +313,20 @@ class ROTotalsService {
313
313
  else {
314
314
  if (tr_utils_1.TrUtils.IsNull(Part.CollId)) {
315
315
  if (isWorkOrder) {
316
- Part.CustAfterTax = (0, aggregation_1.addition)(Part.CustAfterPartDisc, Part.CCGST, Part.CSGST, Part.CIGST);
316
+ Part.CustAfterTax = (0, math_operations_1.Add)(Part.CustAfterPartDisc, Part.CCGST, Part.CSGST, Part.CIGST);
317
317
  if (tr_utils_1.TrUtils.IsNull(Part.OpId)) {
318
- Part.InsAfterTax = (0, aggregation_1.addition)(Part.InsAfterPartDisc, Part.ACGST, Part.ASGST, Part.AIGST);
318
+ Part.InsAfterTax = (0, math_operations_1.Add)(Part.InsAfterPartDisc, Part.ACGST, Part.ASGST, Part.AIGST);
319
319
  }
320
320
  }
321
321
  else {
322
322
  let LaborSts = this.GetPartParentStatus(Part, LaborList);
323
323
  if (LaborSts === enums_1.LaborStatusEnum.New || LaborSts === enums_1.LaborStatusEnum.WtngForAppr) {
324
- Part.CustAfterTax = (0, aggregation_1.addition)(Part.CustAfterPartDisc, Part.ECGST, Part.ESGST, Part.EIGST);
324
+ Part.CustAfterTax = (0, math_operations_1.Add)(Part.CustAfterPartDisc, Part.ECGST, Part.ESGST, Part.EIGST);
325
325
  }
326
326
  else {
327
- Part.CustAfterTax = (0, aggregation_1.addition)(Part.CustAfterPartDisc, Part.CCGST, Part.CSGST, Part.CIGST);
327
+ Part.CustAfterTax = (0, math_operations_1.Add)(Part.CustAfterPartDisc, Part.CCGST, Part.CSGST, Part.CIGST);
328
328
  if (tr_utils_1.TrUtils.IsNull(Part.OpId)) {
329
- Part.InsAfterTax = (0, aggregation_1.addition)(Part.InsAfterPartDisc, Part.ACGST, Part.ASGST, Part.AIGST);
329
+ Part.InsAfterTax = (0, math_operations_1.Add)(Part.InsAfterPartDisc, Part.ACGST, Part.ASGST, Part.AIGST);
330
330
  }
331
331
  }
332
332
  }
@@ -335,31 +335,31 @@ class ROTotalsService {
335
335
  else {
336
336
  if (Part.PBy === enums_1.PayTypeEnum.Customer) {
337
337
  if (isWorkOrder) {
338
- Part.CustAfterTax = (0, aggregation_1.addition)(Part.CustAfterPartDisc, Part.CCGST, Part.CSGST, Part.CIGST);
338
+ Part.CustAfterTax = (0, math_operations_1.Add)(Part.CustAfterPartDisc, Part.CCGST, Part.CSGST, Part.CIGST);
339
339
  }
340
340
  else {
341
341
  if (Part.Sts !== enums_1.LaborStatusEnum.New && Part.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
342
- Part.CustAfterTax = (0, aggregation_1.addition)(Part.CustAfterPartDisc, Part.CCGST, Part.CSGST, Part.CIGST);
342
+ Part.CustAfterTax = (0, math_operations_1.Add)(Part.CustAfterPartDisc, Part.CCGST, Part.CSGST, Part.CIGST);
343
343
  }
344
344
  else {
345
- Part.CustAfterTax = (0, aggregation_1.addition)(Part.CustAfterPartDisc, Part.ECGST, Part.ESGST, Part.EIGST);
345
+ Part.CustAfterTax = (0, math_operations_1.Add)(Part.CustAfterPartDisc, Part.ECGST, Part.ESGST, Part.EIGST);
346
346
  }
347
347
  }
348
348
  Part.InsAfterTax = 0;
349
349
  }
350
350
  else {
351
351
  if (isWorkOrder) {
352
- Part.CustAfterTax = (0, aggregation_1.addition)(Part.CustAfterPartDisc, Part.CCGST, Part.CSGST, Part.CIGST);
353
- Part.InsAfterTax = (0, aggregation_1.addition)(Part.InsAfterPartDisc, Part.ACGST, Part.ASGST, Part.AIGST);
352
+ Part.CustAfterTax = (0, math_operations_1.Add)(Part.CustAfterPartDisc, Part.CCGST, Part.CSGST, Part.CIGST);
353
+ Part.InsAfterTax = (0, math_operations_1.Add)(Part.InsAfterPartDisc, Part.ACGST, Part.ASGST, Part.AIGST);
354
354
  }
355
355
  else {
356
356
  if (Part.Sts !== enums_1.LaborStatusEnum.New && Part.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
357
- Part.CustAfterTax = (0, aggregation_1.addition)(Part.CustAfterPartDisc, Part.CCGST, Part.CSGST, Part.CIGST);
358
- Part.InsAfterTax = (0, aggregation_1.addition)(Part.InsAfterPartDisc, Part.ACGST, Part.ASGST, Part.AIGST);
357
+ Part.CustAfterTax = (0, math_operations_1.Add)(Part.CustAfterPartDisc, Part.CCGST, Part.CSGST, Part.CIGST);
358
+ Part.InsAfterTax = (0, math_operations_1.Add)(Part.InsAfterPartDisc, Part.ACGST, Part.ASGST, Part.AIGST);
359
359
  }
360
360
  else {
361
361
  Part.CustAfterTax = 0;
362
- Part.InsAfterTax = (0, aggregation_1.addition)(Part.InsAfterPartDisc, Part.ECGST, Part.ESGST, Part.EIGST);
362
+ Part.InsAfterTax = (0, math_operations_1.Add)(Part.InsAfterPartDisc, Part.ECGST, Part.ESGST, Part.EIGST);
363
363
  }
364
364
  }
365
365
  }
@@ -370,8 +370,8 @@ class ROTotalsService {
370
370
  }
371
371
  static GetPartsPerItemAfterTax(PartsList) {
372
372
  PartsList.forEach((Part) => {
373
- Part.CustAfterTaxPerItem = (0, aggregation_1.division)(Part.CustAfterTax, Part.Qty);
374
- Part.InsAfterTaxPerItem = (0, aggregation_1.division)(Part.InsAfterTax, Part.Qty);
373
+ Part.CustAfterTaxPerItem = (0, math_operations_1.Divide)(Part.CustAfterTax, Part.Qty);
374
+ Part.InsAfterTaxPerItem = (0, math_operations_1.Divide)(Part.InsAfterTax, Part.Qty);
375
375
  });
376
376
  return PartsList;
377
377
  }
@@ -421,9 +421,9 @@ class ROTotalsService {
421
421
  let CustPartsDiscTotal = this.GetCustPartDiscountedTotal(dupRecordData.Parts, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax), dupRecordData);
422
422
  let CustLaborTotalAfterDisc = this.GetCustLaborTotalAfterDiscount(dupRecordData.Ops);
423
423
  let CustPartsTotalAfterDisc = this.GetCustPartsTotalAfterDiscount(dupRecordData.Parts);
424
- argRecordData.STotal = (0, aggregation_1.addition)(CustLaborDiscTotal, CustPartsDiscTotal, CustLaborTotalAfterDisc, CustPartsTotalAfterDisc);
425
- argRecordData.CustLaborTotalBeforeDisc = (0, aggregation_1.addition)(argRecordData.CustLaborTotalAfterDisc, argRecordData.CustLaborDiscTotal);
426
- argRecordData.CustPartsTotalBeforeDisc = (0, aggregation_1.addition)(argRecordData.CustPartsTotalAfterDisc, argRecordData.CustPartsDiscTotal);
424
+ argRecordData.STotal = (0, math_operations_1.Add)(CustLaborDiscTotal, CustPartsDiscTotal, CustLaborTotalAfterDisc, CustPartsTotalAfterDisc);
425
+ argRecordData.CustLaborTotalBeforeDisc = (0, math_operations_1.Add)(argRecordData.CustLaborTotalAfterDisc, argRecordData.CustLaborDiscTotal);
426
+ argRecordData.CustPartsTotalBeforeDisc = (0, math_operations_1.Add)(argRecordData.CustPartsTotalAfterDisc, argRecordData.CustPartsDiscTotal);
427
427
  argRecordData.SubTotal = tr_utils_1.TrUtils.FixedTo(CustomerAfterDiscTotals, DecimalsNumber);
428
428
  let CustTotal = this.GetCustomerTotalBasedOnTaxType(dupRecordData, CustLaborTaxTotal, CustPartTaxTotal, dupRecordData.Ops, dupRecordData.Parts, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax));
429
429
  if (detailedInfo) {
@@ -431,7 +431,7 @@ class ROTotalsService {
431
431
  argRecordData.FixedTotal = tr_utils_1.TrUtils.FixedTo(CustTotal, DecimalsNumber);
432
432
  }
433
433
  if (isRoundable) {
434
- argRecordData.Round = (0, aggregation_1.subtraction)(Math.round(CustTotal), CustTotal);
434
+ argRecordData.Round = (0, math_operations_1.Subtract)(Math.round(CustTotal), CustTotal);
435
435
  argRecordData.Total = Math.round(CustTotal);
436
436
  }
437
437
  else {
@@ -442,19 +442,19 @@ class ROTotalsService {
442
442
  static GetCustSubTotal(LaborList, PartsList) {
443
443
  let LaborTotalAfterDisc = this.GetCustLaborTotalAfterDiscount(LaborList);
444
444
  let PartsTotalAfterDisc = this.GetCustPartsTotalAfterDiscount(PartsList);
445
- return (0, aggregation_1.addition)(LaborTotalAfterDisc, PartsTotalAfterDisc);
445
+ return (0, math_operations_1.Add)(LaborTotalAfterDisc, PartsTotalAfterDisc);
446
446
  }
447
447
  static GetCustLaborTotalAfterDiscount(LaborList) {
448
448
  let LaborTotalAfterDisc = 0;
449
449
  LaborList.forEach((Labor) => {
450
- LaborTotalAfterDisc = (0, aggregation_1.addition)(LaborTotalAfterDisc, Labor.CustAfterLaborDisc);
450
+ LaborTotalAfterDisc = (0, math_operations_1.Add)(LaborTotalAfterDisc, Labor.CustAfterLaborDisc);
451
451
  });
452
452
  return LaborTotalAfterDisc;
453
453
  }
454
454
  static GetCustPartsTotalAfterDiscount(PartsList) {
455
455
  let PartsTotalAfterDisc = 0;
456
456
  PartsList.forEach((Part) => {
457
- PartsTotalAfterDisc = (0, aggregation_1.addition)(PartsTotalAfterDisc, Part.CustAfterPartDisc);
457
+ PartsTotalAfterDisc = (0, math_operations_1.Add)(PartsTotalAfterDisc, Part.CustAfterPartDisc);
458
458
  });
459
459
  return PartsTotalAfterDisc;
460
460
  }
@@ -465,19 +465,19 @@ class ROTotalsService {
465
465
  if (isWorkOrder) {
466
466
  // if (Labor.PBy === PayTypeEnum.Customer) {
467
467
  if ((Labor.PBy === enums_1.PayTypeEnum.Customer || Labor.PBy === enums_1.PayTypeEnum.Shared)) {
468
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.CCGST, Labor.CSGST, Labor.CIGST);
468
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.CCGST, Labor.CSGST, Labor.CIGST);
469
469
  }
470
470
  // }else{
471
- // TotalTaxAmt = addition(TotalTaxAmt , Labor.ACGST , Labor.ASGST , Labor.AIGST);
471
+ // TotalTaxAmt = Add(TotalTaxAmt , Labor.ACGST , Labor.ASGST , Labor.AIGST);
472
472
  // }
473
473
  }
474
474
  else {
475
475
  if (Labor.Sts !== enums_1.LaborStatusEnum.New && Labor.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
476
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.CCGST, Labor.CSGST, Labor.CIGST);
476
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.CCGST, Labor.CSGST, Labor.CIGST);
477
477
  }
478
478
  else {
479
479
  if (Labor.PBy === enums_1.PayTypeEnum.Customer) {
480
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.ECGST, Labor.ESGST, Labor.EIGST);
480
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.ECGST, Labor.ESGST, Labor.EIGST);
481
481
  }
482
482
  }
483
483
  }
@@ -492,16 +492,16 @@ class ROTotalsService {
492
492
  if (!tr_utils_1.TrUtils.IsNull(Part.CollId)) {
493
493
  if (isWorkOrder) {
494
494
  if ((Part.PBy === enums_1.PayTypeEnum.Customer || Part.PBy === enums_1.PayTypeEnum.Shared)) {
495
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CCGST, Part.CSGST, Part.CIGST);
495
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CCGST, Part.CSGST, Part.CIGST);
496
496
  }
497
497
  }
498
498
  else {
499
499
  if (Part.Sts !== enums_1.LaborStatusEnum.New && Part.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
500
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CCGST, Part.CSGST, Part.CIGST);
500
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CCGST, Part.CSGST, Part.CIGST);
501
501
  }
502
502
  else {
503
503
  if (Part.PBy === enums_1.PayTypeEnum.Customer) {
504
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ECGST, Part.ESGST, Part.EIGST);
504
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ECGST, Part.ESGST, Part.EIGST);
505
505
  }
506
506
  }
507
507
  }
@@ -510,10 +510,10 @@ class ROTotalsService {
510
510
  if (isWorkOrder) {
511
511
  // if (Part.PBy === PayTypeEnum.Customer) {
512
512
  if ((Part.PBy === enums_1.PayTypeEnum.Customer || Part.PBy === enums_1.PayTypeEnum.Shared)) {
513
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CCGST, Part.CSGST, Part.CIGST);
513
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CCGST, Part.CSGST, Part.CIGST);
514
514
  }
515
515
  // }else{
516
- // TotalTaxAmt = addition(TotalTaxAmt , Part.ACGST , Part.ASGST , Part.AIGST);
516
+ // TotalTaxAmt = Add(TotalTaxAmt , Part.ACGST , Part.ASGST , Part.AIGST);
517
517
  // }
518
518
  }
519
519
  else {
@@ -522,14 +522,14 @@ class ROTotalsService {
522
522
  });
523
523
  if (Index !== -1) {
524
524
  if (OpsList[Index].Sts !== enums_1.LaborStatusEnum.New && OpsList[Index].Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
525
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CCGST, Part.CSGST, Part.CIGST);
525
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CCGST, Part.CSGST, Part.CIGST);
526
526
  }
527
527
  else {
528
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ECGST, Part.ESGST, Part.EIGST);
528
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ECGST, Part.ESGST, Part.EIGST);
529
529
  }
530
530
  }
531
531
  else {
532
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CCGST, Part.CSGST, Part.CIGST);
532
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CCGST, Part.CSGST, Part.CIGST);
533
533
  }
534
534
  }
535
535
  }
@@ -542,10 +542,10 @@ class ROTotalsService {
542
542
  let LaborTotalAfterDisc = this.GetCustLaborTotalAfterDiscount(LaborList);
543
543
  let PartsTotalAfterDisc = this.GetCustPartsTotalAfterDiscount(PartsList);
544
544
  if (IsTaxable) {
545
- SubTotalWithTax = (0, aggregation_1.addition)(LaborTotalAfterDisc, PartsTotalAfterDisc, LaborTaxAmount, PartsTaxAmount);
545
+ SubTotalWithTax = (0, math_operations_1.Add)(LaborTotalAfterDisc, PartsTotalAfterDisc, LaborTaxAmount, PartsTaxAmount);
546
546
  }
547
547
  else {
548
- SubTotalWithTax = (0, aggregation_1.addition)(LaborTotalAfterDisc, PartsTotalAfterDisc);
548
+ SubTotalWithTax = (0, math_operations_1.Add)(LaborTotalAfterDisc, PartsTotalAfterDisc);
549
549
  }
550
550
  return SubTotalWithTax;
551
551
  }
@@ -563,19 +563,19 @@ class ROTotalsService {
563
563
  static GetInsSubTotal(LaborList, PartsList) {
564
564
  let LaborTotalAfterDisc = this.GetInsLaborTotalAfterDiscount(LaborList);
565
565
  let PartsTotalAfterDisc = this.GetInsPartsTotalAfterDiscount(PartsList);
566
- return (0, aggregation_1.addition)(LaborTotalAfterDisc, PartsTotalAfterDisc);
566
+ return (0, math_operations_1.Add)(LaborTotalAfterDisc, PartsTotalAfterDisc);
567
567
  }
568
568
  static GetInsLaborTotalAfterDiscount(LaborList) {
569
569
  let LaborTotalAfterDisc = 0;
570
570
  LaborList.forEach((Labor) => {
571
- LaborTotalAfterDisc = (0, aggregation_1.addition)(LaborTotalAfterDisc, Labor.InsAfterLaborDisc);
571
+ LaborTotalAfterDisc = (0, math_operations_1.Add)(LaborTotalAfterDisc, Labor.InsAfterLaborDisc);
572
572
  });
573
573
  return LaborTotalAfterDisc;
574
574
  }
575
575
  static GetInsPartsTotalAfterDiscount(PartsList) {
576
576
  let PartsTotalAfterDisc = 0;
577
577
  PartsList.forEach((Part) => {
578
- PartsTotalAfterDisc = (0, aggregation_1.addition)(PartsTotalAfterDisc, Part.InsAfterPartDisc);
578
+ PartsTotalAfterDisc = (0, math_operations_1.Add)(PartsTotalAfterDisc, Part.InsAfterPartDisc);
579
579
  });
580
580
  return PartsTotalAfterDisc;
581
581
  }
@@ -585,16 +585,16 @@ class ROTotalsService {
585
585
  opCodesList.forEach((Labor) => {
586
586
  if (isWorkOrder) {
587
587
  if ((Labor.PBy === enums_1.PayTypeEnum.Insurance || Labor.PBy === enums_1.PayTypeEnum.Shared)) {
588
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.ACGST, Labor.ASGST, Labor.AIGST);
588
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.ACGST, Labor.ASGST, Labor.AIGST);
589
589
  }
590
590
  }
591
591
  else {
592
592
  if (Labor.Sts !== enums_1.LaborStatusEnum.New && Labor.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
593
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.ACGST, Labor.ASGST, Labor.AIGST);
593
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.ACGST, Labor.ASGST, Labor.AIGST);
594
594
  }
595
595
  else {
596
596
  if (Labor.PBy === enums_1.PayTypeEnum.Insurance || Labor.PBy === enums_1.PayTypeEnum.Shared) {
597
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.ECGST, Labor.ESGST, Labor.EIGST);
597
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.ECGST, Labor.ESGST, Labor.EIGST);
598
598
  }
599
599
  }
600
600
  }
@@ -609,16 +609,16 @@ class ROTotalsService {
609
609
  if (!tr_utils_1.TrUtils.IsNull(Part.CollId) || Part.PBy === enums_1.PayTypeEnum.Insurance || Part.PBy === enums_1.PayTypeEnum.Shared) {
610
610
  if (isWorkOrder) {
611
611
  if ((Part.PBy === enums_1.PayTypeEnum.Insurance || Part.PBy === enums_1.PayTypeEnum.Shared)) {
612
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ACGST, Part.ASGST, Part.AIGST);
612
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ACGST, Part.ASGST, Part.AIGST);
613
613
  }
614
614
  }
615
615
  else {
616
616
  if (Part.Sts !== enums_1.LaborStatusEnum.New && Part.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
617
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ACGST, Part.ASGST, Part.AIGST);
617
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ACGST, Part.ASGST, Part.AIGST);
618
618
  }
619
619
  else {
620
620
  if (Part.PBy === enums_1.PayTypeEnum.Insurance || Part.PBy === enums_1.PayTypeEnum.Shared) {
621
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ECGST, Part.ESGST, Part.EIGST);
621
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ECGST, Part.ESGST, Part.EIGST);
622
622
  }
623
623
  }
624
624
  }
@@ -630,7 +630,7 @@ class ROTotalsService {
630
630
  static GetInsuranceTotalBasedOnTaxType(SubTotal, LaborTaxAmount, PartsTaxAmount, IsTaxable) {
631
631
  let InsTotal = 0;
632
632
  if (IsTaxable) {
633
- InsTotal = (0, aggregation_1.addition)(SubTotal, LaborTaxAmount, PartsTaxAmount);
633
+ InsTotal = (0, math_operations_1.Add)(SubTotal, LaborTaxAmount, PartsTaxAmount);
634
634
  }
635
635
  else {
636
636
  InsTotal = (SubTotal);
@@ -642,8 +642,8 @@ class ROTotalsService {
642
642
  argRecordData.InsPartsDiscTotal = 0;
643
643
  argRecordData.InsLaborTotalAfterDisc = this.GetInsLaborTotalAfterDiscount(dupRecordData.Ops);
644
644
  argRecordData.InsPartsTotalAfterDisc = this.GetInsPartsTotalAfterDiscount(dupRecordData.Parts);
645
- argRecordData.InsLaborTotalBeforeDisc = (0, aggregation_1.addition)(argRecordData.InsLaborTotalAfterDisc, argRecordData.InsLaborDiscTotal);
646
- argRecordData.InsPartsTotalBeforeDisc = (0, aggregation_1.addition)(argRecordData.InsPartsTotalAfterDisc, argRecordData.InsPartsDiscTotal);
645
+ argRecordData.InsLaborTotalBeforeDisc = (0, math_operations_1.Add)(argRecordData.InsLaborTotalAfterDisc, argRecordData.InsLaborDiscTotal);
646
+ argRecordData.InsPartsTotalBeforeDisc = (0, math_operations_1.Add)(argRecordData.InsPartsTotalAfterDisc, argRecordData.InsPartsDiscTotal);
647
647
  argRecordData.InsLaborITax = this.GetInsLaborTaxTotal(dupRecordData.Ops, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax), isWorkOrder);
648
648
  argRecordData.InsLaborCGST = this.GetInsLaborCGSTTaxTotal(dupRecordData.Ops, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax), isWorkOrder);
649
649
  argRecordData.InsLaborIGST = this.GetInsLaborIGSTTaxTotal(dupRecordData.Ops, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax), isWorkOrder);
@@ -652,14 +652,14 @@ class ROTotalsService {
652
652
  argRecordData.InsPartCGST = this.GetInsPartCGSTTaxTotal(dupRecordData.Parts, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax), isWorkOrder);
653
653
  argRecordData.InsPartIGST = this.GetInsPartIGSTTaxTotal(dupRecordData.Parts, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax), isWorkOrder);
654
654
  argRecordData.InsPartSGST = this.GetInsPartSGSTTaxTotal(dupRecordData.Parts, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax), isWorkOrder);
655
- argRecordData.InsLaborTotalAfterTax = (0, aggregation_1.addition)(argRecordData.InsLaborTotalAfterDisc, argRecordData.InsLaborITax);
656
- argRecordData.InsPartsTotalAfterTax = (0, aggregation_1.addition)(argRecordData.InsPartsTotalAfterDisc, argRecordData.InsPartITax);
655
+ argRecordData.InsLaborTotalAfterTax = (0, math_operations_1.Add)(argRecordData.InsLaborTotalAfterDisc, argRecordData.InsLaborITax);
656
+ argRecordData.InsPartsTotalAfterTax = (0, math_operations_1.Add)(argRecordData.InsPartsTotalAfterDisc, argRecordData.InsPartITax);
657
657
  argRecordData.CustLaborDiscTotal = this.GetCustLaborDiscountedTotal(dupRecordData.Ops, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax), dupRecordData);
658
658
  argRecordData.CustPartsDiscTotal = this.GetCustPartDiscountedTotal(dupRecordData.Parts, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax), dupRecordData);
659
659
  argRecordData.CustLaborTotalAfterDisc = this.GetCustLaborTotalAfterDiscount(dupRecordData.Ops);
660
660
  argRecordData.CustPartsTotalAfterDisc = this.GetCustPartsTotalAfterDiscount(dupRecordData.Parts);
661
- argRecordData.CustLaborTotalBeforeDisc = (0, aggregation_1.addition)(argRecordData.CustLaborTotalAfterDisc, argRecordData.CustLaborDiscTotal);
662
- argRecordData.CustPartsTotalBeforeDisc = (0, aggregation_1.addition)(argRecordData.CustPartsTotalAfterDisc, argRecordData.CustPartsDiscTotal);
661
+ argRecordData.CustLaborTotalBeforeDisc = (0, math_operations_1.Add)(argRecordData.CustLaborTotalAfterDisc, argRecordData.CustLaborDiscTotal);
662
+ argRecordData.CustPartsTotalBeforeDisc = (0, math_operations_1.Add)(argRecordData.CustPartsTotalAfterDisc, argRecordData.CustPartsDiscTotal);
663
663
  argRecordData.CustLaborITax = this.GetCustLaborTaxTotal(dupRecordData.Ops, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax), isWorkOrder);
664
664
  argRecordData.CustLaborSGST = this.GetCustLaborSGSTTaxTotal(dupRecordData.Ops, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax), isWorkOrder);
665
665
  argRecordData.CustLaborCGST = this.GetCustLaborCGSTTaxTotal(dupRecordData.Ops, tr_utils_1.TrUtils.isTaxable(dupRecordData.Settings.Tax), isWorkOrder);
@@ -672,12 +672,12 @@ class ROTotalsService {
672
672
  argRecordData.CustPartsPDiscAmount = this.GetPartsPDiscAmount(argRecordData.CustPartsTotalAfterDisc, argRecordData.PDisc);
673
673
  argRecordData.CustLaborAfterLDisc = argRecordData.CustLaborTotalAfterDisc;
674
674
  argRecordData.CustPartsAfterPDisc = argRecordData.CustPartsTotalAfterDisc;
675
- argRecordData.CustLaborAfterTax = (0, aggregation_1.addition)(argRecordData.CustLaborITax, argRecordData.CustLaborAfterLDisc);
676
- argRecordData.CustPartAfterTax = (0, aggregation_1.addition)(argRecordData.CustPartITax, argRecordData.CustPartsAfterPDisc);
675
+ argRecordData.CustLaborAfterTax = (0, math_operations_1.Add)(argRecordData.CustLaborITax, argRecordData.CustLaborAfterLDisc);
676
+ argRecordData.CustPartAfterTax = (0, math_operations_1.Add)(argRecordData.CustPartITax, argRecordData.CustPartsAfterPDisc);
677
677
  argRecordData.CustTaxGroupData = this.GetCustPartsTaxGrouping(dupRecordData.Parts, TaxCodes, isWorkOrder, DecimalsNumber);
678
678
  argRecordData.InsTaxGroupData = this.GetInsPartsTaxGrouping(dupRecordData.Parts, TaxCodes, DecimalsNumber);
679
679
  argRecordData.CustTotalRoundedBy = argRecordData.Round;
680
- argRecordData.InsTotalRoundedBy = tr_utils_1.TrUtils.FixedTo((0, aggregation_1.subtraction)(Math.round(argRecordData.InsTotal), argRecordData.InsTotal), DecimalsNumber);
680
+ argRecordData.InsTotalRoundedBy = tr_utils_1.TrUtils.FixedTo((0, math_operations_1.Subtract)(Math.round(argRecordData.InsTotal), argRecordData.InsTotal), DecimalsNumber);
681
681
  argRecordData.CustRoundedTotal = argRecordData.Total;
682
682
  argRecordData.InsRoundedTotal = Math.round(argRecordData.InsTotal);
683
683
  for (var key in argRecordData) {
@@ -697,9 +697,9 @@ class ROTotalsService {
697
697
  overallLaborDisc = tr_utils_1.TrUtils.SetValueToZeroIfNull(finalTotalsData.LDisc);
698
698
  }
699
699
  LaborList.forEach((Labor) => {
700
- LaborDiscountedTotal = (0, aggregation_1.addition)(LaborDiscountedTotal, Labor.CustDiscountedPrice);
700
+ LaborDiscountedTotal = (0, math_operations_1.Add)(LaborDiscountedTotal, Labor.CustDiscountedPrice);
701
701
  });
702
- return (0, aggregation_1.addition)(LaborDiscountedTotal, overallLaborDisc);
702
+ return (0, math_operations_1.Add)(LaborDiscountedTotal, overallLaborDisc);
703
703
  }
704
704
  static GetCustPartDiscountedTotal(PartsList, isTaxable, finalTotalsData) {
705
705
  let PartsDiscountedTotal = 0;
@@ -708,24 +708,24 @@ class ROTotalsService {
708
708
  overallPartDisc = tr_utils_1.TrUtils.SetValueToZeroIfNull(finalTotalsData.PDisc);
709
709
  }
710
710
  PartsList.forEach((Part) => {
711
- PartsDiscountedTotal = (0, aggregation_1.addition)(PartsDiscountedTotal, Part.CustDiscountedPrice);
711
+ PartsDiscountedTotal = (0, math_operations_1.Add)(PartsDiscountedTotal, Part.CustDiscountedPrice);
712
712
  });
713
- return (0, aggregation_1.addition)(PartsDiscountedTotal, overallPartDisc);
713
+ return (0, math_operations_1.Add)(PartsDiscountedTotal, overallPartDisc);
714
714
  }
715
715
  static GetCustLaborCGSTTaxTotal(opCodesList, IsTaxable, isWorkOrder) {
716
716
  let TotalTaxAmt = 0;
717
717
  if (IsTaxable) {
718
718
  opCodesList.forEach((Labor) => {
719
719
  if (isWorkOrder) {
720
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.CCGST);
720
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.CCGST);
721
721
  }
722
722
  else {
723
723
  if (Labor.Sts !== enums_1.LaborStatusEnum.New && Labor.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
724
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.CCGST);
724
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.CCGST);
725
725
  }
726
726
  else {
727
727
  if (Labor.PBy === enums_1.PayTypeEnum.Customer) {
728
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.ECGST);
728
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.ECGST);
729
729
  }
730
730
  }
731
731
  }
@@ -738,15 +738,15 @@ class ROTotalsService {
738
738
  if (IsTaxable) {
739
739
  opCodesList.forEach((Labor) => {
740
740
  if (isWorkOrder) {
741
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.CIGST);
741
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.CIGST);
742
742
  }
743
743
  else {
744
744
  if (Labor.Sts !== enums_1.LaborStatusEnum.New && Labor.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
745
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.CIGST);
745
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.CIGST);
746
746
  }
747
747
  else {
748
748
  if (Labor.PBy === enums_1.PayTypeEnum.Customer) {
749
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.EIGST);
749
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.EIGST);
750
750
  }
751
751
  }
752
752
  }
@@ -759,15 +759,15 @@ class ROTotalsService {
759
759
  if (IsTaxable) {
760
760
  opCodesList.forEach((Labor) => {
761
761
  if (isWorkOrder) {
762
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.CSGST);
762
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.CSGST);
763
763
  }
764
764
  else {
765
765
  if (Labor.Sts !== enums_1.LaborStatusEnum.New && Labor.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
766
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.CSGST);
766
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.CSGST);
767
767
  }
768
768
  else {
769
769
  if (Labor.PBy === enums_1.PayTypeEnum.Customer) {
770
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.ESGST);
770
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.ESGST);
771
771
  }
772
772
  }
773
773
  }
@@ -781,22 +781,22 @@ class ROTotalsService {
781
781
  PartsList.forEach((Part) => {
782
782
  if (!tr_utils_1.TrUtils.IsNull(Part.CollId)) {
783
783
  if (isWorkOrder) {
784
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CCGST);
784
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CCGST);
785
785
  }
786
786
  else {
787
787
  if (Part.Sts !== enums_1.LaborStatusEnum.New && Part.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
788
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CCGST);
788
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CCGST);
789
789
  }
790
790
  else {
791
791
  if (Part.PBy === enums_1.PayTypeEnum.Customer) {
792
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ECGST);
792
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ECGST);
793
793
  }
794
794
  }
795
795
  }
796
796
  }
797
797
  else {
798
798
  if (isWorkOrder) {
799
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CCGST);
799
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CCGST);
800
800
  }
801
801
  else {
802
802
  let Index = OpsList.findIndex((labor) => {
@@ -804,14 +804,14 @@ class ROTotalsService {
804
804
  });
805
805
  if (Index !== -1) {
806
806
  if (OpsList[Index].Sts !== enums_1.LaborStatusEnum.New && OpsList[Index].Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
807
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CCGST);
807
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CCGST);
808
808
  }
809
809
  else {
810
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ECGST);
810
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ECGST);
811
811
  }
812
812
  }
813
813
  else {
814
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CCGST);
814
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CCGST);
815
815
  }
816
816
  }
817
817
  }
@@ -825,22 +825,22 @@ class ROTotalsService {
825
825
  PartsList.forEach((Part) => {
826
826
  if (!tr_utils_1.TrUtils.IsNull(Part.CollId)) {
827
827
  if (isWorkOrder) {
828
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CIGST);
828
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CIGST);
829
829
  }
830
830
  else {
831
831
  if (Part.Sts !== enums_1.LaborStatusEnum.New && Part.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
832
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CIGST);
832
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CIGST);
833
833
  }
834
834
  else {
835
835
  if (Part.PBy === enums_1.PayTypeEnum.Customer) {
836
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.EIGST);
836
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.EIGST);
837
837
  }
838
838
  }
839
839
  }
840
840
  }
841
841
  else {
842
842
  if (isWorkOrder) {
843
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CIGST);
843
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CIGST);
844
844
  }
845
845
  else {
846
846
  let Index = OpsList.findIndex((labor) => {
@@ -848,14 +848,14 @@ class ROTotalsService {
848
848
  });
849
849
  if (Index !== -1) {
850
850
  if (OpsList[Index].Sts !== enums_1.LaborStatusEnum.New && OpsList[Index].Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
851
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CIGST);
851
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CIGST);
852
852
  }
853
853
  else {
854
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.EIGST);
854
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.EIGST);
855
855
  }
856
856
  }
857
857
  else {
858
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CIGST);
858
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CIGST);
859
859
  }
860
860
  }
861
861
  }
@@ -869,22 +869,22 @@ class ROTotalsService {
869
869
  PartsList.forEach((Part) => {
870
870
  if (!tr_utils_1.TrUtils.IsNull(Part.CollId)) {
871
871
  if (isWorkOrder) {
872
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CSGST);
872
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CSGST);
873
873
  }
874
874
  else {
875
875
  if (Part.Sts !== enums_1.LaborStatusEnum.New && Part.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
876
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CSGST);
876
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CSGST);
877
877
  }
878
878
  else {
879
879
  if (Part.PBy === enums_1.PayTypeEnum.Customer) {
880
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ESGST);
880
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ESGST);
881
881
  }
882
882
  }
883
883
  }
884
884
  }
885
885
  else {
886
886
  if (isWorkOrder) {
887
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CSGST);
887
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CSGST);
888
888
  }
889
889
  else {
890
890
  let Index = OpsList.findIndex((labor) => {
@@ -892,14 +892,14 @@ class ROTotalsService {
892
892
  });
893
893
  if (Index !== -1) {
894
894
  if (OpsList[Index].Sts !== enums_1.LaborStatusEnum.New && OpsList[Index].Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
895
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CSGST);
895
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CSGST);
896
896
  }
897
897
  else {
898
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ESGST);
898
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ESGST);
899
899
  }
900
900
  }
901
901
  else {
902
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.CSGST);
902
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.CSGST);
903
903
  }
904
904
  }
905
905
  }
@@ -912,15 +912,15 @@ class ROTotalsService {
912
912
  if (IsTaxable) {
913
913
  opCodesList.forEach((Labor) => {
914
914
  if (isWorkOrder) {
915
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.ACGST);
915
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.ACGST);
916
916
  }
917
917
  else {
918
918
  if (Labor.Sts !== enums_1.LaborStatusEnum.New && Labor.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
919
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.ACGST);
919
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.ACGST);
920
920
  }
921
921
  else {
922
922
  if (Labor.PBy === enums_1.PayTypeEnum.Insurance || Labor.PBy === enums_1.PayTypeEnum.Shared) {
923
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.ECGST);
923
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.ECGST);
924
924
  }
925
925
  }
926
926
  }
@@ -933,15 +933,15 @@ class ROTotalsService {
933
933
  if (IsTaxable) {
934
934
  opCodesList.forEach((Labor) => {
935
935
  if (isWorkOrder) {
936
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.AIGST);
936
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.AIGST);
937
937
  }
938
938
  else {
939
939
  if (Labor.Sts !== enums_1.LaborStatusEnum.New && Labor.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
940
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.AIGST);
940
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.AIGST);
941
941
  }
942
942
  else {
943
943
  if (Labor.PBy === enums_1.PayTypeEnum.Insurance || Labor.PBy === enums_1.PayTypeEnum.Shared) {
944
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.EIGST);
944
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.EIGST);
945
945
  }
946
946
  }
947
947
  }
@@ -954,15 +954,15 @@ class ROTotalsService {
954
954
  if (IsTaxable) {
955
955
  opCodesList.forEach((Labor) => {
956
956
  if (isWorkOrder) {
957
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.ASGST);
957
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.ASGST);
958
958
  }
959
959
  else {
960
960
  if (Labor.Sts !== enums_1.LaborStatusEnum.New && Labor.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
961
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.ASGST);
961
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.ASGST);
962
962
  }
963
963
  else {
964
964
  if (Labor.PBy === enums_1.PayTypeEnum.Insurance || Labor.PBy === enums_1.PayTypeEnum.Shared) {
965
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Labor.ESGST);
965
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Labor.ESGST);
966
966
  }
967
967
  }
968
968
  }
@@ -976,15 +976,15 @@ class ROTotalsService {
976
976
  PartsList.forEach((Part) => {
977
977
  if (!tr_utils_1.TrUtils.IsNull(Part.CollId) || Part.PBy === enums_1.PayTypeEnum.Insurance || Part.PBy === enums_1.PayTypeEnum.Shared) {
978
978
  if (isWorkOrder) {
979
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ACGST);
979
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ACGST);
980
980
  }
981
981
  else {
982
982
  if (Part.Sts !== enums_1.LaborStatusEnum.New && Part.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
983
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ACGST);
983
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ACGST);
984
984
  }
985
985
  else {
986
986
  if (Part.PBy === enums_1.PayTypeEnum.Insurance || Part.PBy === enums_1.PayTypeEnum.Shared) {
987
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ECGST);
987
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ECGST);
988
988
  }
989
989
  }
990
990
  }
@@ -999,15 +999,15 @@ class ROTotalsService {
999
999
  PartsList.forEach((Part) => {
1000
1000
  if (!tr_utils_1.TrUtils.IsNull(Part.CollId) || Part.PBy === enums_1.PayTypeEnum.Insurance || Part.PBy === enums_1.PayTypeEnum.Shared) {
1001
1001
  if (isWorkOrder) {
1002
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.AIGST);
1002
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.AIGST);
1003
1003
  }
1004
1004
  else {
1005
1005
  if (Part.Sts !== enums_1.LaborStatusEnum.New && Part.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
1006
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.AIGST);
1006
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.AIGST);
1007
1007
  }
1008
1008
  else {
1009
1009
  if (Part.PBy === enums_1.PayTypeEnum.Insurance || Part.PBy === enums_1.PayTypeEnum.Shared) {
1010
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.EIGST);
1010
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.EIGST);
1011
1011
  }
1012
1012
  }
1013
1013
  }
@@ -1022,15 +1022,15 @@ class ROTotalsService {
1022
1022
  PartsList.forEach((Part) => {
1023
1023
  if (!tr_utils_1.TrUtils.IsNull(Part.CollId) || Part.PBy === enums_1.PayTypeEnum.Insurance || Part.PBy === enums_1.PayTypeEnum.Shared) {
1024
1024
  if (isWorkOrder) {
1025
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ASGST);
1025
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ASGST);
1026
1026
  }
1027
1027
  else {
1028
1028
  if (Part.Sts !== enums_1.LaborStatusEnum.New && Part.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
1029
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ASGST);
1029
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ASGST);
1030
1030
  }
1031
1031
  else {
1032
1032
  if (Part.PBy === enums_1.PayTypeEnum.Insurance || Part.PBy === enums_1.PayTypeEnum.Shared) {
1033
- TotalTaxAmt = (0, aggregation_1.addition)(TotalTaxAmt, Part.ESGST);
1033
+ TotalTaxAmt = (0, math_operations_1.Add)(TotalTaxAmt, Part.ESGST);
1034
1034
  }
1035
1035
  }
1036
1036
  }
@@ -1078,23 +1078,23 @@ class ROTotalsService {
1078
1078
  let HSN = MatchedPart[0].HSN;
1079
1079
  TaxInfo.CombinedTaxPercentage = MatchedPart[0].CombinedTaxPercentage;
1080
1080
  MatchedPart.forEach((argMatchedGSTPart) => {
1081
- TaxOnAmount = (0, aggregation_1.addition)(TaxOnAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CustAfterPartDisc, DecimalsNumber));
1081
+ TaxOnAmount = (0, math_operations_1.Add)(TaxOnAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CustAfterPartDisc, DecimalsNumber));
1082
1082
  if (isWorkOrder) {
1083
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CCGST, DecimalsNumber));
1084
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CIGST, DecimalsNumber));
1085
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CSGST, DecimalsNumber));
1083
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CCGST, DecimalsNumber));
1084
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CIGST, DecimalsNumber));
1085
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CSGST, DecimalsNumber));
1086
1086
  }
1087
1087
  else {
1088
1088
  if (argMatchedGSTPart.Sts !== enums_1.LaborStatusEnum.New && argMatchedGSTPart.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
1089
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CCGST, DecimalsNumber));
1090
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CIGST, DecimalsNumber));
1091
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CSGST, DecimalsNumber));
1089
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CCGST, DecimalsNumber));
1090
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CIGST, DecimalsNumber));
1091
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.CSGST, DecimalsNumber));
1092
1092
  }
1093
1093
  else {
1094
1094
  if (argMatchedGSTPart.PBy === enums_1.PayTypeEnum.Customer) {
1095
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.ECGST, DecimalsNumber));
1096
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.EIGST, DecimalsNumber));
1097
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.ESGST, DecimalsNumber));
1095
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.ECGST, DecimalsNumber));
1096
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.EIGST, DecimalsNumber));
1097
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.ESGST, DecimalsNumber));
1098
1098
  }
1099
1099
  }
1100
1100
  }
@@ -1138,17 +1138,17 @@ class ROTotalsService {
1138
1138
  let HSN = MatchedPart[0].HSN;
1139
1139
  TaxInfo.CombinedTaxPercentage = MatchedPart[0].CombinedTaxPercentage;
1140
1140
  MatchedPart.forEach((argMatchedGSTPart) => {
1141
- TaxOnAmount = (0, aggregation_1.addition)(TaxOnAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.InsAfterPartDisc, DecimalsNumber));
1141
+ TaxOnAmount = (0, math_operations_1.Add)(TaxOnAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.InsAfterPartDisc, DecimalsNumber));
1142
1142
  if (argMatchedGSTPart.PBy === enums_1.PayTypeEnum.Insurance || argMatchedGSTPart.PBy === enums_1.PayTypeEnum.Shared) {
1143
1143
  if (argMatchedGSTPart.Sts !== enums_1.LaborStatusEnum.New && argMatchedGSTPart.Sts !== enums_1.LaborStatusEnum.WtngForAppr) {
1144
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.ACGST, DecimalsNumber));
1145
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.AIGST, DecimalsNumber));
1146
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.ASGST, DecimalsNumber));
1144
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.ACGST, DecimalsNumber));
1145
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.AIGST, DecimalsNumber));
1146
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.ASGST, DecimalsNumber));
1147
1147
  }
1148
1148
  else {
1149
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.ECGST, DecimalsNumber));
1150
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.EIGST, DecimalsNumber));
1151
- TaxAmount = (0, aggregation_1.addition)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.ESGST, DecimalsNumber));
1149
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.ECGST, DecimalsNumber));
1150
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.EIGST, DecimalsNumber));
1151
+ TaxAmount = (0, math_operations_1.Add)(TaxAmount, tr_utils_1.TrUtils.FixedTo(argMatchedGSTPart.ESGST, DecimalsNumber));
1152
1152
  }
1153
1153
  }
1154
1154
  });
@@ -1194,7 +1194,7 @@ class ROTotalsService {
1194
1194
  let CGST = GSTValues[0];
1195
1195
  let SGST = GSTValues[1];
1196
1196
  let IGST = GSTValues[2];
1197
- Part.CombinedTaxPercentage = (0, aggregation_1.addition)(CGST, SGST, IGST);
1197
+ Part.CombinedTaxPercentage = (0, math_operations_1.Add)(CGST, SGST, IGST);
1198
1198
  });
1199
1199
  return Parts;
1200
1200
  }