Loading module/Application/src/Application/Controller/PaiementController.php +13 −12 Original line number Diff line number Diff line Loading @@ -52,7 +52,6 @@ class PaiementController extends AbstractController use EtatSortieServiceAwareTrait; /** * Initialisation des filtres Doctrine pour les historique. * Objectif : laisser passer les enregistrements passés en historique pour mettre en évidence ensuite les erreurs Loading Loading @@ -505,7 +504,9 @@ class PaiementController extends AbstractController $intervenants = $this->getServiceIntervenant()->get(explode(',', $intervenants)); try { $this->getServiceMiseEnPaiement()->mettreEnPaiement($structure, $intervenants, $periode, $dateMiseEnPaiement); $this->updateTableauxBord($intervenants); foreach ($intervenants as $intervenant) { $this->updateTableauxBord($intervenant); } } catch (\Exception $e) { $errors[] = $e->getMessage(); } Loading @@ -517,7 +518,7 @@ class PaiementController extends AbstractController /** * @param Intervenant|Intervenant[] $intervenant * @param Intervenant $intervenant */ private function updateTableauxBord($intervenant) { Loading Loading
module/Application/src/Application/Controller/PaiementController.php +13 −12 Original line number Diff line number Diff line Loading @@ -52,7 +52,6 @@ class PaiementController extends AbstractController use EtatSortieServiceAwareTrait; /** * Initialisation des filtres Doctrine pour les historique. * Objectif : laisser passer les enregistrements passés en historique pour mettre en évidence ensuite les erreurs Loading Loading @@ -505,7 +504,9 @@ class PaiementController extends AbstractController $intervenants = $this->getServiceIntervenant()->get(explode(',', $intervenants)); try { $this->getServiceMiseEnPaiement()->mettreEnPaiement($structure, $intervenants, $periode, $dateMiseEnPaiement); $this->updateTableauxBord($intervenants); foreach ($intervenants as $intervenant) { $this->updateTableauxBord($intervenant); } } catch (\Exception $e) { $errors[] = $e->getMessage(); } Loading @@ -517,7 +518,7 @@ class PaiementController extends AbstractController /** * @param Intervenant|Intervenant[] $intervenant * @param Intervenant $intervenant */ private function updateTableauxBord($intervenant) { Loading