{% extends "base.html" %} {% block title %}Order #{{ order.id }}{% endblock %} {% block content %}

Order #{{ order.id }}

Customer: {{ order.customer.name }} (balance: {{ "%.2f"|format(order.customer.balance) }}, credit limit: {{ "%.2f"|format(order.customer.credit_limit) }})

Notes: {{ order.notes or "" }}

Created: {{ order.CreatedOn }}

{% for item in order.items %} {% endfor %}
ProductQuantityUnit PriceAmount
{{ item.product.name }} {{ item.quantity }} {{ "%.2f"|format(item.unit_price) }} {{ "%.2f"|format(item.amount) }}
Order Total{{ "%.2f"|format(order.amount_total) }}
{% endblock %}