mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-24 09:08:30 +00:00
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:
@@ -462,7 +462,7 @@ erpnext.PointOfSale.Payment = class {
|
|||||||
this.$payment_modes.find(".cash-shortcuts").remove();
|
this.$payment_modes.find(".cash-shortcuts").remove();
|
||||||
let shortcuts_html = shortcuts
|
let shortcuts_html = shortcuts
|
||||||
.map((s) => {
|
.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("");
|
.join("");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user