{% extends "notifications/email/_base.html" %} {% comment %} The receipt. Every block below is conditional on the DATA, never on the copy: a package purchase has no period and a charge whose provider gave us no document has no link, and both must produce a letter that reads finished rather than one with an empty row or a button pointing nowhere. {% endcomment %} {% block content %}

{{ heading }}

{{ body }}

{% if period_start and period_end %}

{{ period }}

{% endif %}

{{ amount }}

{{ item_name }}

{% if invoice_url %} {% endif %} {% if note %}

{{ note }}

{% endif %} {% endblock %}