wiederaufbau

This commit is contained in:
lubiana 2024-03-17 21:05:03 +01:00
parent fe9820ef4b
commit 72ded82226
9 changed files with 217 additions and 34 deletions

View file

@ -1,7 +1,8 @@
{% extends 'base.html.twig' %}
{% block body %}
{{ include('_form.html.twig') }}
{% include('_form.html.twig') %}
{% include('_form.html.twig') with {'form': extraForm, 'button_label': 'add extra'} only %}
<datalist id="item-extra-list">
{% for item in extras %}
<option value="{{ item.name }}"></option>

View file

@ -53,6 +53,22 @@
{{ orderItem.menuItem.price|cents_to_eur }}
</td>
<td>
<a
href="{{ path(
'app_foodorder_item_copy',
{
'orderItem': orderItem.id
}
) }}"
>+1</a> |
<a
href="{{ path(
'app_foodorder_item_remove',
{
'orderItem': orderItem.id
}
) }}"
>del</a> |
</td>
</tr>
{% endfor %}
@ -90,4 +106,6 @@
</tr>
{% endfor %}
</table>
{% include('_form.html.twig') %}
{% endblock %}