shareneus 1.4.6 → 1.4.7

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,11 @@ 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
- if (IsIndependentTax) {
151
- finalTotalsData.STotal = (0, aggregation_1.addition)(CustLaborDiscTotal, CustPartsDiscTotal, CustLaborTotalAfterDisc, CustPartsTotalAfterDisc);
152
- }
153
- else {
154
- finalTotalsData.STotal = (0, aggregation_1.addition)(CustLaborTotalAfterDisc, CustPartsTotalAfterDisc);
155
- }
150
+ // if (IsIndependentTax) {
151
+ finalTotalsData.STotal = (0, aggregation_1.addition)(CustLaborDiscTotal, CustPartsDiscTotal, CustLaborTotalAfterDisc, CustPartsTotalAfterDisc);
152
+ // } else {
153
+ // finalTotalsData.STotal = addition(CustLaborTotalAfterDisc, CustPartsTotalAfterDisc);
154
+ // }
156
155
  let CustLaborTotalAfterDisc1 = this.GetLaborTotalAfterDiscount1(LaborList);
157
156
  let CustPartsTotalAfterDisc1 = this.GetPartsAfterDiscount1(PartsList);
158
157
  let AmtAfterIndvidualItemDisc = (0, aggregation_1.addition)(CustLaborTotalAfterDisc1, CustPartsTotalAfterDisc1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.4.6",
3
+ "version": "1.4.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",