81 lines
No EOL
3.1 KiB
HTML
81 lines
No EOL
3.1 KiB
HTML
{% 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">
|
|
<h2 class="section-heading payment-head">Your membership invoice for {{order.created_at|date:"Y-m"}}</h2>
|
|
<hr class="greyline-long">
|
|
<h2 class="billing-head">Invoice<btn class="btn btn-primary btn-grey btn-edit print hidden-print" data-print="price">Get PDF</btn></h2>
|
|
|
|
<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>
|
|
|
|
<div class="col-xs-12 col-sm-4 col-lg-4 wow fadeInDown">
|
|
<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>
|
|
<br/>
|
|
<hr class="greyline">
|
|
<h2 class="col-xs-6 payment-total">Total</h2>
|
|
<h2 class="order-result">{{order.amount|floatformat}}CHF</h2>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- stripe key data -->
|
|
{% if stripe_key %}
|
|
<script type="text/javascript">
|
|
(function () {window.stripeKey = "{{stripe_key}}";})();
|
|
</script>
|
|
|
|
{%endif%}
|
|
|
|
{% endblock %} |