Loading module/Oscar/src/Oscar/Entity/RecallDeclarationRepository.php 0 → 100644 +21 −0 Changes for module/Oscar/src/Oscar/Entity/RecallDeclarationRepository.php: 21 added lines, 0 removed lines. Original line number Diff line number Diff line <?php /** * @author Stéphane Bouvry<stephane.bouvry@unicaen.fr> * @date: 17-11-21 16:03 * @copyright Certic (c) 2017 */ namespace Oscar\Entity; use Doctrine\ORM\EntityRepository; use Doctrine\ORM\NoResultException; use phpDocumentor\Reflection\Types\Integer; class RecallDeclarationRepository extends EntityRepository { public function getRecallDeclarationsPersonPeriod( int $personId, int $periodYear, int $periodMonth ) { } } No newline at end of file module/Oscar/src/Oscar/Service/TimesheetService.php +5 −1 Changes for module/Oscar/src/Oscar/Service/TimesheetService.php: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ use Oscar\Entity\Authentification; use Oscar\Entity\Organization; use Oscar\Entity\Person; use Oscar\Entity\ProjectGrantRepository; use Oscar\Entity\RecallDeclaration; use Oscar\Entity\Referent; use Oscar\Entity\TimeSheet; use Oscar\Entity\TimesheetCommentPeriod; Loading Loading @@ -2561,7 +2562,10 @@ class TimesheetService implements UseOscarUserContextService, UseOscarConfigurat $result['mailSend'] = false; // Vérification du dernier envois $recalls = ; /** @var RecallDeclarationRepository $recallDeclarationRepository */ $recallDeclarationRepository = $this->getEntityManager()->getRepository(RecallDeclaration::class); if ($result['needSend']) { Loading Loading
module/Oscar/src/Oscar/Entity/RecallDeclarationRepository.php 0 → 100644 +21 −0 Changes for module/Oscar/src/Oscar/Entity/RecallDeclarationRepository.php: 21 added lines, 0 removed lines. Original line number Diff line number Diff line <?php /** * @author Stéphane Bouvry<stephane.bouvry@unicaen.fr> * @date: 17-11-21 16:03 * @copyright Certic (c) 2017 */ namespace Oscar\Entity; use Doctrine\ORM\EntityRepository; use Doctrine\ORM\NoResultException; use phpDocumentor\Reflection\Types\Integer; class RecallDeclarationRepository extends EntityRepository { public function getRecallDeclarationsPersonPeriod( int $personId, int $periodYear, int $periodMonth ) { } } No newline at end of file
module/Oscar/src/Oscar/Service/TimesheetService.php +5 −1 Changes for module/Oscar/src/Oscar/Service/TimesheetService.php: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ use Oscar\Entity\Authentification; use Oscar\Entity\Organization; use Oscar\Entity\Person; use Oscar\Entity\ProjectGrantRepository; use Oscar\Entity\RecallDeclaration; use Oscar\Entity\Referent; use Oscar\Entity\TimeSheet; use Oscar\Entity\TimesheetCommentPeriod; Loading Loading @@ -2561,7 +2562,10 @@ class TimesheetService implements UseOscarUserContextService, UseOscarConfigurat $result['mailSend'] = false; // Vérification du dernier envois $recalls = ; /** @var RecallDeclarationRepository $recallDeclarationRepository */ $recallDeclarationRepository = $this->getEntityManager()->getRepository(RecallDeclaration::class); if ($result['needSend']) { Loading