init
This commit is contained in:
commit
203233d2ed
71 changed files with 8213 additions and 0 deletions
35
templates/start/index.html.twig
Normal file
35
templates/start/index.html.twig
Normal file
|
@ -0,0 +1,35 @@
|
|||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Futtern{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Open Orders</h1>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>StartedBy</th>
|
||||
<th>Vendor</th>
|
||||
<th>StartedAt</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for order in orders %}
|
||||
<tr>
|
||||
<td>{{ order.startedByName }}</td>
|
||||
<td>{{ order.vendor.name }}</td>
|
||||
<td>{{ order.startedAt|date("Y-m-d H:i") }}</td>
|
||||
<td><a href="{{ path('app_food_order_show', {'id': order.id}) }}">show</a></td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="3">no records found</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
<h2>New Order:</h2>
|
||||
|
||||
{{ include('_form.html.twig') }}
|
||||
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue