fix: pos payment cash shortcut decimal (backport #45702) (#45705)

fix: pos payment cash shortcut decimal (#45702)

(cherry picked from commit a20116816e)

Co-authored-by: Diptanil Saha <diptanil@frappe.io>
This commit is contained in:
mergify[bot]
2025-02-04 15:14:08 +05:30
committed by GitHub
parent b915e7f637
commit 6113cc1e43

View File

@@ -462,7 +462,7 @@ erpnext.PointOfSale.Payment = class {
this.$payment_modes.find(".cash-shortcuts").remove();
let shortcuts_html = shortcuts
.map((s) => {
return `<div class="shortcut" data-value="${s}">${format_currency(s, currency, 0)}</div>`;
return `<div class="shortcut" data-value="${s}">${format_currency(s, currency)}</div>`;
})
.join("");