shareneus 1.4.72 → 1.4.73

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.
@@ -688,7 +688,7 @@ class InvoiceprintService {
688
688
  // ROPrintData.ShowTaxColumn, ROPrintData.ShowTaxColumn,
689
689
  // TrUtils.isTaxable(ROPrintData.Settings.Tax), ROPrintData.CustLaborITax,
690
690
  // ROPrintData.CustPartITax, ROPrintData.Consolidate, ROPrintData.From, ROPrintData.Adj,ROPrintData.STotal),
691
- shared_pdf_service_1.SharedPDFService.GetFinalTotalDetails1(ROPrintData, ROPrintData.CustLaborTotalAfterDisc, ROPrintData.CustLaborDiscTotal, ROPrintData.CustLaborCGST, ROPrintData.CustLaborSGST, ROPrintData.CustLaborIGST, ROPrintData.CustPartIGST, ROPrintData.ShowIGST, ROPrintData.ShowTaxColumn, ROPrintData.CustPartsTotalAfterDisc, ROPrintData.CustPartsDiscTotal, ROPrintData.CustPartCGST, ROPrintData.CustPartSGST, ROPrintData.TaxSummary, ROPrintData.ShowAccParts, ROPrintData.CustLaborAfterTax, ROPrintData.CustPartAfterTax, ROPrintData.FixedDisc, ROPrintData.For, ROPrintData.FixedTotal, ROPrintData.CustTotalRoundedBy, ROPrintData.CustRoundedTotal, ROPrintData.ShowTaxColumn, ROPrintData.ShowTaxColumn, tr_utils_1.TrUtils.isTaxable(ROPrintData.Settings.Tax), ROPrintData.CustLaborITax, ROPrintData.CustPartITax, ROPrintData.Consolidate, ROPrintData.From, ROPrintData.Adj, ROPrintData.CustLaborTaxGroupDataByPerc, ROPrintData.STotal, isAuto, moreDiscDetails),
691
+ shared_pdf_service_1.SharedPDFService.GetFinalTotalDetails1(ROPrintData, ROPrintData.CustLaborTotalAfterDisc, ROPrintData.CustLaborDiscTotal, ROPrintData.CustLaborCGST, ROPrintData.CustLaborSGST, ROPrintData.CustLaborIGST, ROPrintData.CustPartIGST, ROPrintData.ShowIGST, ROPrintData.ShowTaxColumn, ROPrintData.CustPartsTotalAfterDisc, ROPrintData.CustPartsDiscTotal, ROPrintData.CustPartCGST, ROPrintData.CustPartSGST, ROPrintData.TaxSummary, ROPrintData.ShowAccParts, ROPrintData.CustLaborAfterTax, ROPrintData.CustPartAfterTax, ROPrintData.FixedDisc, ROPrintData.For, ROPrintData.FixedTotal, ROPrintData.CustTotalRoundedBy, ROPrintData.CustRoundedTotal, ROPrintData.ShowTaxColumn, ROPrintData.ShowTaxColumn, tr_utils_1.TrUtils.isTaxable(ROPrintData.Settings.Tax), ROPrintData.CustLaborITax, ROPrintData.CustPartITax, ROPrintData.Consolidate, ROPrintData.From, ROPrintData.Adj, ROPrintData.TaxSummary, ROPrintData.STotal, isAuto, moreDiscDetails),
692
692
  this.GetNumberInWords(ROPrintData.CustRoundedTotal),
693
693
  shared_pdf_service_1.SharedPDFService.InvoiceDueStatus(ROPrintData.Type, ROPrintData.Paid, ROPrintData.Due, ROPrintData.Sts, ROPrintData.isCountersale, ROPrintData.Entity.DecimalsNumber),
694
694
  shared_pdf_service_1.SharedPDFService.GetTemsAndConditions(ROPrintData.Entity.Terms),
@@ -595,7 +595,7 @@ export declare class SharedPDFService {
595
595
  marginTop: number;
596
596
  marginBottom: number;
597
597
  table: {
598
- widths: number[];
598
+ widths: string[];
599
599
  body: {
600
600
  text: string;
601
601
  }[][];
@@ -2121,13 +2121,12 @@ class SharedPDFService {
2121
2121
  return {
2122
2122
  // lineHeight: 0.7,
2123
2123
  fontSize: this.TableHeaders,
2124
- marginTop: 10,
2124
+ marginTop: 3,
2125
2125
  marginBottom: 5,
2126
2126
  table: {
2127
- widths: [200, 174, 174],
2127
+ widths: ['*', 'auto'],
2128
2128
  body: [[{ text: 'Paid : ' + tr_utils_1.TrUtils.FixPriceValue(Paid, DecimalsNumber) },
2129
- { text: 'Due : ' + tr_utils_1.TrUtils.FixPriceValue(Due, DecimalsNumber) },
2130
- { text: 'Status : ' + Status }]]
2129
+ { text: 'Due : ' + tr_utils_1.TrUtils.FixPriceValue(Due, DecimalsNumber) }]]
2131
2130
  },
2132
2131
  layout: this.LayOutStyle(),
2133
2132
  };
@@ -2144,10 +2143,9 @@ class SharedPDFService {
2144
2143
  marginTop: 10,
2145
2144
  marginBottom: 5,
2146
2145
  table: {
2147
- widths: [200, 174, 174],
2146
+ widths: ['*', 'auto'],
2148
2147
  body: [[{ text: 'Paid : ' + Paid },
2149
- { text: 'Due : ' + Due },
2150
- { text: 'Status : ' + Status }]]
2148
+ { text: 'Due : ' + Due }]]
2151
2149
  },
2152
2150
  layout: this.LayOutStyle(),
2153
2151
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.4.72",
3
+ "version": "1.4.73",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",