Commit 5d377df1 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Fix : MailingService manquant

parent b1dd1d9a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1911,4 +1911,12 @@ class PersonService implements UseOscarConfigurationService, UseEntityManager, U
    {
        return $this->getServiceContainer()->get(OrganizationService::class);
    }

    /**
     * @return MailingService
     */
    public function getMailingService()
    {
        return $this->getServiceContainer()->get(MailingService::class);
    }
}
+13 −1
Original line number Diff line number Diff line
@@ -2778,7 +2778,19 @@ class TimesheetService implements UseOscarUserContextService, UseOscarConfigurat
        return $this->getEntityManager()->getRepository(RecallDeclaration::class);
    }

    public function recallProcess($declarerId, $period, $processDate = null, $force = false)
    /**
     * Procédure de rappel des déclarants.
     *
     * @param $declarerId
     * @param $period
     * @param null $processDate
     * @param false $force
     * @return array
     * @throws ConnectorException
     * @throws OscarException
     * @throws \Doctrine\ORM\ORMException
     */
    public function recallProcess($declarerId, $period, $processDate = null, $force = false) :array
    {
        // Récupération de la date de rappel référente
        if ($processDate == null) {