shareneus 1.4.77 → 1.4.79

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.
@@ -793,8 +793,8 @@ class HCInvoiceprintService {
793
793
  marginBottom: 5,
794
794
  table: {
795
795
  widths: ['*', 'auto'],
796
- body: [[{ text: 'Paid : Rs.' + tr_utils_1.TrUtils.FixPriceValue(Paid, DecimalsNumber), marginLeft: 30 },
797
- { text: 'Due : Rs.' + tr_utils_1.TrUtils.FixPriceValue(Due, DecimalsNumber), marginRight: 30 }]]
796
+ body: [[{ text: 'Paid : Rs.' + tr_utils_1.TrUtils.FixPriceValue(Paid, DecimalsNumber), marginLeft: 20 },
797
+ { text: 'Due : Rs.' + tr_utils_1.TrUtils.FixPriceValue(Due, DecimalsNumber), marginRight: 20 }]]
798
798
  },
799
799
  layout: shared_pdf_service_1.SharedPDFService.LayOutLineStyle(),
800
800
  };
@@ -111,12 +111,11 @@ class InvoicePortraitPrintService {
111
111
  marginTop: 10,
112
112
  marginBottom: 5,
113
113
  table: {
114
- widths: ['*', '*', '*'],
115
- body: [[{ text: 'Paid : ' + tr_utils_1.TrUtils.FixPriceValue(Paid, DecimalsNumber) },
116
- { text: 'Due : ' + tr_utils_1.TrUtils.FixPriceValue(Due, DecimalsNumber) },
117
- { text: 'Status : ' + Status }]]
114
+ widths: ['*', 'auto'],
115
+ body: [[{ text: 'Paid : ' + tr_utils_1.TrUtils.FixPriceValue(Paid, DecimalsNumber), marginLeft: 20 },
116
+ { text: 'Due : ' + tr_utils_1.TrUtils.FixPriceValue(Due, DecimalsNumber), marginRight: 20 }]]
118
117
  },
119
- layout: this.LayOutStyle(),
118
+ layout: shared_pdf_service_1.SharedPDFService.LayOutLineStyle(),
120
119
  };
121
120
  }
122
121
  else {
@@ -600,7 +599,7 @@ class InvoicePortraitPrintService {
600
599
  widths: ['*', '*'],
601
600
  body: [
602
601
  [
603
- shared_pdf_service_1.SharedPDFService.PartsTaxAmounts(ROPrintData.TaxSummary, true, ROPrintData.ShowIGST, ROPrintData.ShowTaxColumn),
602
+ shared_pdf_service_1.SharedPDFService.PartsTaxAmounts1(ROPrintData.TaxSummary, true, ROPrintData.ShowIGST, ROPrintData.ShowTaxColumn),
604
603
  {
605
604
  columns: [{ text: '', width: moreDiscDetails ? 120 : 150 }, this.GrandTotal(ROPrintData, '0.00', ROPrintData.CustPartsTotalBeforeDisc, totalDisc, totalTax, ROPrintData.For, ROPrintData.FixedTotal, ROPrintData.CustTotalRoundedBy, ROPrintData.CustRoundedTotal, null, ROPrintData.Consolidate, ROPrintData.STotal, moreDiscDetails, ROPrintData.Entity.DecimalsNumber)],
606
605
  }
@@ -1519,10 +1519,10 @@ class SharedPDFService {
1519
1519
  dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(part[column.Field]), alignment: 'right', opacity: 0.7, nowrap: true, fontSize: 6 });
1520
1520
  }
1521
1521
  else if (column.Field === 'CombinedTaxPercentage') {
1522
- dataRow.push({ text: part[column.Field].toString() + '%', alignment: 'center', opacity: 0.7, nowrap: true, fontSize: 6 });
1522
+ dataRow.push({ text: part[column.Field].toString() + '%', alignment: 'left', opacity: 0.7, nowrap: true, fontSize: 6 });
1523
1523
  }
1524
1524
  else {
1525
- dataRow.push({ text: part[column.Field].toString(), alignment: 'center', opacity: 0.7, nowrap: true, fontSize: 6 });
1525
+ dataRow.push({ text: part[column.Field].toString(), alignment: 'left', opacity: 0.7, nowrap: true, fontSize: 6 });
1526
1526
  }
1527
1527
  }
1528
1528
  else {
@@ -2124,8 +2124,8 @@ class SharedPDFService {
2124
2124
  marginBottom: 5,
2125
2125
  table: {
2126
2126
  widths: ['*', 'auto'],
2127
- body: [[{ text: 'Paid : Rs.' + tr_utils_1.TrUtils.FixPriceValue(Paid, DecimalsNumber), marginLeft: 30 },
2128
- { text: 'Due : Rs.' + tr_utils_1.TrUtils.FixPriceValue(Due, DecimalsNumber), marginRight: 30 }]]
2127
+ body: [[{ text: 'Paid : Rs.' + tr_utils_1.TrUtils.FixPriceValue(Paid, DecimalsNumber), marginLeft: 20 },
2128
+ { text: 'Due : Rs.' + tr_utils_1.TrUtils.FixPriceValue(Due, DecimalsNumber), marginRight: 20 }]]
2129
2129
  },
2130
2130
  layout: this.LayOutLineStyle(),
2131
2131
  };
@@ -2143,8 +2143,8 @@ class SharedPDFService {
2143
2143
  marginBottom: 5,
2144
2144
  table: {
2145
2145
  widths: ['*', 'auto'],
2146
- body: [[{ text: 'Paid : Rs.' + Paid, marginLeft: 30 },
2147
- { text: 'Due : Rs.' + Due, marginRight: 30 }]]
2146
+ body: [[{ text: 'Paid : Rs.' + Paid, marginLeft: 20 },
2147
+ { text: 'Due : Rs.' + Due, marginRight: 20 }]]
2148
2148
  },
2149
2149
  layout: this.LayOutStyle(),
2150
2150
  };
@@ -2285,7 +2285,7 @@ class SharedPDFService {
2285
2285
  }
2286
2286
  static CompanyName(CName) {
2287
2287
  return {
2288
- text: [{ text: 'For ', fontSize: 10 }, { text: CName, bold: 'true', fontSize: 10 }],
2288
+ text: [{ text: 'For ', fontSize: 9 }, { text: CName, bold: 'true', fontSize: 9 }],
2289
2289
  };
2290
2290
  }
2291
2291
  static Authorizedsignature() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.4.77",
3
+ "version": "1.4.79",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",