[fix] item grid fix, via #3136
This commit is contained in:
parent
5c7f0bcb32
commit
7f9c4d8677
@ -18,7 +18,7 @@
|
||||
if(flt(frm.doc.per_delivered) < 100
|
||||
&& in_list(["Sales Order Item", "Delivery Note Item"], doc.doctype)) {
|
||||
if(actual_qty != undefined) {
|
||||
if(actual_qty > doc.qty) {
|
||||
if(actual_qty >= doc.qty) {
|
||||
var label_class = "label-success";
|
||||
var title = "In Stock"
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user