fix: max qty message
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
This commit is contained in:
parent
4a19c1c19d
commit
5560ceca62
@ -79,7 +79,7 @@ erpnext.utils.BarcodeScanner = class BarcodeScanner {
|
|||||||
if (!row) {
|
if (!row) {
|
||||||
if (!this.allow_new_row) {
|
if (!this.allow_new_row) {
|
||||||
frappe.show_alert({
|
frappe.show_alert({
|
||||||
message: __("Maximum quantity scanned for this barcode."),
|
message: __("Maximum quantity scanned for item {0}.", [item_code]),
|
||||||
indicator: "red"
|
indicator: "red"
|
||||||
});
|
});
|
||||||
this.clean_up();
|
this.clean_up();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user