{% load i18n %}

{% blocktrans with id=invoice.id creation_date=invoice.creation_date|date:"DATE_FORMAT" amount=invoice.amount %} We inform you that your invoice nr. {{ id }} issued on {{ creation_date }} of amount of {{ amount }}€ is available. {% endblocktrans %}

{% if invoice.online_payment %}

{% blocktrans %}You can view and pay it online.{% endblocktrans %}

{% else %}

{% blocktrans %}You can view it on the portal.{% endblocktrans %}

{% if invoice.no_online_payment_reason == 'autobilling' %}

{% blocktrans with debit_date=invoice.payment_limit_date|date:"DATE_FORMAT" %}The amount of this invoice will be debited from your account at {{ debit_date }}.{% endblocktrans %}

{% endif %} {% endif %}