fix: Translate 'mode of payments' in the 'point of sale'. (#39467)
- Due to a language change, the name of 'mode of payments' was not translated in the placeholder.
This commit is contained in:
parent
d6b29d1cd7
commit
c310da7b29
@ -389,7 +389,7 @@ erpnext.PointOfSale.Payment = class {
|
||||
df: {
|
||||
label: p.mode_of_payment,
|
||||
fieldtype: 'Currency',
|
||||
placeholder: __('Enter {0} amount.', [p.mode_of_payment]),
|
||||
placeholder: __('Enter {0} amount.', [__(p.mode_of_payment)]),
|
||||
onchange: function() {
|
||||
const current_value = frappe.model.get_value(p.doctype, p.name, 'amount');
|
||||
if (current_value != this.value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user