{% extends 'ccc/campaigns/base.html' %} {% load tz static staticfiles %} {% block title %} Payments{% endblock title %} {% block css %} {% endblock css %} {% block content %}

Billing Settings

Credit Card Settings
{% if card_last4 and card_type %}

{{ card_name|default:"Default Card" }}

XXXX-XXXX-XXXX-XXXX-{{ card_last4 }} ({{ card_type }})

{% else %}

No card added. Purchase a plan now

{% endif %}
{% if card_last4 and card_type %} {% endif %}
Current Plan

{{ package.type.title }}

{% if package %} {% if package.type.package_type_after_trial %} Will be switched to {{ package.type.package_type_after_trial }} automatically on {{ customer.trial_end }} {% else %} Plan renews monthly for $ {{ package.type.cost}} {% endif %} {% else %} You don't have any active plans. Purchase a plan now {% endif %}

{% if package %} {% endif %}
Billing Details
{% if card_last4 and card_type %}
Name
{{ billing_name|default:'' }}
Address Line 1
{{ billing_address_line1|default:'' }}
Address Line 2
{{ billing_address_line2|default:'' }}
City
{{ billing_address_city|default:'' }}
State
{{ billing_address_state|default:'' }}
Zip
{{ billing_address_zip|default:'' }}
Country
{{ billing_address_country|default:'' }}
{% else %}

You don't have any active plans. Purchase a plan now

{% endif %}
Payment History
Columns
{% for payment in payments %} {% endfor %}
Date Source TRX ID Package
{{ payment.datetime|date }} {{ payment.get_mode_display}} {{ payment.payment_id|truncatechars:30}} {{ payment.package.type.title }} $ {{ payment.cost }}
{# {% include 'billing/legacy_modals.inc.html' %}#} {% endblock content %} {% block scripts %} {% endblock scripts %}