Commit a3637a69 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

fixing

parent e60e6003
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -493,12 +493,12 @@ class EntretienProfessionnelController extends AbstractActionController

    public function actionAction() : ViewModel
    {
        var_dump((new DateTime())->format('i:s.u'));
        $entretien = $this->getEntretienProfessionnelService()->getRequestedEntretienProfessionnel($this);

        return new ViewModel([
        $vm =  new ViewModel([
            'entretien' => $entretien,
        ]);
        return $vm;
    }

}
+2 −2
Original line number Diff line number Diff line
@@ -432,7 +432,7 @@ class EntretienProfessionnel implements HistoriqueAwareInterface, ResourceInterf
    /** PREDICATS *****************************************************************************************************/

    /**
     * @param Agent $agent
     * @param Agent|null $agent
     * @return bool
     */
    public function isAgent(?Agent $agent) : bool
@@ -441,7 +441,7 @@ class EntretienProfessionnel implements HistoriqueAwareInterface, ResourceInterf
    }

    /**
     * @param Agent $agent
     * @param Agent|null $agent
     * @return bool
     */
    public function isReponsable(?Agent $agent) : bool
+2 −0
Original line number Diff line number Diff line
@@ -46,10 +46,12 @@ class RappelAgentAvantFormationService extends EvenementService
        $parametres = json_decode($evenement->getParametres(), true);

        try {
            /** @var FormationInstance|null $instance */
            $instance = $this->getEntityManager()->getRepository(FormationInstance::class)->find($parametres['instance']);
            $this->getNotificationService()->triggerRappelAgentAvantFormation($instance);
        } catch(Exception $e) {
            $evenement->setLog($e->getMessage());
            $this->update($evenement);
            return Etat::ECHEC;
        }
        $evenement->setLog(null);
+1 −1
Original line number Diff line number Diff line
@@ -421,7 +421,7 @@ class StructureController extends AbstractActionController {
            'fichespostes' => $fichespostes,
            'url' => $this->url()->fromRoute('structure/dupliquer-fiche-poste-recrutement', ['structure' => $structure->getId()], [], true),
        ]);
        $vm->setTemplate('application/structure/dupliquer-fiche-poste');
        $vm->setTemplate('structure/structure/dupliquer-fiche-poste');
        return $vm;
    }

+1 −1

File changed.

Contains only whitespace changes.