2016-09-09 04:24:52 +00:00
|
|
|
{% extends "new_base_glarus.html" %}
|
|
|
|
{% load staticfiles bootstrap3 i18n %}
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
|
|
|
.invoice-title{
|
|
|
|
text-align: center !important;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<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">
|
2016-10-15 21:34:13 +00:00
|
|
|
<h2 class="section-heading payment-head">Your membership invoice for {{order.created_at|date:"Y-m"}}</h2>
|
2016-09-09 04:24:52 +00:00
|
|
|
<hr class="greyline-long">
|
2016-09-20 00:20:57 +00:00
|
|
|
<h2 class="billing-head">Invoice<btn class="btn btn-primary btn-grey btn-edit print hidden-print" data-print="price">Get PDF</btn></h2>
|
2016-09-09 04:24:52 +00:00
|
|
|
|
|
|
|
<h2 class="order-head">Order Number</h2>
|
|
|
|
<h2 class="member-name">#{{order.id}}</h2>
|
|
|
|
|
|
|
|
<h2 class="order-head">Billed to :</h2>
|
|
|
|
<h2 class="history-name">{{user.name}}<br>
|
|
|
|
{{order.billing_address.street_address}},{{order.billing_address.postal_code}}<br>
|
|
|
|
{{order.billing_address.city}}, {{order.billing_address.country}}.
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<h2 class="order-head">Payment Method</h2>
|
|
|
|
<h2 class="history-name">
|
|
|
|
{{order.cc_brand}} ending **** {{order.last4}}<br>
|
|
|
|
{{user.email}}
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<hr class="greyline-long">
|
|
|
|
<h2 class="order-head">Order Summary</h2>
|
|
|
|
<h2 class="history-name">
|
|
|
|
Dates: {{membership_start_date|date}} - {{membership_end_date|date}}<br>
|
|
|
|
</h2>
|
|
|
|
<h2 class="col-xs-6 payment-total text-left">Membership month {{order.created_at|date:"F"}}</h2>
|
|
|
|
<h2 class="order-sum">{{order.amount|floatformat}}CHF</h2>
|
|
|
|
<hr class="greyline-long">
|
|
|
|
<h2 class="col-xs-6 payment-total text-left"> Total</h2>
|
|
|
|
<h2 class="order-result">{{order.amount|floatformat}}CHF</h2>
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-01-16 16:03:23 +00:00
|
|
|
<div class="col-xs-12 col-sm-4 col-lg-4 wow fadeInDown hidden-print">
|
2016-09-09 04:24:52 +00:00
|
|
|
<div class="order-summary">
|
|
|
|
<div class="header text-center">
|
|
|
|
<h2 class="order-name">Order Summary</h2>
|
|
|
|
</div>
|
|
|
|
<div class="order-box">
|
|
|
|
<h2 class="col-xs-6 order-item" style="padding-bottom:10px"> Dates: {{membership_start_date|date}} - {{membership_end_date|date}}<br><br></h2>
|
|
|
|
|
|
|
|
<h2 class="col-xs-6 payment-total">Membership month {{order.created_at|date:"F"}}</h2>
|
|
|
|
<h2 class="order-sum">{{order.amount|floatformat}}CHF</h2>
|
2016-10-14 04:33:48 +00:00
|
|
|
<br/>
|
2016-09-09 04:24:52 +00:00
|
|
|
<hr class="greyline">
|
|
|
|
<h2 class="col-xs-6 payment-total">Total</h2>
|
|
|
|
<h2 class="order-result">{{order.amount|floatformat}}CHF</h2>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</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
|
|
|
|
|
|
|
<!-- stripe key data -->
|
|
|
|
{% if stripe_key %}
|
|
|
|
<script type="text/javascript">
|
|
|
|
(function () {window.stripeKey = "{{stripe_key}}";})();
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{%endif%}
|
|
|
|
|
|
|
|
{% endblock %}
|