{% macro render_order(order) -%}
{{ order.location_name }}
{{ order.items.count() }} items ordered

{% 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 %}