2016-09-09 04:24:52 +00:00
|
|
|
{% extends "new_base_glarus.html" %}
|
|
|
|
{% load staticfiles bootstrap3 i18n %}
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Header -->
|
|
|
|
<!-- Services Section -->
|
|
|
|
<section id="price">
|
|
|
|
<div class="signup-container">
|
|
|
|
<div class="col-xs-12 col-sm-6 col-lg-8 text-center wow fadeInDown">
|
|
|
|
<div class="payment-box">
|
Reduced pixels needed to navbar transition color, Added membership deactivation form, Added membership deactivation view, Added membership status, Added membership charged.html, Added membership charged.txt, Extended class to send membership charge email, After membership, charge for first time an email is sent to the user, Fixed bug on redirecting, user to membership payment after signup, Fixed redirecting after buying a membership
2016-09-14 05:24:20 +00:00
|
|
|
<h2 class="section-heading payment-head">Your Membership History</h2>
|
2016-09-09 04:24:52 +00:00
|
|
|
<hr class="greyline-long">
|
|
|
|
<h2 class="order-head">Member Name</h2>
|
|
|
|
<h2 class="member-name">{{request.user.name}}</h2>
|
|
|
|
<hr class="greyline-long">
|
2016-10-19 04:29:07 +00:00
|
|
|
<h2 class="order-head">Current Membership</h2>
|
2016-09-09 04:24:52 +00:00
|
|
|
<h2 class="member-name">{{membership_start_date|date}}-{{membership_end_date|date}}</h2>
|
|
|
|
<hr class="greyline-long">
|
Reduced pixels needed to navbar transition color, Added membership deactivation form, Added membership deactivation view, Added membership status, Added membership charged.html, Added membership charged.txt, Extended class to send membership charge email, After membership, charge for first time an email is sent to the user, Fixed bug on redirecting, user to membership payment after signup, Fixed redirecting after buying a membership
2016-09-14 05:24:20 +00:00
|
|
|
<h2 class="order-head">Orders history</h2>
|
2016-09-09 04:24:52 +00:00
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th>Valid Month</th>
|
|
|
|
<th>Date</th>
|
|
|
|
<th>Invoice</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for order in orders%}
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{{order.id}}</th>
|
|
|
|
<td>{{order.created_at|date:"F"}}</td>
|
|
|
|
<td>{{order.created_at|date}}</td>
|
|
|
|
<td><a class="btn btn-xs btn-primary btn-darkgrey" href="{% url 'digitalglarus:membership_orders_detail' order.id %}">View</a></td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2016-10-14 04:33:48 +00:00
|
|
|
|
|
|
|
<h2 class="order-head">Billing Adress<a class="btn btn-primary btn-grey btn-edit" href="{% url 'digitalglarus:user_billing_address' %}">Edit</a></h2>
|
|
|
|
<h2 class="history-name">
|
|
|
|
{{request.user.name}}
|
|
|
|
</h2>
|
|
|
|
<h2 class="history-name">
|
|
|
|
{{billing_address.street_address}},{{billing_address.postal_code}}<br>
|
|
|
|
{{billing_address.city}}, {{billing_address.country}}.
|
2016-09-09 04:24:52 +00:00
|
|
|
</h2>
|
Reduced pixels needed to navbar transition color, Added membership deactivation form, Added membership deactivation view, Added membership status, Added membership charged.html, Added membership charged.txt, Extended class to send membership charge email, After membership, charge for first time an email is sent to the user, Fixed bug on redirecting, user to membership payment after signup, Fixed redirecting after buying a membership
2016-09-14 05:24:20 +00:00
|
|
|
|
|
|
|
<hr class="greyline-long">
|
|
|
|
<h2 class="order-head">Your Next Membership</h2>
|
|
|
|
<h2 class="history-name">
|
|
|
|
Dates: {{membership_start_date|date}} - {{membership_end_date|date}}<br>
|
|
|
|
</h2>
|
2016-10-14 04:33:48 +00:00
|
|
|
<div class="edit-button">
|
Reduced pixels needed to navbar transition color, Added membership deactivation form, Added membership deactivation view, Added membership status, Added membership charged.html, Added membership charged.txt, Extended class to send membership charge email, After membership, charge for first time an email is sent to the user, Fixed bug on redirecting, user to membership payment after signup, Fixed redirecting after buying a membership
2016-09-14 05:24:20 +00:00
|
|
|
|
2016-10-14 04:33:48 +00:00
|
|
|
<a class="btn btn-primary btn-grey btn-deactivate print" href="{% url 'digitalglarus:membership_deactivate' %}">Deactivate</a>
|
|
|
|
</div>
|
|
|
|
<hr class="greyline-long">
|
Reduced pixels needed to navbar transition color, Added membership deactivation form, Added membership deactivation view, Added membership status, Added membership charged.html, Added membership charged.txt, Extended class to send membership charge email, After membership, charge for first time an email is sent to the user, Fixed bug on redirecting, user to membership payment after signup, Fixed redirecting after buying a membership
2016-09-14 05:24:20 +00:00
|
|
|
<div class="row">
|
2016-10-14 04:33:48 +00:00
|
|
|
<div class="col-md-12 notice-box">
|
|
|
|
<p class="order-bottom-text">You will be charged on the first of the month until you
|
|
|
|
cancel your subscription. Previous charges won't be refunded.</p>
|
Reduced pixels needed to navbar transition color, Added membership deactivation form, Added membership deactivation view, Added membership status, Added membership charged.html, Added membership charged.txt, Extended class to send membership charge email, After membership, charge for first time an email is sent to the user, Fixed bug on redirecting, user to membership payment after signup, Fixed redirecting after buying a membership
2016-09-14 05:24:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-09 04:24:52 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-xs-12 col-sm-4 col-lg-4 wow fadeInDown">
|
2016-10-14 04:33:48 +00:00
|
|
|
|
2016-09-09 04:24:52 +00:00
|
|
|
<div class="order-summary">
|
2016-10-14 04:33:48 +00:00
|
|
|
|
|
|
|
{% if messages %}
|
|
|
|
<div class="order-box">
|
|
|
|
<h2 class="thankyou">Message</h2>
|
|
|
|
<hr class="greyline">
|
|
|
|
{% for message in messages %}
|
|
|
|
<h2 class="signup-lead text-center">{{ message }}</h2>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<h2 class="thankyou">Thank You!</h2>
|
2016-09-09 04:24:52 +00:00
|
|
|
<div class="order-box">
|
|
|
|
<span class="glyphicon glyphicon-heart icon-up"></span>
|
2016-10-14 04:33:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2016-09-09 04:24:52 +00:00
|
|
|
<h2 class="signup-lead text-center">Digital Glarus lives with your love!<br>
|
|
|
|
Our coworking space is here because of your love and support.</h2>
|
|
|
|
|
|
|
|
<hr class="greyline">
|
2016-10-14 04:33:48 +00:00
|
|
|
<p class="order-bottom-text text-center">This box is here just to thank you</p>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-09-09 04:24:52 +00:00
|
|
|
|
|
|
|
</div>
|
2016-10-14 04:33:48 +00:00
|
|
|
</div>
|
2016-09-09 04:24:52 +00:00
|
|
|
</div>
|
Reduced pixels needed to navbar transition color, Added membership deactivation form, Added membership deactivation view, Added membership status, Added membership charged.html, Added membership charged.txt, Extended class to send membership charge email, After membership, charge for first time an email is sent to the user, Fixed bug on redirecting, user to membership payment after signup, Fixed redirecting after buying a membership
2016-09-14 05:24:20 +00:00
|
|
|
</section>
|
2016-09-09 04:24:52 +00:00
|
|
|
|
|
|
|
{% endblock %}
|