{% load i18n %} {% block cell-content %} {% if errors or items or not cell.hide_if_empty %} {% if title %}

{{ title|safe }}

{% endif %}
{% if text %}{{ text|safe }}{% endif %} {% if errors %} {% endif %} {% if items %}
{% if with_payment_limit_date %}{% endif %} {% if with_amount_paid %} {% endif %} {% for item in items %} {% if with_payment_limit_date %}{% endif %} {% if with_amount_paid %} {% else %} {% 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 %} {% endwith %} {% endif %} {% endfor %}
{% trans "Number" %} {% trans "Label" %} {% trans "Issue date" %}{% trans "Payment limit date" %}{% trans "Amount" %}{% trans "Amount already paid" %}
{{ item.display_id }} {{ item.subject }} {{ item.creation_date|date:"SHORT_DATE_FORMAT" }}{{ item.payment_limit_date|date:"SHORT_DATE_FORMAT" }} {% 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 %} {% 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 %}
{% 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 %}
{% else %} {% trans "No items yet" %} {% endif %}
{% endif %} {% endblock %}