shareneus 1.7.1 → 1.7.2
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.
|
@@ -449,7 +449,7 @@ class PosReceiptPrintService {
|
|
|
449
449
|
if (ShowTaxColumn) {
|
|
450
450
|
dataRow.push({ text: item.HSN, alignment: 'center', style: ['headerstyle'], });
|
|
451
451
|
}
|
|
452
|
-
dataRow.push({ text: item.
|
|
452
|
+
dataRow.push({ text: item.BN, alignment: 'center', style: ['headerstyle'], });
|
|
453
453
|
dataRow.push({ text: item.ExDt, alignment: 'center', style: ['headerstyle'], });
|
|
454
454
|
dataRow.push({ text: item.Make, alignment: 'center', style: ['headerstyle'], });
|
|
455
455
|
dataRow.push({ text: item.Sch, alignment: 'center', style: ['headerstyle'], });
|
|
@@ -214,7 +214,7 @@ class SaleReceiptPrintService {
|
|
|
214
214
|
Item.UnPr = tr_utils_1.TrUtils.FixPriceValue(Item.UnPr, DecimalsNumber);
|
|
215
215
|
}
|
|
216
216
|
Item.ExDt = this.GetExpiryDate(Item);
|
|
217
|
-
Item.
|
|
217
|
+
Item.BN = this.GetBatchesData(Item, OBN);
|
|
218
218
|
Item.TCode = this.GetTCodeFromTaxes(Item);
|
|
219
219
|
Item.CGSTAmt = tr_utils_1.TrUtils.FixedTo(itemCGST, DecimalsNumber);
|
|
220
220
|
if (tr_utils_1.TrUtils.IsNull(Item.ConUt)) {
|
|
@@ -66,7 +66,7 @@ function buildTopSectionColumns(taxSummary, sType, showBankDetails, bankDetails,
|
|
|
66
66
|
const inWords = totalInWords || '-';
|
|
67
67
|
if (taxSummary.hasData) {
|
|
68
68
|
return [
|
|
69
|
-
{ width: '42%', stack: buildTaxSummaryTableStack(null, taxSummary.rows, sType) },
|
|
69
|
+
{ width: '42%', stack: buildTaxSummaryTableStack(null, taxSummary.rows, sType), marginTop: 2 },
|
|
70
70
|
{ width: '28%', stack: showBankDetails ? buildInfoCardStack('Bank Details', bankDetails.lines) : [{ text: '' }] },
|
|
71
71
|
{ width: '30%', stack: buildInfoCardStack(null, totals.lines, { rightAlign: true }) }
|
|
72
72
|
];
|
|
@@ -85,7 +85,7 @@ function buildTopSectionColumns(taxSummary, sType, showBankDetails, bankDetails,
|
|
|
85
85
|
{ width: '*', text: inWords, bold: true, fontSize: 9, color: '#111827' }
|
|
86
86
|
],
|
|
87
87
|
columnGap: 6,
|
|
88
|
-
margin: [0,
|
|
88
|
+
margin: [0, 2, 0, 4]
|
|
89
89
|
},
|
|
90
90
|
{ width: '30%', stack: buildInfoCardStack(null, totals.lines, { rightAlign: true }) }
|
|
91
91
|
];
|
|
@@ -102,7 +102,7 @@ function buildPostTotalsInfoSection(data) {
|
|
|
102
102
|
{ width: '*', text: inWords, bold: true, fontSize: 9, color: '#111827' }
|
|
103
103
|
],
|
|
104
104
|
columnGap: 6,
|
|
105
|
-
margin: [0,
|
|
105
|
+
margin: [0, 2, 0, 4]
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
if (data.showDueSection && !data.isPoSPrint) {
|
|
@@ -132,7 +132,7 @@ function buildPostTotalsInfoSection(data) {
|
|
|
132
132
|
width: '60%',
|
|
133
133
|
stack: [
|
|
134
134
|
{ text: '* Goods once sold will not be taken back or exchanged', fontSize: 6, color: '#111827' },
|
|
135
|
-
{ text: '* PLEASE GET YOUR MEDICINES CHECKED BY YOUR DOCTOR BEFORE USE
|
|
135
|
+
{ text: '* PLEASE GET YOUR MEDICINES CHECKED BY YOUR DOCTOR BEFORE USE', fontSize: 6, color: '#111827' }
|
|
136
136
|
],
|
|
137
137
|
margin: [5, 0, 0, 6],
|
|
138
138
|
lineHeight: 1.1
|