From ff46ae5bc1af5c28aaafe9213ac6795e0d0d8892 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 13:21:40 +0530 Subject: [PATCH] fix: currency decimal on POS Past Order List (backport #45524) (#45527) fix: currency decimal on POS Past Order List (#45524) * fix: currency decimal on POS * fix: removed precision (cherry picked from commit 2ac8c92e7fc30a50cf6b84bfea3cc334e6fa64bd) Co-authored-by: Diptanil Saha --- erpnext/selling/page/point_of_sale/pos_past_order_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/page/point_of_sale/pos_past_order_list.js b/erpnext/selling/page/point_of_sale/pos_past_order_list.js index ab2fd3e1547..dda44f25299 100644 --- a/erpnext/selling/page/point_of_sale/pos_past_order_list.js +++ b/erpnext/selling/page/point_of_sale/pos_past_order_list.js @@ -110,7 +110,7 @@ erpnext.PointOfSale.PastOrderList = class {
-
${format_currency(invoice.grand_total, invoice.currency, 0) || 0}
+
${format_currency(invoice.grand_total, invoice.currency) || 0}
${posting_datetime}