shareneus 1.4.19 → 1.4.21

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.
@@ -194,7 +194,7 @@ class ExpiringDrugsXlsxFileService {
194
194
  { text: InvoiceInfo.Batch.BN, ColRange: 1, IsString: true },
195
195
  { text: my_date_1.MyDate.ConvertUTCDateToReadableExDateTxt(InvoiceInfo.Batch.ExDt), ColRange: 1, IsString: true },
196
196
  { text: InvoiceInfo.Batch.Qty, ColRange: 1, IsString: true },
197
- { text: InvoiceInfo.Batch.Cost, ColRange: 1, IsString: true },
197
+ { text: tr_utils_1.TrUtils.FixPriceValue(InvoiceInfo.Batch.Cost), ColRange: 1, IsString: true },
198
198
  { text: tr_utils_1.TrUtils.FixPriceValue(InvoiceInfo.Batch.Qty * InvoiceInfo.Batch.Cost), ColRange: 1, IsString: true },
199
199
  // { text: InvoiceInfo.Round, ColRange: 1, IsString: true },
200
200
  // { text: InvoiceInfo.Total, ColRange: 1, IsString: false }
@@ -133,7 +133,7 @@ class ExpiringDrugPDFService {
133
133
  dataRow.push({ text: item.Batch.BN, alignment: 'left', style: ['headerstyle'], });
134
134
  dataRow.push({ text: my_date_1.MyDate.ConvertUTCDateToReadableExDateTxt(item.Batch.ExDt), alignment: 'center', style: ['headerstyle'], });
135
135
  dataRow.push({ text: item.Batch.Qty, alignment: 'right', style: ['headerstyle'], });
136
- dataRow.push({ text: item.Batch.Cost, alignment: 'right', style: ['headerstyle'], });
136
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(item.Batch.Cost), alignment: 'right', style: ['headerstyle'], });
137
137
  dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(item.Batch.Qty * item.Batch.Cost), alignment: 'right', style: ['headerstyle'], });
138
138
  body.push(dataRow);
139
139
  });
@@ -38,6 +38,8 @@ class InvoicePortraitPrintService {
38
38
  },
39
39
  this.GetItemsTable(InvoicePDFData.Ops, InvoicePDFData.Items, InvoicePDFData.ShowTaxColumn, InvoicePDFData.SType, printOptions, size),
40
40
  [this.TotalDetails(InvoicePDFData)],
41
+ [shared_pdf_service_1.SharedPDFService.InvoiceDueStatus(InvoicePDFData.Type, InvoicePDFData.Paid, InvoicePDFData.Due, InvoicePDFData.Sts, InvoicePDFData.isCountersale),
42
+ ],
41
43
  {
42
44
  style: 'tableExample',
43
45
  table: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.4.19",
3
+ "version": "1.4.21",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",