shareneus 1.7.355 → 1.7.356
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.
|
@@ -544,7 +544,7 @@ export declare class SharedPDFService {
|
|
|
544
544
|
Field: string;
|
|
545
545
|
alignment: string;
|
|
546
546
|
}[];
|
|
547
|
-
static hasCESS(
|
|
547
|
+
static hasCESS(partsTaxInfo: any[]): boolean;
|
|
548
548
|
static CreateHSNTaxTable1(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): any;
|
|
549
549
|
static CreateHSNTaxTable(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): any;
|
|
550
550
|
static GetFinalTotalDetails1(RecordData: any, BasicLaborTotal: any, OverAllMainLaborDiscount: any, LCGST: any, LSGST: any, LIGST: any, PIGST: any, ShowIGST: any, ShowTaxColumn: any, BasicPartsTotal: any, OverAllMainPartsDiscount: any, PCGST: any, PSGST: any, PartsTaxInfo: any, ShowAccParts: any, LaborAfterGST: any, PartsAfterGST: any, OverAllRecordDiscount: any, For: any, OverAllRecordTotal: any, Rounded: any, GrandTotal: any, ShowDetailedLaborTaxInfo: any, ShowDetailedPartTaxInfo: any, istaxable: boolean, LaborTotalTax: any, PartTotalTax: any, Consolidate: boolean, From: string, Adj: any, CustLaborTaxGroupDataByPerc: any, STotal: any, isAuto: boolean, moreDiscDetails: boolean): {
|
|
@@ -1724,11 +1724,11 @@ class SharedPDFService {
|
|
|
1724
1724
|
}
|
|
1725
1725
|
return HeaderNames;
|
|
1726
1726
|
}
|
|
1727
|
-
static hasCESS(
|
|
1728
|
-
if (
|
|
1727
|
+
static hasCESS(partsTaxInfo) {
|
|
1728
|
+
if (!partsTaxInfo || partsTaxInfo.length === 0) {
|
|
1729
1729
|
return false;
|
|
1730
1730
|
}
|
|
1731
|
-
return
|
|
1731
|
+
return partsTaxInfo.some(item => Number(item.CESSAmt) > 0);
|
|
1732
1732
|
}
|
|
1733
1733
|
static CreateHSNTaxTable1(PartsTaxInfo, ShowAccParts, ShowIGST, ShowTaxColumn) {
|
|
1734
1734
|
if (!tr_utils_1.TrUtils.IsNull(PartsTaxInfo) && PartsTaxInfo.length !== 0 && ShowAccParts && ShowTaxColumn) {
|
package/package.json
CHANGED
|
@@ -1820,13 +1820,13 @@ export class SharedPDFService {
|
|
|
1820
1820
|
|
|
1821
1821
|
return HeaderNames;
|
|
1822
1822
|
}
|
|
1823
|
-
|
|
1824
|
-
|
|
1823
|
+
|
|
1824
|
+
static hasCESS(partsTaxInfo: any[]): boolean {
|
|
1825
|
+
if (!partsTaxInfo || partsTaxInfo.length === 0) {
|
|
1825
1826
|
return false;
|
|
1826
1827
|
}
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
);
|
|
1828
|
+
|
|
1829
|
+
return partsTaxInfo.some(item => Number(item.CESSAmt) > 0);
|
|
1830
1830
|
}
|
|
1831
1831
|
|
|
1832
1832
|
static CreateHSNTaxTable1(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any) {
|