Commit 539e9061 authored by Chrystel Moreau's avatar Chrystel Moreau
Browse files

debug commit 8600bb95 => done

parent 64dcd57a
......@@ -77,7 +77,6 @@ final class DashboardAdminPreAgendaAction
public function getPreAgendas($jour,$debut,$fin) {
$date_debut=$jour." ".$debut;
$date_fin=$jour." ".$fin;
$dql = "SELECT a as agenda, ";
$dql .= "(select count(pa) from App\Entity\ParticipantPreAgenda pa where pa.preagenda=a.id) as nb_inscrits ";
$dql .= "FROM App\Entity\PreAgenda a ";
......
......@@ -64,18 +64,18 @@
<tbody>
{% for preagenda in preagendas %}
<tr>
<td>{{ preagenda.getFormation().getNom() }}</td>
<td>{{ preagenda.getSalle.getNom() }}</td>
<td>{{ preagenda.getDateDebut() | date("d/m/y") }}</td>
<td>{{ preagenda.getDateDebut() | date("H:i") }}</td>
<td>{{ preagenda.getDateFin() | date("H:i") }}</td>
<td>{{ preagenda.agenda.getFormation().getNom() }}</td>
<td>{{ preagenda.agenda.getSalle.getNom() }}</td>
<td>{{ preagenda.agenda.getDateDebut() | date("d/m/y") }}</td>
<td>{{ preagenda.agenda.getDateDebut() | date("H:i") }}</td>
<td>{{ preagenda.agenda.getDateFin() | date("H:i") }}</td>
<td class="text-center">
<a href="dashboard-admin-preagenda-form?token={{ token }}&preagenda_id={{ preagenda.getId() }}"
<a href="dashboard-admin-preagenda-form?token={{ token }}&preagenda_id={{ preagenda.agenda.getId() }}"
class="btn btn-sky fa fa-pencil-square-o btn-info"
data-toggle="tooltip" title="Éditer">
</a>
<a href="dashboard-admin-preagenda-form?token={{ token }}&preagenda_id={{ preagenda.getId() }}"
<a href="dashboard-admin-preagenda-form?token={{ token }}&preagenda_id={{ preagenda.agenda.getId() }}"
class="btn btn-fire fa fa-trash-o btn-delete-preagenda"
data-toggle="tooltip" title="Supprimer">
</a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment