fix: max qty message

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
This commit is contained in:
Devin Slauenwhite 2022-05-04 10:32:21 -04:00 committed by GitHub
parent 4a19c1c19d
commit 5560ceca62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();