shareneus 1.4.65 → 1.4.66

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.
@@ -789,7 +789,7 @@ class HCInvoiceprintService {
789
789
  return {
790
790
  // lineHeight: 0.7,
791
791
  fontSize: 9,
792
- marginTop: 10,
792
+ marginTop: 5,
793
793
  marginBottom: 5,
794
794
  table: {
795
795
  widths: ['*', 'auto'],
@@ -497,10 +497,6 @@ export declare class SharedPDFService {
497
497
  hLineColor: (i: any, node: any) => string;
498
498
  };
499
499
  }[];
500
- } | {
501
- text: string;
502
- fontSize: number;
503
- opacity: number;
504
500
  })[];
505
501
  })[];
506
502
  marginLeft: number;
@@ -1000,8 +1000,8 @@ class SharedPDFService {
1000
1000
  return this.emptyObject();
1001
1001
  }
1002
1002
  let Data = [{ text: CustHeader + ':', style: 'hed2' },
1003
- { text: Customer.Code, fontSize: this.SubHeaderSize },
1004
- { text: Customer.Name, fontSize: this.SubHeaderSize },
1003
+ { text: Customer.Code, fontSize: 12 },
1004
+ { text: Customer.Name, fontSize: 12 },
1005
1005
  { text: this.GetAddress(Customer), marginTop: 3 },
1006
1006
  this.GetCustPhoneNumber(Customer, Type), this.GetCustomerGSTIN(Customer), this.GetCustomerDLNo(Customer),
1007
1007
  ,
@@ -1397,7 +1397,7 @@ class SharedPDFService {
1397
1397
  return {
1398
1398
  style: 'tableExample',
1399
1399
  table: {
1400
- widths: [20, 20, 40, 40],
1400
+ widths: [20, 60, 40, 40],
1401
1401
  body: this.ALLPartsCGSTTaxListTable(PartsTaxInfo, ShowAccParts, ShowTaxColumn)
1402
1402
  },
1403
1403
  layout: this.HeaderLineStyle(),
@@ -1617,16 +1617,15 @@ class SharedPDFService {
1617
1617
  totalDisc = tr_utils_1.TrUtils.FixPriceValue((0, aggregation_1.addition)(Number(OverAllMainLaborDiscount), Number(OverAllMainPartsDiscount)), RecordData.Entity.DecimalsNumber);
1618
1618
  }
1619
1619
  }
1620
- let serviceName;
1621
- let itemName;
1622
- if (isAuto) {
1623
- serviceName = 'Labor Tax';
1624
- itemName = 'Parts Tax';
1625
- }
1626
- else {
1627
- serviceName = 'Service Tax';
1628
- itemName = 'Items Tax';
1629
- }
1620
+ // let serviceName: string;
1621
+ // let itemName: string;
1622
+ // if (isAuto) {
1623
+ // serviceName = 'Labor Tax';
1624
+ // itemName = 'Parts Tax';
1625
+ // } else {
1626
+ // serviceName = 'Service Tax';
1627
+ // itemName = 'Items Tax';
1628
+ // }
1630
1629
  return {
1631
1630
  columns: [
1632
1631
  // this.GetTaxOnLabor(BasicLaborTotal, OverAllMainLaborDiscount, LCGST,
@@ -1636,7 +1635,7 @@ class SharedPDFService {
1636
1635
  stack: [
1637
1636
  // this.GetTaxOnParts(BasicPartsTotal, OverAllMainPartsDiscount, PCGST,
1638
1637
  // PSGST, ShowAccParts, PIGST, ShowIGST, ShowTaxColumn, ShowDetailedPartTaxInfo, From),
1639
- { text: (istaxable && CustLaborTaxGroupDataByPerc.length !== 0) ? serviceName : '', fontSize: 7, opacity: 0.8 },
1638
+ // { text: (istaxable && CustLaborTaxGroupDataByPerc.length !== 0) ? serviceName : '', fontSize: 7, opacity: 0.8 },
1640
1639
  this.PartsTaxAmounts1(CustLaborTaxGroupDataByPerc, ShowAccParts, ShowIGST, ShowTaxColumn),
1641
1640
  // { text: (istaxable && PartsTaxInfo.length !== 0) ? itemName : '', fontSize: 7, opacity: 0.8 },
1642
1641
  // this.PartsTaxAmounts1(PartsTaxInfo, ShowAccParts, ShowIGST,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.4.65",
3
+ "version": "1.4.66",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",