{% extends "orders/base.html" %} {% block title %}Checkout{% endblock %} {% block body %} {% if message %}
{{ message }}
{% endif %}

Checkout

{% if not cart %}
Empty.
{% else %}
{% for item in cart %}
{{ item }} {% if item.toppings.all|length > 0 %}
    {% for topping in item.toppings.all %}
  • {{ topping }}
  • {% endfor %}
{% endif %}
{{ item.price }}
{% endfor %}
₱{{ total }}
{% if not paid %}
{% csrf_token %}
{% endif %} {% if paid %}
{% csrf_token %}
{% endif %}
{% csrf_token %}
{% endif %}
{% endblock %}