{% macro render_order(order) -%}
{{ order.location.name }}
{{ order.items.count() }} orders

{% if order.stoptime %} Closes {{ order.stoptime.strftime("%H:%M") }}{{ order.stoptime|countdown }} {% else %}open{% endif %}

Expand
{%- endmacro %} {% macro render_form_field_errors(field) %} {%- if field.errors %} {%- for error in field.errors %}

{{error}}

{%- endfor %} {%- elif field.description -%}

{{field.description|safe}}

{%- endif %} {% endmacro %}