mirror of
https://forge.chapril.org/tykayn/caisse-bliss
synced 2025-10-09 17:02:47 +02:00
up templates
This commit is contained in:
parent
71bce538af
commit
a39b6239b0
71 changed files with 1536 additions and 262 deletions
41
templates/selling/index.html.twig
Normal file
41
templates/selling/index.html.twig
Normal file
|
@ -0,0 +1,41 @@
|
|||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Selling index{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Selling index</h1>
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Note</th>
|
||||
<th>Products</th>
|
||||
<th>Sum</th>
|
||||
<th>Reduction</th>
|
||||
<th>actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for selling in sellings %}
|
||||
<tr>
|
||||
<td>{{ selling.id }}</td>
|
||||
<td>{{ selling.note }}</td>
|
||||
<td>{{ selling.products }}</td>
|
||||
<td>{{ selling.sum }}</td>
|
||||
<td>{{ selling.reduction }}</td>
|
||||
<td>
|
||||
<a href="{{ path('app_selling_show', {'id': selling.id}) }}">show</a>
|
||||
<a href="{{ path('app_selling_edit', {'id': selling.id}) }}">edit</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="6">no records found</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<a href="{{ path('app_selling_new') }}">Create new</a>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue