Fixed #2652: Order confirmation page needs buttons for next action. Fixed #2653: cancel subscription modal position adjustment. Fixed #2658: Billing address info change page. Fixed #2659: order history page booking history list. Issue #2659 Added start date and end _date to membership model attributes. Fixed membership creating process in order to set start and end membership dates. Fixed start date and end date in membership detail view and orders list in order to use new membership attributes model. Adding membership order after booking. Fixed Membership creation when an booking is placed.Fixed #2661 : move DG terms and condition text+ checkbox in order page.Fixed 2663: DG pricing page column width fix.Fixed #2660: DG footer style fix
This commit is contained in:
parent
042fa547e3
commit
35bd78a78b
12 changed files with 189 additions and 81 deletions
|
|
@ -55,8 +55,13 @@
|
|||
<hr class="greyline-long">
|
||||
<h2 class="col-xs-6 payment-total text-left"> Total</h2>
|
||||
<h2 class="order-result">{{final_price|floatformat}}CHF</h2>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<p class="order-bottom-text">
|
||||
View my bookings <a href="{% url 'digitalglarus:booking_orders_list' %}">Go to my page</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-4 col-lg-4 wow fadeInDown hidden-print">
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
<th>#</th>
|
||||
<th>Booking dates</th>
|
||||
<th>Days</th>
|
||||
<th>Membership Required Months</th>
|
||||
<th>Invoice</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
@ -33,6 +34,7 @@
|
|||
<th scope="row">{{order.id}}</th>
|
||||
<td>{{order.booking.start_date}}-{{order.booking.end_date}}</td>
|
||||
<td>{{order.booking_days}}</td>
|
||||
<td>{{order.membership_required_months}}</td>
|
||||
<td><a class="btn btn-xs btn-primary btn-darkgrey" href="{% url 'digitalglarus:booking_orders_detail' order.id %}">View</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,15 @@
|
|||
{% block title %}crowdfunding{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
#cancel-subscription-modal{
|
||||
margin-top:10%;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<section id="price">
|
||||
<div class="signup-container">
|
||||
<div class="col-xs-12 col-sm-3 col-lg-4 text-center wow fadeInDown"> </div>
|
||||
|
|
@ -37,7 +46,7 @@
|
|||
<p>Do you want to cancel your subscription?</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">No</button>
|
||||
<button type="button" class="btn btn-primary btn-grey" data-dismiss="modal">No</button>
|
||||
<button type="submit" class="btn btn-primary">Yes</button>
|
||||
</div>
|
||||
</div><!-- /.modal-content -->
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<h2 class="order-head">Member Name</h2>
|
||||
<h2 class="member-name">{{request.user.name}}</h2>
|
||||
<hr class="greyline-long">
|
||||
<h2 class="order-head">Active Membership</h2>
|
||||
<h2 class="order-head">Current Membership</h2>
|
||||
<h2 class="member-name">{{membership_start_date|date}}-{{membership_end_date|date}}</h2>
|
||||
<hr class="greyline-long">
|
||||
<h2 class="order-head">Orders history</h2>
|
||||
|
|
|
|||
|
|
@ -91,6 +91,13 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<br/>
|
||||
<input type="checkbox" class="custom-control-input">
|
||||
<span class="custom-control-indicator"></span>
|
||||
<span class="custom-control-description">I accept the Digital Glarus <a href=#>Terms and Conditions</a>, <a href=#>Community Guidelines</a> and <a href=#>Privacy Policy</a></span>
|
||||
</label>
|
||||
|
||||
<div class="col-xs-12">
|
||||
<button class="btn btn-primary btn-md btn-blck " type="submit">Purchase membership</button>
|
||||
</div>
|
||||
|
|
@ -132,12 +139,6 @@
|
|||
<h2 class="col-xs-6 payment-total">Total</h2>
|
||||
<h2 class="order-result">{{membership_type.first_month_price|floatformat}}CHF</h2>
|
||||
<div class="text-center">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<br/>
|
||||
<input type="checkbox" class="custom-control-input">
|
||||
<span class="custom-control-indicator"></span>
|
||||
<span class="custom-control-description">I accept the Digital Glarus <a href=#>Terms and Conditions</a>, <a href=#>Community Guidelines</a> and <a href=#>Privacy Policy</a></span>
|
||||
</label>
|
||||
<div class="button-box">
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
{% block content %}
|
||||
<section id="price">
|
||||
<div class="container">
|
||||
<div class="row col-md-3 text-center wow fadeInDown"></div>
|
||||
<div class="row col-md-6 text-center wow fadeInDown">
|
||||
<div class="row col-md-2 text-center wow fadeInDown"></div>
|
||||
<div class="row col-md-8 text-center wow fadeInDown">
|
||||
<div class="price-box">
|
||||
<span class="glyphicon glyphicon-star"></span>
|
||||
<h2 class="section-heading">Digital Glarus Membership</h2>
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row col-md-3 text-center wow fadeInDown"></div>
|
||||
<div class="row col-md-2 text-center wow fadeInDown"></div>
|
||||
</div>
|
||||
</section>
|
||||
<!--membership includes-->
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
<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">Billing Address Info</h2>
|
||||
<h2 class="section-heading payment-head">Billing Address</h2>
|
||||
<!-- <h2 class="membership-amount">35CHF</h2> -->
|
||||
<hr class="greyline-long">
|
||||
<h2 class="billing-head">Billing Adress</h2>
|
||||
|
|
@ -35,6 +35,7 @@
|
|||
{% bootstrap_field field show_label=False type='fields'%}
|
||||
{% endfor %}
|
||||
{% bootstrap_form_errors form type='non_fields'%}
|
||||
<input type="hidden" name="next" value="{{request.META.HTTP_REFERER}}">
|
||||
<br>
|
||||
|
||||
<div class="row">
|
||||
|
|
@ -44,7 +45,7 @@
|
|||
<h2 class="signup-lead text-center">{{ message }}</h2>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<button id="payment_button" class="btn btn-primary btn-lg btn-blck " type="submit">Save</button>
|
||||
<button id="payment_button" class="btn btn-primary btn-md btn-blck " type="submit">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue