From 8524a660ce37f080caea2a908c6422d2326fab5c Mon Sep 17 00:00:00 2001 From: Srinivas-Saravanan Date: Tue, 31 Dec 2024 17:33:55 +0530 Subject: [PATCH] FIX_REPORT PAGE PRINT AND CSV --- app/Views/itemwise_report_with_payment_method.php | 4 ++-- app/Views/received_payments_report.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Views/itemwise_report_with_payment_method.php b/app/Views/itemwise_report_with_payment_method.php index 27d48cfa..f5f2e184 100644 --- a/app/Views/itemwise_report_with_payment_method.php +++ b/app/Views/itemwise_report_with_payment_method.php @@ -83,7 +83,7 @@ customize: function (win) { var total = calculateTotal(); $(win.document.body) - .append(`
Total Amount: ₹${total}
`); + .append(`
Total Amount: ${total}
`); } }, { @@ -96,7 +96,7 @@ var columnCount = csvRows[0].split(",").length; var emptyCells = Array(columnCount - 2).fill("").join(","); // Adjust the number of empty cells - var totalRow = `${emptyCells},Total,₹${total}`; + var totalRow = `${emptyCells},Total,${total}`; csvRows.push(totalRow); diff --git a/app/Views/received_payments_report.php b/app/Views/received_payments_report.php index a8aa9a03..ead62bec 100644 --- a/app/Views/received_payments_report.php +++ b/app/Views/received_payments_report.php @@ -165,7 +165,7 @@ customize: function (win) { var total = calculateTotal(); $(win.document.body) - .append(`
Total Amount: ₹${total}
`); + .append(`
Total Amount: ${total}
`); } }, { @@ -179,7 +179,7 @@ var columnCount = csvRows[0].split(",").length; var emptyCells = Array(columnCount - 2).fill("").join(","); - var totalRow = `${emptyCells},Total,₹${total}`; + var totalRow = `${emptyCells},Total,${total}`; csvRows.push(totalRow);