shareneus 1.6.61 → 1.6.62
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.
|
@@ -192,16 +192,13 @@ class IssuePartsprintService {
|
|
|
192
192
|
let Taxable = 0;
|
|
193
193
|
let FinalTotal = 0;
|
|
194
194
|
Parts.forEach((part) => {
|
|
195
|
-
console.log('part', part);
|
|
196
195
|
Qty = Qty + part.Qty;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
IGSTAMT = IGSTAMT + part.IGSTAmt;
|
|
196
|
+
CGSTAMT = CGSTAMT + Number(part.CGSTAmt);
|
|
197
|
+
SGSTAMT = SGSTAMT + Number(part.SGSTAmt);
|
|
198
|
+
IGSTAMT = IGSTAMT + Number(part.IGSTAmt);
|
|
201
199
|
Taxable = Taxable + part.AfterPartDisc;
|
|
202
200
|
FinalTotal = FinalTotal + part.AfterPartTax;
|
|
203
201
|
});
|
|
204
|
-
console.log(CGSTAMT, SGSTAMT, IGSTAMT);
|
|
205
202
|
let dpartadding1 = {};
|
|
206
203
|
dpartadding1.SNo = '';
|
|
207
204
|
dpartadding1.Desc = 'Spare Total';
|