{%- extends "weasyprint/base.weasy.html" -%} {%- block pagesize %}portrait{%- endblock %} {%- block header %}
{{_("Recipient")}}: {{obj.recipient.get_address_html()}} |
{{obj}}
{{_("Your customer id")}}: {{obj.partner.id}} |
{{_("Your VAT id")}}: {{obj.partner.vat_no}}
{{_("Date")}}: {{fdl(obj.voucher_date)}} |
{{_("Description")}} | {{_("Unit price")}} | {{_("Quantity")}} | {{_("Price")}} |
{% if item.description %}
{{item.title}} {% if item.description.startswith("<") %} {{item.description}} {% else %} {{restify(item.description)}} {% endif %} {% else %}{{item.title}} {% endif %} |
{{item.unit_price or ''}} | {% if item.unit_price %} {{item.qty}} {% endif %} | {{item.total_incl or ''}} |
{{_("Total excl. VAT")}} {{obj.total_base}}
{{_("VAT")}} {{obj.total_vat}}
{{_("Total incl. VAT")}} {{obj.total_incl}}
{% if obj.due_date %}
{{_("Due date")}} : {{fds(obj.due_date)}}
{% endif %}
{% if obj.payment_term %}
{{_("Payment terms")}} : {{obj.payment_term}}
{% endif %}
{{_("With best regards.")}}
{{this.user}}