{% load i18n %} {% block cell-content %} {% if errors or items or not cell.hide_if_empty %} {% if title %}
{% trans "Number" %} | {% trans "Label" %} | {% trans "Issue date" %} | {% if with_payment_limit_date %}{% trans "Payment limit date" %} | {% endif %}{% trans "Amount" %} | {% if with_amount_paid %}{% trans "Amount already paid" %} | {% endif %}||
---|---|---|---|---|---|---|---|
{{ item.display_id }} | {{ item.subject }} | {{ item.creation_date|date:"SHORT_DATE_FORMAT" }} | {% if with_payment_limit_date %}{{ item.payment_limit_date|date:"SHORT_DATE_FORMAT" }} | {% endif %} {% if with_amount_paid %}{% if item.amount %}{% blocktrans with amount=item.amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %}{% endif %} | {% if item.amount_paid %}{% blocktrans with amount=item.amount_paid|floatformat:"2" %}{{ amount }}€{% endblocktrans %}{% endif %} | {% else %}
{% blocktrans with amount=item.total_amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %}
{% if item.remaining_amount and item.remaining_amount != item.total_amount %}
({% trans "left:" context "left to pay" %} {% blocktrans with amount=item.remaining_amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %}) {% endif %} |
{% endif %}
{% if item.regie.is_remote %}
{% with cell_crypto_reference=cell.crypto_reference item_crypto_id=item.crypto_id item_crypto_payer_external_id=item.crypto_payer_external_id %}
{% trans "View" %}
{% if cell.include_pay_button %}{% if item.online_payment and item.amount >= item.regie.payment_min_amount and not item.waiting_date %}{% trans "and pay" %}{% endif %}{% endif %}
{% if item.has_pdf %}
{% trans "Download" %} {% endif %} |
{% endwith %}
{% endif %}