mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
[hotfix] item grid rate visibility booboo
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
|
|
||||||
<!-- rate -->
|
<!-- rate -->
|
||||||
<div class="col-sm-2 text-right">
|
<div class="col-sm-2 text-right">
|
||||||
{% if (frappe.perm.is_visible("rate", doc, frm.perm)) { %}
|
{% if (!frappe.perm.is_visible("rate", doc, frm.perm)) { %}
|
||||||
<span class="text-muted">{%= __("hidden") %}</span>
|
<span class="text-muted">{%= __("hidden") %}</span>
|
||||||
{% } else { %}
|
{% } else { %}
|
||||||
{%= doc.get_formatted("rate") %}
|
{%= doc.get_formatted("rate") %}
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
<!-- amount -->
|
<!-- amount -->
|
||||||
<div class="col-sm-2 text-right">
|
<div class="col-sm-2 text-right">
|
||||||
{% if (frappe.perm.is_visible("amount", doc, frm.perm)) { %}
|
{% if (!frappe.perm.is_visible("amount", doc, frm.perm)) { %}
|
||||||
<span class="text-muted">{%= __("hidden") %}</span>
|
<span class="text-muted">{%= __("hidden") %}</span>
|
||||||
{% } else { %}
|
{% } else { %}
|
||||||
{%= doc.get_formatted("amount") %}
|
{%= doc.get_formatted("amount") %}
|
||||||
|
|||||||
Reference in New Issue
Block a user