[fix] [print] Print Hide Item Code

This commit is contained in:
Anand Doshi 2014-07-28 21:17:20 +05:30
parent 07d3261467
commit 85eefadada

View File

@ -17,7 +17,7 @@
<td style="width: 3%;">{{ row.idx }}</td>
<td style="width: 20%;">
{{ row.item_name }}
{% if row.item_code != row.item_name -%}
{% if row.item_code != row.item_name and not row.meta.get_field("item_code").print_hide -%}
<br>Item Code: {{ row.item_code }}
{%- endif %}
</td>