{% if doc.in_format_data("image") and doc.get("image") -%}
{%- endif %}
{% if doc.in_format_data("item_code") -%}
{{ doc.item_code }}
{%- endif %} {% if (doc.in_format_data("item_name") and (not doc.in_format_data("item_code") or doc.item_code != doc.item_name)) -%}
{{ doc.get_formatted("item_name") }}
{%- 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))) -%}

{{ doc.get_formatted("description") }}

{%- endif %}