{% load static custom_filters humanize i18n %} {{ title }}
{% if invoice.logo %} {% endif %}
{{ invoice.title }}

{% trans "Invoice No: " %} {{ invoice.tracking_code }}

{% trans "Date: " %} {{ invoice.invoice_date }}

{% trans "Invoice To:" %}

{{ invoice.customer_name }}
{% if customer_email %} {{ customer_email|default:'' }} {% else %} {{ customer_phone|default:'' }} {% endif %}

{% for column in invoice.columns.all %} {% endfor %} {% for item in invoice.items.all %} {% for column in invoice.columns.all %} {% endfor %} {% endfor %}
{% trans "Item" %} {% trans "Description" %} {% trans "Qty" %} {{ column }} {% trans "Price" %} {% trans "Total" %}
{{ forloop.counter }}. {{ item.description }} {% if item.quantity %} {{ item.quantity }} {% else %} - {% endif %} {{ item.measurement|default:'' }} {% if column.item == item %} {{ column.value }} {% else %} - {% endif %} {{ item.unit_price|intcomma }} {{ invoice.currency }} {{ item.total_price|intcomma }} {{ invoice.currency }}
{% for field in additional_fields %}

{{ field.label }}:

    {% for sentence in field.content|split_by_period %}
  • {{ sentence }}
  • {% endfor %}
{% endfor %}