Loading module/Formation/src/Formation/Service/Emargement/emargement.phtml +2 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,8 @@ $formation = $journee->getInstance()->getFormation(); <th style="width:8rem; text-align:left; "> Intitulé </th> <td> <?php echo $formation->getLibelle(); ?> </td> </tr><tr> <th style="width:8rem; text-align:left; "> Horaire </th> <td> <?php echo $journee->getJour()->format('d/m/Y'); ?> du <?php echo $journee->getDebut(); ?> au <?php echo $journee->getFin(); ?> </td> <th style="width:8rem; text-align:left; "> Date </th> <td> <?php echo $journee->getJour()->format('d/m/Y'); ?> de <?php echo $journee->getDebut(); ?> à <?php echo $journee->getFin(); ?> </td> </tr><tr> <th style="width:8rem; text-align:left; ">Lieu </th> <td><?php echo $journee->getLieu(); ?></td> Loading module/Referentiel/config/merged/synchronisation.config.php +12 −1 Original line number Diff line number Diff line Loading @@ -33,12 +33,23 @@ return [ 'options' => [ 'route' => 'synchroniser-all', 'defaults' => [ /** @see SynchronisationConsoleController::synchroniseAllAction() */ /** @see SynchronisationConsoleController::synchroniserAllAction() */ 'controller' => SynchronisationConsoleController::class, 'action' => 'synchroniser-all' ], ], ], 'synchroniser' => [ 'type' => Simple::class, 'options' => [ 'route' => 'synchroniser [--name=]', 'defaults' => [ /** @see SynchronisationConsoleController::synchroniserAction() */ 'controller' => SynchronisationConsoleController::class, 'action' => 'synchroniser' ], ], ], ], ], ], Loading module/Referentiel/src/Referentiel/Controller/SynchronisationConsoleController.php +8 −0 Original line number Diff line number Diff line Loading @@ -25,4 +25,12 @@ class SynchronisationConsoleController extends ConsoleController { } return "done!\n"; } public function synchroniserAction() : string { $request = $this->getRequest(); $name = $request->getParam('name'); echo $this->getSynchronisationService()->synchronise($name); return "done!\n"; } } No newline at end of file Loading
module/Formation/src/Formation/Service/Emargement/emargement.phtml +2 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,8 @@ $formation = $journee->getInstance()->getFormation(); <th style="width:8rem; text-align:left; "> Intitulé </th> <td> <?php echo $formation->getLibelle(); ?> </td> </tr><tr> <th style="width:8rem; text-align:left; "> Horaire </th> <td> <?php echo $journee->getJour()->format('d/m/Y'); ?> du <?php echo $journee->getDebut(); ?> au <?php echo $journee->getFin(); ?> </td> <th style="width:8rem; text-align:left; "> Date </th> <td> <?php echo $journee->getJour()->format('d/m/Y'); ?> de <?php echo $journee->getDebut(); ?> à <?php echo $journee->getFin(); ?> </td> </tr><tr> <th style="width:8rem; text-align:left; ">Lieu </th> <td><?php echo $journee->getLieu(); ?></td> Loading
module/Referentiel/config/merged/synchronisation.config.php +12 −1 Original line number Diff line number Diff line Loading @@ -33,12 +33,23 @@ return [ 'options' => [ 'route' => 'synchroniser-all', 'defaults' => [ /** @see SynchronisationConsoleController::synchroniseAllAction() */ /** @see SynchronisationConsoleController::synchroniserAllAction() */ 'controller' => SynchronisationConsoleController::class, 'action' => 'synchroniser-all' ], ], ], 'synchroniser' => [ 'type' => Simple::class, 'options' => [ 'route' => 'synchroniser [--name=]', 'defaults' => [ /** @see SynchronisationConsoleController::synchroniserAction() */ 'controller' => SynchronisationConsoleController::class, 'action' => 'synchroniser' ], ], ], ], ], ], Loading
module/Referentiel/src/Referentiel/Controller/SynchronisationConsoleController.php +8 −0 Original line number Diff line number Diff line Loading @@ -25,4 +25,12 @@ class SynchronisationConsoleController extends ConsoleController { } return "done!\n"; } public function synchroniserAction() : string { $request = $this->getRequest(); $name = $request->getParam('name'); echo $this->getSynchronisationService()->synchronise($name); return "done!\n"; } } No newline at end of file