{% load i18n %} {% comment %} Rendered by WeasyPrint, not a browser -- same convention as billing/templates/billing/invoice.html and management/templates/management/membership_list_pdf.html: a standalone document with its own print stylesheet, no app.css. Branded off the club's own colours (falling back to the same shades club.templatetags.club_email's HTML emails use) rather than a fixed accent, since this is the club's invoice to its own member, not RosterChief's to the club. {% endcomment %} {{ invoice.number }}

{{ club.official_name }}

{% if home_location %}
{{ home_location.address }}
{{ home_location.zip_code }} {{ home_location.city }}
{% endif %} {% if club.contact_email %}
{{ club.contact_email }}
{% endif %}

{% trans "Invoice" %}

{{ invoice.number }}
{% if invoice.sent_at %}
{% blocktrans with date=invoice.sent_at|date:"j F Y" %}Issued {{ date }}{% endblocktrans %}
{% endif %}

{% trans "Billed to" %}

{{ member }}
{% if invoice.sent_to_email %}
{{ invoice.sent_to_email }}{% if invoice.sent_to_guardian %} ({% trans "parent/guardian" %}){% endif %}
{% endif %}

{% trans "Season" %}

{{ membership.season }}
{% blocktrans with date=invoice.due_date|date:"j F Y" %}Due {{ date }}{% endblocktrans %}
{% trans "Description" %} {% trans "Amount" %}
{% trans "Membership fee" %}
{{ club.name }} — {{ membership.season }}
€{{ invoice.amount }}
{% trans "Balance due" %} €{{ invoice.amount }}
{% if invoice.is_paid %} {% else %}

{% blocktrans with date=invoice.due_date|date:"j F Y" %}Payable by {{ date }}.{% endblocktrans %}

{% endif %}