fix: max qty message
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
diff --git a/erpnext/public/js/utils/barcode_scanner.js b/erpnext/public/js/utils/barcode_scanner.js
index 5a73fea..c8a539d 100644
--- a/erpnext/public/js/utils/barcode_scanner.js
+++ b/erpnext/public/js/utils/barcode_scanner.js
@@ -79,7 +79,7 @@
if (!row) {
if (!this.allow_new_row) {
frappe.show_alert({
- message: __("Maximum quantity scanned for this barcode."),
+ message: __("Maximum quantity scanned for item {0}.", [item_code]),
indicator: "red"
});
this.clean_up();