shareneus 1.7.5 → 1.7.6

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.
@@ -38,7 +38,7 @@ function GetInvoicePDF(invoiceData, entityData, headerConfig, printConfig, taxCo
38
38
  printConfigData.withPass = withPass;
39
39
  const invoicePrintData = (0, inv_print_service_1.GetInvoicePrintInfo)(invoiceData, entityData, image, options.ShowGST, options.ConsolidateGST, taxCodes, options.IsProforma, options.PartInvoice, options.LaborInvoice);
40
40
  let invPrint;
41
- if (options.ConsolidateGST || !options.ShowGST) {
41
+ if (options.ConsolidateGST) {
42
42
  invPrint = (0, unified_invoice_pdf_service_1.GetInvoicePrint)(invoicePrintData, numberofCopies, withPass, options.Size, options.MoreDiscDetails, options.Orientation);
43
43
  }
44
44
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.7.05",
3
+ "version": "1.7.06",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -36,7 +36,7 @@ export function GetInvoicePDF(invoiceData: any, entityData: any, headerConfig: a
36
36
  const invoicePrintData: any = GetInvoicePrintInfo(invoiceData, entityData, image,
37
37
  options.ShowGST, options.ConsolidateGST, taxCodes, options.IsProforma, options.PartInvoice, options.LaborInvoice);
38
38
  let invPrint: any;
39
- if (options.ConsolidateGST || !options.ShowGST) {
39
+ if (options.ConsolidateGST) {
40
40
  invPrint = GetInvoicePrint(invoicePrintData, numberofCopies, withPass, options.Size, options.MoreDiscDetails, options.Orientation);
41
41
  } else {
42
42
  invoicePrintData.Round = TrUtils.FixedTo(invoiceData.Round);