7.0 KiB
7.0 KiB
{% extends 'html_report/report/base.html' %}
{% block title %}
{{ _('Invoice') }}
{% endblock %}
{% block main %}
{% for invoice in records %}{% language invoice.party.lang and invoice.party.raw.lang.code or company.party.lang and company.party.raw.lang.code or 'en' %}
{% for line in invoice.lines %}
{% endfor %}
{% endlanguage %}{% endfor %}
{% endblock %}
{{ company.render.header }}
{% if invoice.raw.type == 'in' %}{{ _('Supplier Invoice') }}{% else %}{{ _('Invoice') }}{% endif %}# {{ invoice.render.number or '' }} {{ _('Date') }}: {{ invoice.render.invoice_date or '' }} |
|
{% if invoice.raw.type == 'in' %}{{ _('Supplier') }}{% else %}{{ _('Customer') }}{% endif %} | |
{% if invoice.invoice_address %}
{% for line in invoice.invoice_address.raw.full_address.split('\n') %}
{{ line }} {% endfor %} {% if invoice.party.raw.phone %} {{ _('Phone') }}: {{ invoice.party.render.phone }} {% endif %} {% if invoice.party.raw.fax %} {{ _('Fax') }}: {{ invoice.party.render.fax }} {% endif %} {% if invoice.party.raw.email %} {{ _('Email') }}: {{ invoice.party.render.email }} {% endif %} {% endif %} |
{{ _('Product') }} | {{ _('Code') }} | {{ _('Qty') }} | {{ _('Unit Price') }} | {{ _('Amount') }} |
---|---|---|---|---|
{{ line.product and line.product.render.name or line.render.description }} | {{ line.product and line.product.render.code or '-' }} | {{ line.render.quantity }} | {{ line.render.unit_price }} | {{ line.render.amount }} |
{{ _('Due Dates') }}: | {{ _('Taxes') }}: | ||||||
---|---|---|---|---|---|---|---|
{% for maturity_date in invoice.lines_to_pay %}
{% endfor %}
|
{% for tax in invoice.taxes %}
{% endfor %}
|
{{ _('Untaxed') }}: | {{ invoice.render.untaxed_amount }} |
{{ _('Tax') }}: | {{ invoice.render.tax_amount }} |
{{ _('Total') }}: | {{ invoice.render.total_amount }} |