mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-15 16:28:20 +00:00
Minor change: Alert to msgprint (#8966)
* Minor change: Alert to msgprint * msgprint to frappe.msgprint
This commit is contained in:
@@ -33,7 +33,7 @@ frappe.ui.form.on("Material Request Item", {
|
||||
"qty": function(frm, doctype, name) {
|
||||
var d = locals[doctype][name];
|
||||
if (flt(d.qty) < flt(d.min_order_qty)) {
|
||||
alert(__("Warning: Material Requested Qty is less than Minimum Order Qty"));
|
||||
frappe.msgprint(__("Warning: Material Requested Qty is less than Minimum Order Qty"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user