{% extends "email/_base.html" %} {% load i18n club_email %} {% comment %} HTML sibling of dues_invoice.txt -- same content, same context (club, membership, member, invoice, request), laid out for an inbox. Kept in lockstep with the .txt version by hand, same as members/templates/members/email/claim_approved.html. {% endcomment %} {% block title %}{% blocktrans with club=club.name number=invoice.number %}{{ club }} — invoice {{ number }}{% endblocktrans %}{% endblock title %} {% block preheader %}{% blocktrans with club=club.name %}{{ club }} has sent you an invoice for a membership fee.{% endblocktrans %}{% endblock preheader %} {% block header %} {% absolute_media_url club.logo as logo_url %}
{% if club.logo %} {{ club.name }} {% else %}
{{ club.initials }}
{% endif %}
{{ club.name }}
{% endblock header %} {% block content %}

{% blocktrans with name=member.first_name %}Hello {{ name }},{% endblocktrans %}

{% blocktrans with club=club.name season=membership.season %}{{ club }} has sent you an invoice for your {{ season }} membership fee.{% endblocktrans %}

{% trans "Amount due" %} €{{ invoice.amount }}
{% trans "Due date" %} {{ invoice.due_date|date:"j F Y" }}
{% trans "Invoice number" %} {{ invoice.number }}

{% trans "A PDF copy of this invoice is attached." %}

{% endblock content %} {% block footer %} {% if club.contact_email %}

{% blocktrans with email=club.contact_email %}Questions about this invoice? Reply to this note or write to {{ email }}.{% endblocktrans %}

{% endif %}

{% blocktrans with club=club.name %}— {{ club }}{% endblocktrans %}

{% endblock footer %}