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

{{ title|safe }}

{% endif %}
{% if text %}{{ text|safe }}{% endif %} {% if errors %} {% endif %} {% if credits %}
{% for credit in credits %} {% endfor %}
{% trans "Number" %} {% trans "Credit date" %} {% trans "Amount" %}
{{ credit.display_id }} {{ credit.creation_date|date:"SHORT_DATE_FORMAT" }} {% blocktrans with amount=credit.total_amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %} {% if cell.display_mode == 'active' and credit.remaining_amount %}
({% trans "credit left:" %} {% blocktrans with amount=credit.remaining_amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %}) {% endif %}
{% if credit.regie.is_remote %} {% with cell_crypto_reference=cell.crypto_reference credit_crypto_id=credit.crypto_id credit_crypto_payer_external_id=credit.crypto_payer_external_id %} {% if credit.has_pdf %} {% trans "Download" %} {% endif %} {% endwith %} {% endif %}
{% else %} {% trans "No credits yet" %} {% endif %}
{% endif %} {% endblock %}