fix(pos): number pad translations
This commit is contained in:
parent
03a6103fe5
commit
b1ac5ff9d2
@ -130,10 +130,10 @@ erpnext.PointOfSale.ItemCart = class {
|
||||
},
|
||||
cols: 5,
|
||||
keys: [
|
||||
[ 1, 2, 3, __('Quantity') ],
|
||||
[ 4, 5, 6, __('Discount') ],
|
||||
[ 7, 8, 9, __('Rate') ],
|
||||
[ '.', 0, __('Delete'), __('Remove') ]
|
||||
[ 1, 2, 3, 'Quantity' ],
|
||||
[ 4, 5, 6, 'Discount' ],
|
||||
[ 7, 8, 9, 'Rate' ],
|
||||
[ '.', 0, 'Delete', 'Remove' ]
|
||||
],
|
||||
css_classes: [
|
||||
[ '', '', '', 'col-span-2' ],
|
||||
|
@ -25,7 +25,7 @@ erpnext.PointOfSale.NumberPad = class {
|
||||
const fieldname = fieldnames && fieldnames[number] ?
|
||||
fieldnames[number] : typeof number === 'string' ? frappe.scrub(number) : number;
|
||||
|
||||
return a2 + `<div class="numpad-btn ${class_to_append}" data-button-value="${fieldname}">${number}</div>`;
|
||||
return a2 + `<div class="numpad-btn ${class_to_append}" data-button-value="${fieldname}">${__(number)}</div>`;
|
||||
}, '');
|
||||
}, '');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user