Order {{ order.id }}
Courrier: {{ order.courrier.username }}
{% if order.courrier == None %}
Volunteer
{% endif %}
Location:
{{ order.location.name }}
Starttime: {{ order.starttime }}
Stoptime: {{ order.stoptime }}
Total price: {{ total_price|euro }}
Orders
{% for item in order.orders %}
{{ item.user.username }} - {{ item.food.name }} - {{ item.food.price|euro }}
{% if item.can_delete(order.id, current_user.id) -%}
{%- endif %}
{% endfor %}
Debts
{% for key, value in total_payments.items() %}
{{ key.username }} - {{ value|euro }}
{% endfor %}