$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
{% if invoices is defined and invoices is not empty %} {% set invoice = invoices|first %} {% for item in invoice.line_items|filter(item => item.type_id == 1) %} {% endfor %}
$item_label # $description_label $quantity_label
{{ item.product_key }} {{ item.notes }} {{ item.quantity }}
{% endif %}

$notes_label:

$invoice.public_notes