{% extends 'base.html.twig' %}
{% block title %}FoodOrder{% endblock %}
{% block body %}
FoodOrder
StartedByName |
{{ food_order.startedBy }} |
Id |
{{ food_order.id }} |
StartedAt |
{{ food_order.startedAt ? food_order.startedAt|date('Y-m-d H:i:s') : '' }} |
ClosedAt |
{% if food_order.closedAt is not null%}
{{ food_order.closedAt|date('Y-m-d H:i:s') }}
{% else %}
close
{% endif %}
|
Name(s) |
Extra(s) |
possible price |
actions |
{% for orderItem in food_order.groupedOrderItems %}
{{ orderItem.menuItem.menuItemAliases|map(i => i.name)|join(' / ') }}
|
{{ orderItem.extras|map(i => i.name)|join(' / ') }}
|
{{ orderItem.menuItem.price|cents_to_eur }}
|
|
{% endfor %}
Name(s) |
possible price |
actions |
{% for item in menu_items %}
{{ item.menuItemAliases|map(i => i.name)|join(' / ') }}
|
{{ item.price|cents_to_eur }}
|
{% if food_order.closedAt is null %}
add
{% endif %}
|
{% endfor %}
{% endblock %}