shareneus 1.4.42 → 1.4.43
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.
|
@@ -902,7 +902,7 @@ class InvoiceLandscapePdfService {
|
|
|
902
902
|
// ROPrintData.ShowTaxColumn, ROPrintData.From),
|
|
903
903
|
shared_pdf_service_1.SharedPDFService.GetBankDetials(ROPrintData.Entity.Bank, ROPrintData.Entity.PrBank),
|
|
904
904
|
{
|
|
905
|
-
columns: [{ text: '', width: moreDiscDetails ?
|
|
905
|
+
columns: [{ text: '', width: moreDiscDetails ? 153 : 175 }, shared_pdf_service_1.SharedPDFService.GrandTotal(ROPrintData, '0.00', ROPrintData.CustPartsTotalBeforeDisc, totalDisc, totalTax, ROPrintData.For, ROPrintData.FixedTotal, ROPrintData.CustTotalRoundedBy, ROPrintData.CustRoundedTotal, null, ROPrintData.Consolidate, null, moreDiscDetails)]
|
|
906
906
|
}
|
|
907
907
|
// SharedPDFService.GetCustomer(ROPrintData.Customer, ROPrintData.Type, ROPrintData.For,
|
|
908
908
|
// ROPrintData.Product, ROPrintData.Settings, 'Customer Name & Address', false)
|
|
@@ -523,7 +523,7 @@ class InvoicePortraitPrintService {
|
|
|
523
523
|
}
|
|
524
524
|
if (ShowTaxColumn && printOptions.ShowTax !== 'NO') {
|
|
525
525
|
let Tax = (_c = item.TaxName) === null || _c === void 0 ? void 0 : _c.split('%');
|
|
526
|
-
dataRow.push({ text: tr_utils_1.TrUtils.IsNull(Tax) ? '' : Tax[0], alignment: 'right', style: ['headerstyle'], });
|
|
526
|
+
dataRow.push({ text: tr_utils_1.TrUtils.IsNull(Tax) ? '' : Number(Tax[0]), alignment: 'right', style: ['headerstyle'], });
|
|
527
527
|
}
|
|
528
528
|
dataRow.push({ text: item.Ret ? '-' + tr_utils_1.TrUtils.FixPriceValue(item.LineTotal) : tr_utils_1.TrUtils.FixPriceValue(item.LineTotal), alignment: 'right', style: ['headerstyle'], });
|
|
529
529
|
body.push(dataRow);
|