Loading module/Oscar/src/Oscar/Controller/ProjectGrantController.php +3 −0 Changes for module/Oscar/src/Oscar/Controller/ProjectGrantController.php: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2468,9 +2468,12 @@ class ProjectGrantController extends AbstractOscarController implements UseNotif $this->getOscarUserContextService()->check(Privileges::DEPENSE_SYNC, $activity); try { $msg = $this->getSpentService()->syncSpentsByEOTP($activity->getCodeEOTP()); $this->getFlashMessenger()->addSuccessMessage($msg); } catch (Exception $e) { $error = "Impossible de mettre à jour les dépenses : " . $e->getMessage(); $this->getFlashMessenger()->addErrorMessage($error); } return $this->redirect()->toRoute('contract/list-spent', ['id' => $activity->getId()]); } $spents = $this->getSpentService()->getGroupedSpentsDatas($activity->getCodeEOTP()); return [ Loading module/Oscar/view/oscar/project-grant/spent-list.phtml +0 −17 Changes for module/Oscar/view/oscar/project-grant/spent-list.phtml: 0 added lines, 17 removed lines. Original line number Diff line number Diff line <style> tabel { border-collapse: collapse; } tr.total { border-top: solid 2px #a4bbbb; background: rgb(236, 243, 245); } table .cartouche { cursor: pointer; } table .cartouche:hover { background: #0b97c4; } </style> <section class="container-fluid"> <div id="depensesdetails" data-url="<?= $this->url('spent/activity-api', ['id' => $activity->getId()]) ?>" Loading Loading
module/Oscar/src/Oscar/Controller/ProjectGrantController.php +3 −0 Changes for module/Oscar/src/Oscar/Controller/ProjectGrantController.php: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2468,9 +2468,12 @@ class ProjectGrantController extends AbstractOscarController implements UseNotif $this->getOscarUserContextService()->check(Privileges::DEPENSE_SYNC, $activity); try { $msg = $this->getSpentService()->syncSpentsByEOTP($activity->getCodeEOTP()); $this->getFlashMessenger()->addSuccessMessage($msg); } catch (Exception $e) { $error = "Impossible de mettre à jour les dépenses : " . $e->getMessage(); $this->getFlashMessenger()->addErrorMessage($error); } return $this->redirect()->toRoute('contract/list-spent', ['id' => $activity->getId()]); } $spents = $this->getSpentService()->getGroupedSpentsDatas($activity->getCodeEOTP()); return [ Loading
module/Oscar/view/oscar/project-grant/spent-list.phtml +0 −17 Changes for module/Oscar/view/oscar/project-grant/spent-list.phtml: 0 added lines, 17 removed lines. Original line number Diff line number Diff line <style> tabel { border-collapse: collapse; } tr.total { border-top: solid 2px #a4bbbb; background: rgb(236, 243, 245); } table .cartouche { cursor: pointer; } table .cartouche:hover { background: #0b97c4; } </style> <section class="container-fluid"> <div id="depensesdetails" data-url="<?= $this->url('spent/activity-api', ['id' => $activity->getId()]) ?>" Loading