+
+
+
+
+
+
+
+
+
+ {% trans 'Invoice' %} {{nr}}
+
+
+
+ {% if invoice.text_1 %}
+
+
+
+
+ {% if company.logo_url %}
+
+ {% endif %}
+
+ -
+
- {% trans 'Invoice number' %}: +
- {{ nr }} +
- {% trans 'Invoice date' %}: +
- {% if invoice.created_at %} + {{ invoice.created_at | bb_date }} + {% else %} + ----- + {% endif %} + +
- {% trans 'Due date' %}: +
- {% if invoice.due_at %} + {{ invoice.due_at | bb_date }} + {% else %} + ----- + {% endif %} + +
- {% trans 'Invoice status' %}: +
- + + + {{ invoice.status | capitalize }} + + +
+
+
+
+
+
+ {% trans 'Company' %}
+-
+ {% if seller.company %}
+
- {% trans 'Name' %}: +
- {{seller.company}} + {% endif %} + + {% if seller.company_vat%} +
- {% trans 'VAT' %}: +
- {{seller.company_vat}} + {% endif %} + + {% if seller.address%} +
- {% trans 'Address' %}: +
- {{seller.address}} + {% endif %} + + {% if seller.phone %} +
- {% trans 'Phone' %}: +
- {{seller.phone}} + {% endif %} + + {% if seller.email %} +
- {% trans 'Email' %}: +
- {{seller.email}} + {% endif %} + + {% if seller.account_number %} +
- {% trans 'Account' %}: +
- {{seller.account_number}} + {% endif %} + + {% if seller.note %} +
- {% trans 'Note' %}: +
- {{seller.note}} + {% endif %} +
+
+
+
+ {% trans 'Billing & Delivery address' %}
+-
+ {% if buyer.first_name or buyer.last_name %}
+
- {% trans 'Name' %}: +
- {{buyer.first_name}} {{buyer.last_name}} + {% endif %} + + {% if buyer.company %} +
- {% trans 'Company' %}: +
- {{buyer.company}} + {% endif %} + + {% if buyer.company_number %} +
- {% trans 'Company number' %}: +
- {{buyer.company_number}} + {% endif %} + + {% if buyer.company_vat %} +
- {% trans 'Company VAT' %}: +
- {{buyer.company_vat}} + {% endif %} + + {% if buyer.address %} +
- {% trans 'Address' %}: +
- {{buyer.address}} +
- {{buyer.city}}, {{buyer.state}} +
- {{buyer.zip}}, {{guest.system_countries[buyer.country]}} + {% endif %} + + {% if buyer.phone %} +
- {% trans 'Phone' %}: +
- {{buyer.phone}} + {% endif %} +
+ {{ invoice.text_1|markdown }}
+
+ {% endif %}
+
+ | {% trans '#' %} | +{% trans 'Title' %} | +{% trans 'Price' %} | +{% trans 'Total' %} | +
|---|---|---|---|
| {{ i+1 }}. | ++ {% if item.order_id%} + {{ item.title }} + {% else %} + {{ item.title }} + {% endif %} + | ++ {{ item.price | money(invoice.currency) }} + {% if item.quantity > 1 %} + x {{ item.quantity }} {# item.unit #} + {% endif %} + | +{{ item.total | money(invoice.currency) }} | +
+
+
+
+ {% if invoice.text_2 %}
+
+
+ {% if invoice.tax > 0 %}
+
+
+ | {{ invoice.taxname }} {{ invoice.taxrate }}% | +{{ invoice.tax | money(invoice.currency) }} | +
| {% trans 'Discount' %} | +{{ invoice.discount | money(invoice.currency) }} | +
| {% trans 'Total' %} | +{{ invoice.total | money(invoice.currency) }} | +
+ {{ invoice.text_2|markdown }}
+
+ {% endif %}
+