shareneus 1.2.3 → 1.2.4
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.
|
@@ -408,6 +408,33 @@ class InvoicePortraitPrintService {
|
|
|
408
408
|
});
|
|
409
409
|
}
|
|
410
410
|
if (!tr_utils_1.TrUtils.IsNull(Items) && Items.length !== 0) {
|
|
411
|
+
if (!tr_utils_1.TrUtils.IsNull(Services) && Services.length !== 0) {
|
|
412
|
+
let dataRow = [];
|
|
413
|
+
dataRow.push({ text: '', });
|
|
414
|
+
dataRow.push({ text: '', });
|
|
415
|
+
if (ShowTaxColumn) {
|
|
416
|
+
dataRow.push({ text: '', alignment: 'center', style: ['headerstyle'], });
|
|
417
|
+
}
|
|
418
|
+
dataRow.push({ text: '', alignment: 'center', style: ['headerstyle'], });
|
|
419
|
+
dataRow.push({ text: '', alignment: 'center', style: ['headerstyle'], });
|
|
420
|
+
dataRow.push({ text: '', alignment: 'right', style: ['headerstyle'], });
|
|
421
|
+
dataRow.push({ text: '', alignment: 'right', style: ['headerstyle'], });
|
|
422
|
+
dataRow.push({ text: '', alignment: 'right', style: ['headerstyle'], });
|
|
423
|
+
dataRow.push({ text: '', alignment: 'right', style: ['headerstyle'], });
|
|
424
|
+
if (printOptions.Disc !== 'NO') {
|
|
425
|
+
if (printOptions.Disc === 'PERC') {
|
|
426
|
+
dataRow.push({ text: '', alignment: 'right', style: ['headerstyle'], });
|
|
427
|
+
}
|
|
428
|
+
else {
|
|
429
|
+
dataRow.push({ text: '', alignment: 'right', style: ['headerstyle'], });
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
if (ShowTaxColumn && printOptions.ShowTax !== 'NO') {
|
|
433
|
+
dataRow.push({ text: '', alignment: 'right', style: ['headerstyle'], });
|
|
434
|
+
}
|
|
435
|
+
dataRow.push({ text: '', alignment: 'right', style: ['headerstyle'], });
|
|
436
|
+
body.push(dataRow);
|
|
437
|
+
}
|
|
411
438
|
Items.forEach((item, index) => {
|
|
412
439
|
var _a, _b;
|
|
413
440
|
let dataRow = [];
|
|
@@ -456,7 +483,7 @@ class InvoicePortraitPrintService {
|
|
|
456
483
|
if (ShowTaxColumn) {
|
|
457
484
|
HeadingNames = [[{ text: 'S.No', style: 'tableheader1', Field: 'SNo', alignment: 'left', fontSize: 7 },
|
|
458
485
|
{ text: 'Item Name', style: 'tableheader1', Field: 'Desc', alignment: 'left', line: true },
|
|
459
|
-
{ text: 'HSN', style: 'tableheader1', Field: 'HSN' },
|
|
486
|
+
{ text: 'HSN/SAC', style: 'tableheader1', Field: 'HSN' },
|
|
460
487
|
{ text: 'Batch No.', style: 'tableheader1', Field: 'Batches' },
|
|
461
488
|
{ text: 'Ex.Dt', style: 'tableheader1', Field: 'ExDate' },
|
|
462
489
|
{ text: 'Qty', style: 'tableheader1', Field: 'Qty', alignment: 'right' },
|