shareneus 1.4.6 → 1.4.8
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.
|
@@ -147,12 +147,12 @@ class InvoiceTotalsService {
|
|
|
147
147
|
let CustPartsDiscTotal = this.GetPartDiscountedTotal(PartsList, IsIndependentTax, finalTotalsData);
|
|
148
148
|
let CustLaborTotalAfterDisc = this.GetLaborTotalAfterDiscount(LaborList);
|
|
149
149
|
let CustPartsTotalAfterDisc = this.GetPartsTotalAfterDiscount(PartsList);
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
else {
|
|
154
|
-
|
|
155
|
-
}
|
|
150
|
+
console.log(CustLaborDiscTotal, CustPartsDiscTotal, CustLaborTotalAfterDisc, CustPartsTotalAfterDisc);
|
|
151
|
+
// if (IsIndependentTax) {
|
|
152
|
+
finalTotalsData.STotal = (0, aggregation_1.addition)(CustLaborDiscTotal, CustPartsDiscTotal, CustLaborTotalAfterDisc, CustPartsTotalAfterDisc);
|
|
153
|
+
// } else {
|
|
154
|
+
// finalTotalsData.STotal = addition(CustLaborTotalAfterDisc, CustPartsTotalAfterDisc);
|
|
155
|
+
// }
|
|
156
156
|
let CustLaborTotalAfterDisc1 = this.GetLaborTotalAfterDiscount1(LaborList);
|
|
157
157
|
let CustPartsTotalAfterDisc1 = this.GetPartsAfterDiscount1(PartsList);
|
|
158
158
|
let AmtAfterIndvidualItemDisc = (0, aggregation_1.addition)(CustLaborTotalAfterDisc1, CustPartsTotalAfterDisc1);
|