mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
Merge pull request #44522 from frappe/mergify/bp/version-15-hotfix/pr-42081
Use better description in pos_payment.js (backport #42081)
This commit is contained in:
@@ -589,7 +589,7 @@ erpnext.PointOfSale.Payment = class {
|
|||||||
const remaining = grand_total - doc.paid_amount;
|
const remaining = grand_total - doc.paid_amount;
|
||||||
const change = doc.change_amount || remaining <= 0 ? -1 * remaining : undefined;
|
const change = doc.change_amount || remaining <= 0 ? -1 * remaining : undefined;
|
||||||
const currency = doc.currency;
|
const currency = doc.currency;
|
||||||
const label = change ? __("Change") : __("To Be Paid");
|
const label = __("Change Amount");
|
||||||
|
|
||||||
this.$totals.html(
|
this.$totals.html(
|
||||||
`<div class="col">
|
`<div class="col">
|
||||||
|
|||||||
Reference in New Issue
Block a user