Minor change: Alert to msgprint (#8966)

* Minor change: Alert to msgprint

* msgprint to frappe.msgprint
This commit is contained in:
nick9822 2017-05-24 17:22:26 +05:30 committed by Nabin Hait
parent 032374e76e
commit ca150cee8c

View File

@ -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"));
}
}
}