{% for line in document.lines %} {% endfor %}
{{ label('product.product', 'code') }} {{ label('account.invoice.line', 'description') }} {{ label('account.invoice.line', 'quantity') }} {{ label('account.invoice.line', 'unit_price') }} {{ label('account.invoice.line', 'amount') }}
{{ line.product and line.product.render.code or '' }} {{ line.product and line.product.render.name or '' }}{% if line.raw.description %}

{{ line.render.description }}

{% endif %}
{{ line.render.quantity }} {% if line.unit %} {{ line.unit.render.symbol }}{% endif %} {{ line.render.unit_price }} {{ line.render.amount }}