Order {{ order.id }}
{% if order.can_close(current_user.id) -%}
{% endif %}{% if courier_or_admin %}
Edit
{%- endif %}
courier: {{ order.courier.username }}
{% if order.courier == None and not current_user.is_anonymous() %}
{% endif %}
location: {% if order.location %}
{{ order.location_name }}
{% else %}
{{ order.location_name }}
{% endif %}
{% if order.location.telephone != None %}
telephone:
{{ order.location.telephone }}
{% endif %}
start: {{ order.starttime.strftime("%d/%m/%Y %H:%M") }}
{% if order.stoptime %}
closing time: {{ order.stoptime.strftime("%H:%M") }} ({{ order.stoptime|countdown }})
{% else %}open{% endif %}
total price: {{ total_price|euro }} {% if courier_or_admin %}- remaining debts: {{ debts|euro }}{% endif %}