shareneus 1.6.70 → 1.6.71

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.
@@ -68,6 +68,10 @@ function GetSalesOrderPDF(salesOrderData, entityData, headerConfig, printConfig,
68
68
  soPrint = sales_pdf_service_1.SalesPdfService.GetSalesPrint(salesOrderData, numberofCopies, options.isOtherIndustry, entityData, options.Design, options.SoItems, image, options.MoreDiscDetails);
69
69
  }
70
70
  else {
71
+ soPrintData.Round = tr_utils_1.TrUtils.FixedTo(salesOrderData.Round);
72
+ soPrintData.Total = tr_utils_1.TrUtils.FixedTo(salesOrderData.Total);
73
+ soPrintData.SubToal = tr_utils_1.TrUtils.FixedTo(salesOrderData.SubToal);
74
+ soPrintData.TaxTotal = tr_utils_1.TrUtils.FixedTo(salesOrderData.TaxTotal);
71
75
  soPrint = (0, invoice_pdf_service_1.CreateInvoicePDFService)(soPrintData, printConfigData, numberofCopies);
72
76
  }
73
77
  return soPrint;
@@ -90,6 +94,10 @@ function GetCreditNotePDF(creditNoteData, entityData, headerConfig, printConfig,
90
94
  cnPrint = credit_note_pdf_service_1.CreditNotePdfService.GetInvoicePrint(creditNotePrintData, null, false);
91
95
  }
92
96
  else {
97
+ creditNotePrintData.Round = tr_utils_1.TrUtils.FixedTo(creditNoteData.Round);
98
+ creditNotePrintData.Total = tr_utils_1.TrUtils.FixedTo(creditNoteData.Total);
99
+ creditNotePrintData.SubToal = tr_utils_1.TrUtils.FixedTo(creditNoteData.SubToal);
100
+ creditNotePrintData.TaxTotal = tr_utils_1.TrUtils.FixedTo(creditNoteData.TaxTotal);
93
101
  cnPrint = (0, invoice_pdf_service_1.CreateInvoicePDFService)(creditNotePrintData, printConfigData, numberofCopies);
94
102
  }
95
103
  return cnPrint;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.6.70",
3
+ "version": "1.6.71",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",