$delivery_note_label
$to_label:
$ship_to_label:
$details_label:
$order_number_label #
{%set invoice = invoices|first|e %}
{% if invoice.po_number %} {{ invoice.po_number }} {% else %} {{ invoice.number}} {% endif %}
$date_label
$invoice.date
$client_label #
$client.number
{% set invoice = invoices|first %}
$item_label #
$description_label
$quantity_label
{% for item in invoice.line_items|filter(item => item.type_id == 1) %}
{{ item.product_key }}
{{ item.notes }}
{{ item.quantity }}
{% endfor %}
$notes_label:
$invoice.public_notes