{% extends "layouts/base.html" %} {% load static %} {% block stylesheet %}{% endblock %} {% block title %} Subscription {% endblock title %} {% block content %}

Current Plan

{% if plan %} {% else %}
Plan Price
{{plan.plan_name}} $ {{plan.price}}

You have no Plans yet

{% endif %}

Payment Information

{% if user.subscription %}
{{user.subscription.plan.paymentSource}}
Primary
Expired: {{user.subscription.ends_time|date:"d b Y"}}
Name {{user.get_full_name}}
Expires {{user.subscription.ends_time|date:"d b Y"}}
ID {{user.subscription.payment.transactionID}}
Phone {{user.profile.phone}}
Email {{user.email}}
Logged From {{user.profile.country.name}}
{% else %}

You have no payment method yet!

{% endif %}

Summary

My Account
{{ user.get_full_name }} {% if user.is_verified %} Active {% else %} Not Active {% endif %}
{{ request.user.email }}
Payment Method
{% if plan %} {{plan.plan_name}} $ {{plan.price}} / Month {% else %} You have no Plans yet {% endif %}
Payment Details
{% if user.subscription.ends_time %}
{% if plan %} {{plan.paymentSource}} {% else %} {% endif %}

Expired Date: {{user.subscription.ends_time|date:"d b Y"}}
{% else %}
{% if plan.paymentSource %} {{plan.paymentSource}} {% else %} No Payment Source Detected {% endif %}
{% endif %}
{% endblock content %} {% block javascripts %}{% endblock %}