fix add selling to current festival in api call from dashboard

This commit is contained in:
Tykayn 2025-02-26 14:51:48 +01:00 committed by tykayn
parent 7e120c030b
commit 457cafdaef
10 changed files with 174 additions and 90 deletions

View file

@ -17,6 +17,8 @@
<th>FondDeCaisseApres</th>
<th>DateCreation</th>
<th>actions</th>
<th>Sellings</th>
<th>Set as active</th>
</tr>
</thead>
<tbody>
@ -36,9 +38,14 @@
<td>{{ festival.fondDeCaisseApres }}</td>
<td>{{ festival.dateCreation ? festival.dateCreation|date('Y-m-d') : '' }}</td>
<td>
<a href="{{ path('app_festival_show', {'id': festival.id}) }}">show</a>
<a href="{{ path('app_festival_edit', {'id': festival.id}) }}">edit</a>
<a href="{{ path('app_set_active_festival', {'id': festival.id}) }}">Set as active</a>
<a href="{{ path('app_festival_show', {'id': festival.id}) }}">voir</a>
<a href="{{ path('app_festival_edit', {'id': festival.id}) }}">modifier</a>
</td>
<td>{{ festival.sellings|length }}</td>
<td>
<a href="{{ path('app_set_active_festival', {'id': festival.id}) }}">activer</a>
</td>
</tr>
{% else %}