{% extends 'shop_base.html' %} {% load bootstrap3 %} {% load shop_tags %} {% block shop_content %}

Order #{{ order.id }}

{% if not order.paid %}
{% csrf_token %} {% endif %} {% for order_product in order.orderproductrelation_set.all %}
Name Quantity Price Total
{{ order_product.product.name }} {% if not order.open == None %} {% bootstrap_button '' button_type="submit" button_class="btn-danger" name="remove_product" value=order_product.pk %} {% else %} {{ order_product.quantity }} {% endif %} {{ order_product.product.price|currency }} {{ order_product.total|currency }} {% endfor %}
Hereof VAT (25%) {{ order.vat|currency }}
Total {{ order.total|currency }}
{% if not order.open == None %} {% bootstrap_button "Update order" button_type="submit" button_class="btn-primary" name="update_order" %} {% endif %} {% if not order.paid %} {% bootstrap_button "Cancel order" button_type="submit" button_class="btn-danger" name="cancel_order" %} {% endif %}

Payment

{% if not order.paid %}

Your order is currently unpaid. Please pick a payment option below.

Once you go to the payment your order will be finalized and you will no longer be able to change the products or quantities - so make sure your order is correct before proceeding!

{% csrf_token %} {% bootstrap_button " Credit card" button_type="submit" button_class="btn-primary" name="payment_method" value="credit_card" %} {% bootstrap_button " Blockchain" button_type="submit" button_class="btn-primary" name="payment_method" value="blockchain" %} {% bootstrap_button " Bank transfer" button_type="submit" button_class="btn-primary" name="payment_method" value="bank_transfer" %}

If you have already paid but your order is still showing unpaid, you can email us or use the contact page for other options. Please allow for up to a week for bank transfers to be registered, the other payment methods should be more or less instant.

{% else %}

Your order is paid in full.

{% endif %} {% endblock %}