shareneus 1.5.1 → 1.5.2
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.
|
@@ -181,7 +181,7 @@ function CalculateTaxSummary(items, taxCodes) {
|
|
|
181
181
|
const tax = taxMap[item.TCode];
|
|
182
182
|
if (!tax)
|
|
183
183
|
return acc;
|
|
184
|
-
const percent = (tax.IGST || (tax.CGST || 0) + (tax.SGST || 0)) + "%";
|
|
184
|
+
const percent = (((tax.IGST || 0) + (tax.CGST || 0) + (tax.SGST || 0)) + "%");
|
|
185
185
|
// taxable value after discounts
|
|
186
186
|
const taxable = (0, math_operations_1.Subtract)((0, util_1.GetNumber)(item.UnAmt), (0, math_operations_1.Add)((0, util_1.GetNumber)(item.Disc), (0, util_1.GetNumber)(item.RecDisc)));
|
|
187
187
|
if (!acc[percent]) {
|