{% load i18n %}
{% if item %}

{% blocktrans with number=item.display_id %} Item nr. {{ number }} {% endblocktrans %}

{% if item.subject %}

{% blocktrans with label=item.subject %} Label: {{ label }} {% endblocktrans %}

{% endif %}
{% blocktrans with amount=item.total_amount|floatformat:"2" %} Total amount: {{ amount }}€ {% endblocktrans %}
{% if item.amount %}
{% blocktrans with amount=item.amount|floatformat:"2" %} Amount to pay: {{ amount }}€ {% endblocktrans %}
{% endif %} {% if item.amount_paid %}
{% blocktrans with amount=item.amount_paid|floatformat:"2" %} Amount already paid: {{ amount }}€ {% endblocktrans %}
{% endif %}
{% trans "Issue date:" %} {{ item.creation_date|date:"SHORT_DATE_FORMAT" }}
{% if item.payment_limit_date %}
{% trans "Payment due date:" %} {{ item.payment_limit_date|date:"SHORT_DATE_FORMAT" }} {% trans "(up to and including)" %}
{% endif %} {% if item.payment_date %} {% elif item.paid %} {% endif %} {% if item.no_online_payment_reason_details %}
{{ item.no_online_payment_reason_details }}
{% endif %} {% if not item.paid and item.online_payment and item.amount >= regie.payment_min_amount %} {% csrf_token %} {% if not user.is_authenticated %} {% endif %} {% if item_url %} {% endif %}
{% endif %}
{% else %}

{{ err_desc }}

{% endif %}