{% load i18n djangobmf_markup %}

{% trans "Invoice" %}: {{ object.invoice_number }} {{ object.date|date:"SHORT_DATE_FORMAT" }}

{% if object.notes %}

{% trans "Notes" %}

{{ object.notes|bmfmarkup }}
{% endif %}
{{ object.shipping_address }}
{{ object.invoice_address }}
{% if not object.completed %} {% else %} {% endif %} {% for obj in object.get_products %} {% endfor %}
{% trans "Name" %} {% trans "Price" %} {% trans "Amount" %} {% trans "Net" %} {% trans "Gross" %}
{{ object.calc_net }} {{ object.calc_gross }}
{{ obj.name }} {{ obj.calc_net_unit }} {{ obj.calc_taxes }} {{ obj.amount }} {{ obj.calc_net }} {{ obj.calc_gross }}
{% if object.term_of_payment %}

{% trans "Term of payment" %}

{{ object.term_of_payment|bmfmarkup }}
{% endif %}