From 6113cc1e43ea15d76b22b59996636b3cbaffb963 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2025 15:14:08 +0530 Subject: [PATCH] fix: pos payment cash shortcut decimal (backport #45702) (#45705) fix: pos payment cash shortcut decimal (#45702) (cherry picked from commit a20116816e0f29c2a565a0875d9a3ed18f2a7953) Co-authored-by: Diptanil Saha --- erpnext/selling/page/point_of_sale/pos_payment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/page/point_of_sale/pos_payment.js b/erpnext/selling/page/point_of_sale/pos_payment.js index 92349d27aca..0adbf2280dc 100644 --- a/erpnext/selling/page/point_of_sale/pos_payment.js +++ b/erpnext/selling/page/point_of_sale/pos_payment.js @@ -462,7 +462,7 @@ erpnext.PointOfSale.Payment = class { this.$payment_modes.find(".cash-shortcuts").remove(); let shortcuts_html = shortcuts .map((s) => { - return `
${format_currency(s, currency, 0)}
`; + return `
${format_currency(s, currency)}
`; }) .join("");