mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 01:14:46 +00:00
[fix] item grid fix, via #3136
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
if(flt(frm.doc.per_delivered) < 100
|
if(flt(frm.doc.per_delivered) < 100
|
||||||
&& in_list(["Sales Order Item", "Delivery Note Item"], doc.doctype)) {
|
&& in_list(["Sales Order Item", "Delivery Note Item"], doc.doctype)) {
|
||||||
if(actual_qty != undefined) {
|
if(actual_qty != undefined) {
|
||||||
if(actual_qty > doc.qty) {
|
if(actual_qty >= doc.qty) {
|
||||||
var label_class = "label-success";
|
var label_class = "label-success";
|
||||||
var title = "In Stock"
|
var title = "In Stock"
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user