Merge pull request #3396 from nabinhait/develop
item table print template
This commit is contained in:
commit
b89cf1b3ec
@ -13,8 +13,13 @@
|
|||||||
<div class="primary">{{ doc.get_formatted("item_name") }}</div>
|
<div class="primary">{{ doc.get_formatted("item_name") }}</div>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{% if (doc.in_format_data("description") and doc.description and
|
{% if (doc.in_format_data("description") and doc.description and
|
||||||
((not doc.in_format_data("item_code") and not doc.in_format_data("item_name"))
|
(
|
||||||
or not (doc.item_code == doc.item_name == doc.description))) -%}
|
(
|
||||||
|
(not doc.in_format_data("item_code") or doc.is_print_hide("item_code")) and
|
||||||
|
(not doc.in_format_data("item_name") or doc.is_print_hide("item_name"))
|
||||||
|
) or not (doc.item_code == doc.item_name == doc.description)
|
||||||
|
))
|
||||||
|
-%}
|
||||||
<p>{{ doc.get_formatted("description") }}</p>
|
<p>{{ doc.get_formatted("description") }}</p>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user