{% load base_filters %}
{% trans "Greetings" %} {{ pt.recurring_payment.user.first_name }},
{% if pt.status %}
{% blocktrans with d=pt.recurring_payment.description %}
The payment has been received for the {{ d }}.
{% endblocktrans %}
{% else %}
{% blocktrans with d=pt.recurring_payment.description %}
We attempted a payment for the {{ d }} but was failed. The failed reason is listed below.
{% endblocktrans %}
{% endif %}
{% trans 'Payment amount' %}: | {{ pt.amount|format_currency }} |
{% if membership.status_detail == 'active' %}{% trans 'Membership renewed:' %}{% else %}{% trans 'Membership renewal pending:' %}{% endif %}: | {{ site_url }}{% url 'membership.details' membership.id %} |
{% trans 'Billing cycle' %}: | From {{ pt.recurring_payment_invoice.billing_cycle_start_dt|date:'N j Y' }} To {{ pt.recurring_payment_invoice.billing_cycle_end_dt|date:'N j Y' }} |
{% trans 'Date processed' %}: | {{ pt.create_dt|date }} |
{% trans 'Reason failed' %}: | {{ pt.message_text }} |
{{ site_display_name }}