FestinHegre/templates/reductions/show.html.twig

47 lines
1.3 KiB
Twig
Raw Normal View History

2024-11-21 15:11:11 +01:00
{% extends 'base.html.twig' %}
{% block title %}Reductions{% endblock %}
{% block body %}
<h1>Reductions</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ reduction.id }}</td>
</tr>
<tr>
<th>Description</th>
<td>{{ reduction.Description }}</td>
</tr>
<tr>
<th>Prix</th>
<td>{{ reduction.Prix }}</td>
</tr>
<tr>
<th>Pourcentage</th>
<td>{{ reduction.Pourcentage }}</td>
</tr>
<tr>
<th>MontantFixe</th>
<td>{{ reduction.MontantFixe }}</td>
</tr>
<tr>
<th>DateDebut</th>
<td>{{ reduction.DateDebut ? reduction.DateDebut|date('Y-m-d H:i:s') : '' }}</td>
</tr>
<tr>
<th>DateFin</th>
<td>{{ reduction.DateFin ? reduction.DateFin|date('Y-m-d H:i:s') : '' }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_reductions_index') }}">back to list</a>
<a href="{{ path('app_reductions_edit', {'id': reduction.id}) }}">edit</a>
{{ include('reductions/_delete_form.html.twig') }}
{% endblock %}