shareneus 1.4.10 → 1.4.11
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.
|
@@ -454,7 +454,7 @@ class InvoiceTotalsService {
|
|
|
454
454
|
return (0, aggregation_1.addition)(LaborTotalAfterDisc, PartsTotalAfterDisc, LaborTaxAmount, PartsTaxAmount, Adjust);
|
|
455
455
|
}
|
|
456
456
|
else {
|
|
457
|
-
return (0, aggregation_1.addition)(
|
|
457
|
+
return (0, aggregation_1.addition)(LaborTotalAfterDisc, PartsTotalAfterDisc, Adjust);
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
static GetRetCustomerTotalBasedOnTaxType(finalTotalsData, LaborTaxAmount, PartsTaxAmount, LaborList, PartsList, IsIndependentTax, Adjust) {
|
|
@@ -464,7 +464,7 @@ class InvoiceTotalsService {
|
|
|
464
464
|
return (0, aggregation_1.addition)(LaborTotalAfterDisc, PartsTotalAfterDisc, LaborTaxAmount, PartsTaxAmount);
|
|
465
465
|
}
|
|
466
466
|
else {
|
|
467
|
-
return tr_utils_1.TrUtils.FixedTo((0, aggregation_1.addition)(
|
|
467
|
+
return tr_utils_1.TrUtils.FixedTo((0, aggregation_1.addition)(LaborTotalAfterDisc, PartsTotalAfterDisc));
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
static GetNonRetCustomerTotalBasedOnTaxType(finalTotalsData, LaborTaxAmount, PartsTaxAmount, LaborList, PartsList, IsIndependentTax, Adjust) {
|
|
@@ -474,7 +474,7 @@ class InvoiceTotalsService {
|
|
|
474
474
|
return (0, aggregation_1.addition)(LaborTotalAfterDisc, PartsTotalAfterDisc, LaborTaxAmount, PartsTaxAmount);
|
|
475
475
|
}
|
|
476
476
|
else {
|
|
477
|
-
return tr_utils_1.TrUtils.FixedTo((0, aggregation_1.addition)(
|
|
477
|
+
return tr_utils_1.TrUtils.FixedTo((0, aggregation_1.addition)(LaborTotalAfterDisc, PartsTotalAfterDisc));
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
480
|
static LaborTotalAfterDiscount(LaborTotalAfterDisc, LaborTaxAmount, MainLDisc, LDiscInPerc) {
|