forked from lubiana/futtern
add order
This commit is contained in:
parent
7663f684a4
commit
1dc5306967
37 changed files with 1060 additions and 113 deletions
37
templates/order_item/index.html.twig
Normal file
37
templates/order_item/index.html.twig
Normal file
|
@ -0,0 +1,37 @@
|
|||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}OrderItem index{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>OrderItem index</h1>
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Name</th>
|
||||
<th>Extras</th>
|
||||
<th>actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for order_item in order_items %}
|
||||
<tr>
|
||||
<td>{{ order_item.id }}</td>
|
||||
<td>{{ order_item.name }}</td>
|
||||
<td>{{ order_item.extras }}</td>
|
||||
<td>
|
||||
<a href="{{ path('app_order_item_show', {'id': order_item.id}) }}">show</a>
|
||||
<a href="{{ path('app_order_item_edit', {'id': order_item.id}) }}">edit</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="4">no records found</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<a href="{{ path('app_order_item_new') }}">Create new</a>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue