shareneus 1.1.1 → 1.1.3

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.
@@ -439,7 +439,7 @@ class InvoiceLandscapePdfService {
439
439
  dataRow.push({ text: part[column.Field].toString(), alignment: 'center' });
440
440
  }
441
441
  else {
442
- if (column.text === 'Line Total' || column.Field === 'UnPr' || column.Field === 'Batch' || column.Field === 'ExDate' || column.Field === 'QtyAndUoM'
442
+ if (column.text === 'Line Total' || column.Field === 'UnPr' || column.Field === 'MRP' || column.Field === 'Batch' || column.Field === 'ExDate' || column.Field === 'QtyAndUoM'
443
443
  || column.text === 'Tax' || column.Field === 'Disc' || column.Field === 'CGSTAmt' || column.Field === 'SGSTAmt'
444
444
  || column.Field === 'CGSTPerc' || column.Field === 'SGSTPerc' || column.Field === 'IGSTAmt' || column.Field === 'IGSTPerc') {
445
445
  if (column.Field === 'Disc') {
@@ -614,7 +614,7 @@ class InvoiceLandscapePdfService {
614
614
  if (PrintPartNo) {
615
615
  if (ShowIGST) {
616
616
  if (ShowDiscountColumn) {
617
- return [24, 50, '*', 35, 35, 35, 30, 25, 40, 20, 35, 35, 20, 35, 45];
617
+ return [24, 50, '*', 35, 35, 35, 30, 25, 40, 35, 20, 35, 20, 35, 45];
618
618
  }
619
619
  else {
620
620
  return [24, 50, '*', 35, 35, 35, 30, 25, 40, 40, 20, 35, 51];
@@ -622,17 +622,17 @@ class InvoiceLandscapePdfService {
622
622
  }
623
623
  else {
624
624
  if (ShowDiscountColumn) {
625
- return [24, 45, '*', 35, 35, 35, 30, 22, 40, 20, 34, 20, 32, 32, 20, 32, 48];
625
+ return [24, 45, '*', 35, 35, 35, 30, 22, 40, 40, 20, 34, 20, 32, 20, 32, 48];
626
626
  }
627
627
  else {
628
- return [24, 45, '*', 35, 35, 35, 30, 22, 40, 20, 32, 32, 20, 32, 54];
628
+ return [24, 45, '*', 35, 35, 35, 30, 22, 40, 40, 20, 32, 20, 32, 54];
629
629
  }
630
630
  }
631
631
  }
632
632
  else {
633
633
  if (ShowIGST) {
634
634
  if (ShowDiscountColumn) {
635
- return [24, '*', 35, 41, 35, 30, 25, 40, 20, 35, 35, 20, 35, 41];
635
+ return [24, '*', 35, 41, 35, 30, 25, 40, 40, 20, 35, 20, 35, 41];
636
636
  }
637
637
  else {
638
638
  return [24, '*', 35, 50, 35, 30, 25, 40, 40, 20, 40, 50];
@@ -640,10 +640,10 @@ class InvoiceLandscapePdfService {
640
640
  }
641
641
  else {
642
642
  if (ShowDiscountColumn) {
643
- return [24, '*', 35, 45, 35, 30, 22, 40, 20, 34, 20, 35, 35, 20, 35, 45];
643
+ return [24, '*', 35, 45, 35, 30, 22, 40, 40, 20, 34, 20, 35, 20, 35, 45];
644
644
  }
645
645
  else {
646
- return [24, '*', 35, 50, 35, 30, 22, 40, 20, 35, 35, 20, 35, 50];
646
+ return [24, '*', 35, 50, 35, 30, 22, 40, 40, 20, 35, 20, 35, 50];
647
647
  }
648
648
  }
649
649
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",