From 4d2352af00ddfd3d57eaf217fd1b14f786c3aba7 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 13:21:34 +0530 Subject: [PATCH] fix: currency decimal on POS Past Order List (backport #45524) (#45526) 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 c450d8a109a..e05a3b0f9db 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}