{% extends 'base.html' %} {% load bootstrap3 %} {% block content %}

Order #{{ order.id }}

{% for order_product in order.orderproductrelation_set.all %}
Name Quantity Price Total
{{ order_product.product.name }} {{ order_product.quantity }} {{ order_product.product.price }} {{ order_product.total }} {% endfor %} {# TODO: Add total + VAT info #}
{% if order.open %}
{% 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" %}
{% endif %} {% endblock %}