item table print template
This commit is contained in:
parent
ca23b5ecfd
commit
e481a211b1
@ -13,8 +13,13 @@
|
||||
<div class="primary">{{ doc.get_formatted("item_name") }}</div>
|
||||
{%- endif %}
|
||||
{% 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>
|
||||
{%- endif %}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user