{% extends "memberships/base-wide.html" %} {% load base_tags %} {% load base_filters %} {% block title %}{% trans "Update Membership Auto-Renew" %}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

{% trans "Update Memberships Auto-Renew" %}

{% if is_owner %}
« Back to My Profile
{% else %}
{% trans "User:" %} {% firstof u.get_full_name u.username %}
{% endif %}

{% trans "Instructions" %}

{% if rp and rp.status_detail == 'active' %}
{% if rp.platform == 'stripe' %}
{% csrf_token %}
{% if source_data %} {% trans "Current card: " %} ยทยทยทยท{{ source_data.last4 }}     {{ source_data.exp_month }}/{{ source_data.exp_year }} {% endif %} {% else %} {% if rp and rp.customer_profile_id %}{% trans "Update Payment Method" %}{% else %}{% trans "Add Payment Method" %}{% endif %} {% endif %}
{% endif %}

 

{% if form.errors.values %} {% endif %}
{% csrf_token %} {% for m in memberships %} {% with m.next_auto_renew_date as next_auto_renew_date %} {% endwith %} {% endfor %}
{% trans "Membership type" %} {% trans "Expire date" %} {% trans "Auto Renew" %} {% trans "Next Auto Renew Date" %} {% trans "Status detail" %}
{{ m.membership_type.name }} {{ m.expire_dt|date:'m/d/Y' }} {% if m.auto_renew %} {% else %} {% endif %}{% if next_auto_renew_date %}{{ next_auto_renew_date|date:'m/d/Y' }}{% else %} -- {% endif %}{{ m.status_detail }}
{% if not auto_renew_all_on %} {% endif %} {% if not auto_renew_all_off %} {% endif %}
{% if not rp.customer_profile_id %} {% endif %}

 

{% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}