shareneus 1.4.51 → 1.4.52
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.
|
@@ -1298,7 +1298,7 @@ class SharedPDFService {
|
|
|
1298
1298
|
return headersNames;
|
|
1299
1299
|
}
|
|
1300
1300
|
static PartsTaxAmounts1(PartsTaxInfo, ShowAccParts, ShowIGST, ShowTaxColumn) {
|
|
1301
|
-
if (ShowTaxColumn) {
|
|
1301
|
+
if (ShowTaxColumn && !tr_utils_1.TrUtils.IsNull(PartsTaxInfo) && PartsTaxInfo.length > 0) {
|
|
1302
1302
|
return {
|
|
1303
1303
|
stack: [this.AllHSNPartCGSTTaxListTable1(PartsTaxInfo, ShowAccParts, ShowIGST, ShowTaxColumn)]
|
|
1304
1304
|
};
|
|
@@ -1308,7 +1308,7 @@ class SharedPDFService {
|
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
1310
|
static PartsTaxAmounts(PartsTaxInfo, ShowAccParts, ShowIGST, ShowTaxColumn) {
|
|
1311
|
-
if (ShowTaxColumn) {
|
|
1311
|
+
if (ShowTaxColumn && !tr_utils_1.TrUtils.IsNull(PartsTaxInfo) && PartsTaxInfo.length > 0) {
|
|
1312
1312
|
return {
|
|
1313
1313
|
stack: [this.AllHSNPartCGSTTaxListTable(PartsTaxInfo, ShowAccParts, ShowIGST, ShowTaxColumn)]
|
|
1314
1314
|
};
|
|
@@ -1726,7 +1726,7 @@ class SharedPDFService {
|
|
|
1726
1726
|
},
|
|
1727
1727
|
{ text: '', width: moreDiscDetails ? 40 : 60 },
|
|
1728
1728
|
// this.GrandTotal(LaborAfterGST, PartsAfterGST, totalDisc, For, OverAllRecordTotal, Rounded, GrandTotal)
|
|
1729
|
-
this.GrandTotal(RecordData, BasicLaborTotal, BasicPartsTotal, totalDisc, totalTax, For, OverAllRecordTotal, Rounded, GrandTotal, Adj, Consolidate, STotal, moreDiscDetails, RecordData)
|
|
1729
|
+
this.GrandTotal(RecordData, BasicLaborTotal, BasicPartsTotal, totalDisc, totalTax, For, OverAllRecordTotal, Rounded, GrandTotal, Adj, Consolidate, STotal, moreDiscDetails, RecordData.Entity.DecimalsNumber)
|
|
1730
1730
|
]
|
|
1731
1731
|
// columnGap: 40
|
|
1732
1732
|
,
|