caisse-bliss/app/Resources/views/sellrecord/index.html.twig

46 lines
1.4 KiB
Twig
Raw Normal View History

2018-04-05 14:21:32 +02:00
{% extends 'base.html.twig' %}
{% block body %}
<h1>Sellrecords list</h1>
2018-04-17 14:52:31 +02:00
<table class="table-responsive table-striped table table-bordered table-light">
2018-04-05 14:21:32 +02:00
<thead>
2018-04-17 14:30:15 +02:00
<tr>
<th>Date</th>
<th>Actions</th>
</tr>
2018-04-05 14:21:32 +02:00
</thead>
<tbody>
{% for sellRecord in sellRecords %}
<tr>
2018-04-17 14:30:15 +02:00
<td>
<a class="btn btn-primary"
href="{{ path('sellrecord_show', { 'date': sellRecord.date }) }}">{{ sellRecord.date }}</a>
</td>
2018-04-05 14:21:32 +02:00
<td>
<ul>
<li>
2018-04-17 14:30:15 +02:00
<a class="btn btn-primary"
href="{{ path('sellrecord_show', { 'date': sellRecord.date }) }}">voir
</a>
2018-04-05 14:21:32 +02:00
</li>
<li>
2018-04-17 14:30:15 +02:00
<a class="btn btn-primary"
href="{{ path('sellrecord_edit', { 'date': sellRecord.date }) }}">
<i class="fa fa-pencil"></i>
</a>
2018-04-05 14:21:32 +02:00
</li>
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<ul>
<li>
2018-04-17 14:52:31 +02:00
<a class="btn btn-primary" href="{{ path('sellrecord_new') }}">Nouveau sellRecord</a>
2018-04-05 14:21:32 +02:00
</li>
</ul>
{% endblock %}