{% load static i18n lingo %} {{ invoice.formatted_number }}

{% trans "Payments certificate" %}

{% trans "Invoice number" %}
{{ invoice.formatted_number }}
{% trans "Date" %}
{{ invoice.created_at|date }}
{% for invoice_payment in payments %} {% endfor %}
{% trans "Number" context 'payment' %} {% trans "Date" %} {% trans "Payment type" %} {% trans "Amount" %}
{{ invoice_payment.payment.formatted_number }} {{ invoice_payment.created_at|date:"d/m/Y" }} {{ invoice_payment.payment.payment_type }} {% blocktrans with amount=invoice_payment.amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %}
{% trans "Paid amount" %}
{% blocktrans with amount=invoice.paid_amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %}