{% load creme_core_tags creme_image persons_tags %} {% with currency=object.currency source=object.source %}
{% if source.image %}
{% with img_path=source.image.filedata.path %}
{% image_size path=img_path as img_size %}{% image_scale_to_frame size=img_size width=360 height=120 as final_size %}
|
{% block title %}{{object.entity_type}}{% endblock %}{% if object.number %} N° {{object.number}}{% endif %} |
---|---|
|
{{object.source}} {% with source_address=source.billing_address %}{% if source_address %}{{source_address|persons_pretty_address|linebreaksbr}}{% if source_address.country %} {{source_address.country}}{% endif %}{% endif %}{% endwith %} |
{% endblock %}
{% block address_to %}
{{object.target|upper}} {% with billing_address=object.billing_address %}{% if billing_address %}{{billing_address|persons_pretty_address|linebreaksbr}}{% if billing_address.country %} {{billing_address.country}}{% endif %}{% endif %}{% endwith %} |
{% endblock %}
DESCRIPTION | PRIX UNITAIRE (HT) | QUANTITÉ | MONTANT HT |
---|---|---|---|
{{line.related_item|default:line.on_the_fly_item}} {{line.comment}} |
{{line.unit_price|format_amount:currency}} | {{line.quantity}} | {{line.get_raw_price|format_amount:currency}} |
Line {{i}} | {{12.00|format_amount:currency}} | {{i}} | {{i|mult:12|format_amount:currency}} |
TOTAL HT | TVA | TTC | {% endblock %}
---|---|---|
{{object.total_no_vat|format_amount:currency}} | {{object.total_vat|sub:object.total_no_vat|format_amount:currency}} | {{object.total_vat|format_amount:currency}} | {% endblock %}
BANQUE | GUICHET | N° DE COMPTE | CLÉ RIB | DOMICILIATION |
---|---|---|---|---|
{{pinfo.bank_code|default:'—'}} | {{pinfo.counter_code|default:'—'}} | {{pinfo.account_number|default:'—'}} | {{pinfo.rib_key|default:'—'}} | {{pinfo.banking_domiciliation|default:'—'}} |