diff --git a/erpnext/templates/form_grid/item_grid.html b/erpnext/templates/form_grid/item_grid.html index 715d4dc165..21903c03d0 100644 --- a/erpnext/templates/form_grid/item_grid.html +++ b/erpnext/templates/form_grid/item_grid.html @@ -72,7 +72,7 @@
- {% if (frappe.perm.is_visible("rate", doc, frm.perm)) { %} + {% if (!frappe.perm.is_visible("rate", doc, frm.perm)) { %} {%= __("hidden") %} {% } else { %} {%= doc.get_formatted("rate") %} @@ -86,7 +86,7 @@
- {% if (frappe.perm.is_visible("amount", doc, frm.perm)) { %} + {% if (!frappe.perm.is_visible("amount", doc, frm.perm)) { %} {%= __("hidden") %} {% } else { %} {%= doc.get_formatted("amount") %}