- {% trans "Invoice number:" %}
- {{ invoice.formatted_number }}
- {% trans "Date:" %}
- {{ invoice.created_at|date }}
{{ line.user_name }}
{% trans "Description" %} | {% trans "Details" %} | {% trans "UA" context 'unit amount' %} | {% trans "QTY" context 'quantity' %} | {% trans "TA" context 'total amount' %} |
---|---|---|---|---|
{% if line.details %}
{% ifchanged line.user_external_id line.label %}
{{ line.label }}
{% if line.agenda %} {{ line.agenda.label }} {% endif %} {% endifchanged %} {% else %} {{ line.event_date|date:"d/m/Y" }} - {{ line.label }} {% if line.agenda %} {{ line.agenda.label }} {% endif %} {% endif %} {% if line.details.check_type_label %} {{ line.details.check_type_label }} {% elif line.details.status == 'absence' %} {% trans "Absence" %} {% endif %} |
{% if line.details.dates and not line.agenda.partial_bookings %} {% for d in line.details.dates %}{{ d|parse_date|date:"Dd" }}{% if not forloop.last %}, {% endif %}{% endfor %} {% endif %} | {% if line.details.check_type_label or line.details.status != 'absence' %}{% blocktrans with amount=line.unit_amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %} | {{ line.quantity|floatformat }} | {% blocktrans with amount=line.total_amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %} | {% endif %}
{% trans "Total amount to be paid before:" %} {{ invoice.date_payment_deadline }} | {% blocktrans with amount=invoice.total_amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %} |
{{ regie.invoice_custom_text|safe }}
{% endif %}