shareneus 1.4.68 → 1.4.70

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.
@@ -789,7 +789,7 @@ class HCInvoiceprintService {
789
789
  return {
790
790
  // lineHeight: 0.7,
791
791
  fontSize: 9,
792
- marginTop: 5,
792
+ marginTop: 3,
793
793
  marginBottom: 5,
794
794
  table: {
795
795
  widths: ['*', 'auto'],
@@ -1361,7 +1361,7 @@ class SharedPDFService {
1361
1361
  return {
1362
1362
  style: 'tableExample',
1363
1363
  table: {
1364
- widths: [50, '*', 50, 50],
1364
+ widths: [50, 65, 50, 50],
1365
1365
  headerRows: 1,
1366
1366
  body: this.CreateHSNTaxTable1(PartsTaxInfo, ShowAccParts, ShowIGST, ShowTaxColumn)
1367
1367
  },
@@ -1514,9 +1514,9 @@ class SharedPDFService {
1514
1514
  columns.forEach((column) => {
1515
1515
  if (!tr_utils_1.TrUtils.IsFixedZero(part[column.Field]) &&
1516
1516
  !tr_utils_1.TrUtils.IsNull(part[column.Field]) || column.Field === 'SGST' || column.Field === 'CGST' || column.Field === 'SGSTAmt' || column.Field === 'CGSTAmt'
1517
- || column.Field === 'TotalTaxAmount') {
1518
- if (column.Field === 'TotalTaxAmount' || column.Field === 'SGSTAmt' || column.Field === 'CGSTAmt' || column.Field === 'IGSTAmt') {
1519
- dataRow.push({ text: part[column.Field].toString(), alignment: 'right', opacity: 0.7, nowrap: true, fontSize: 6 });
1517
+ || column.Field === 'TotalTaxableAmount') {
1518
+ if (column.Field === 'TotalTaxableAmount' || column.Field === 'SGSTAmt' || column.Field === 'CGSTAmt' || column.Field === 'IGSTAmt') {
1519
+ dataRow.push({ text: tr_utils_1.TrUtils.FixPriceValue(part[column.Field]), alignment: 'right', opacity: 0.7, nowrap: true, fontSize: 6 });
1520
1520
  }
1521
1521
  else if (column.Field === 'CombinedTaxPercentage') {
1522
1522
  dataRow.push({ text: part[column.Field].toString() + '%', alignment: 'center', opacity: 0.7, nowrap: true, fontSize: 6 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.4.68",
3
+ "version": "1.4.70",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",