fix: compact item print style

This commit is contained in:
prssanna 2020-11-10 17:23:24 +05:30
parent 71e5b60df1
commit e3b71b9b24

View File

@ -11,11 +11,11 @@
<div>
{% if doc.in_format_data("item_code") and "item_code" in display_columns -%}
<div class="primary">
{% if compact %}<strong>{% endif %}
{{ _(doc.item_code) }}
{% if compact %}</strong>{% endif %}
{% if compact %}
<div class="primary compact-item">
{{ _(doc.item_code) }}
</div>
{% endif %}
{%- endif %}
{%- if doc.in_format_data("item_name") and "item_name" in display_columns and