Loading data/ddl/view/V_IMPUTATION_BUDGETAIRE_SIHAM.sql +2 −3 Changes for data/ddl/view/V_IMPUTATION_BUDGETAIRE_SIHAM.sql: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -34,9 +34,8 @@ CREATE OR REPLACE FORCE VIEW V_IMPUTATION_BUDGETAIRE_SIHAM AS domaine_fonctionnel_code, hetd, hetd_montant, rem_fc_d714 rem_fc_d714, type_intervenant_id FROM ( SELECT Loading module/Application/config/paiement.config.php +1 −1 Changes for module/Application/config/paiement.config.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ return [ 'route' => '/imputation-siham', 'defaults' => [ 'action' => 'imputationSiham', 'etat' => Entity\Db\MiseEnPaiement::IMPUTATION_BUDGETAIRE, 'etat' => Entity\Db\MiseEnPaiement::MIS_EN_PAIEMENT, ], ], Loading module/Application/src/Controller/PaiementController.php +1 −4 Changes for module/Application/src/Controller/PaiementController.php: 1 added line, 4 removed lines. Original line number Diff line number Diff line Loading @@ -407,8 +407,6 @@ class PaiementController extends AbstractController { if ($recherche->getEtat() == MiseEnPaiement::A_METTRE_EN_PAIEMENT) { $filename = 'demande_mise_en_paiement'; } elseif ($recherche->getEtat() == 'imputation-budgetaire') { $filename = 'imputation-budgetaire'; } else { $filename = 'etat_paiement'; } Loading Loading @@ -530,10 +528,9 @@ class PaiementController extends AbstractController $etatSortie = $this->getServiceEtatSortie()->getRepo()->findOneBy(['code' => 'imputation-budgetaire']); //creation d'un privilege specifique aux imputations budgétaire if ($this->params()->fromPost('exporter-csv-imputation') !== null && $this->isAllowed(Privileges::getResourceId(Privileges::MISE_EN_PAIEMENT_EXPORT_CSV))) { $csvModel = $this->getServiceEtatSortie()->genererCsv($etatSortie, $recherche->getFilters()); $csvModel->setFilename($this->makeFilenameFromRecherche($recherche) . '.csv'); $csvModel->setFilename(str_replace(' ', '_', 'imputation_siham_' . strtolower($recherche->getPeriode()->getLibelleAnnuel($recherche->getAnnee())) . '_' . strtolower(($recherche->getTypeIntervenant()) ? $recherche->getTypeIntervenant()->getLibelle() : 'vactaire_et_permanent') . '.csv')); return $csvModel; } else { Loading module/Application/src/Entity/Db/MiseEnPaiement.php −1 Changes for module/Application/src/Entity/Db/MiseEnPaiement.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ class MiseEnPaiement implements HistoriqueAwareInterface, ResourceInterface const A_METTRE_EN_PAIEMENT = 'a-mettre-en-paiement'; const MIS_EN_PAIEMENT = 'mis-en-paiement'; const IMPUTATION_BUDGETAIRE = 'imputation-budgetaire'; /** * @var \DateTime Loading module/Application/src/Entity/Paiement/MiseEnPaiementRecherche.php +7 −2 Changes for module/Application/src/Entity/Paiement/MiseEnPaiementRecherche.php: 7 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -36,7 +36,6 @@ class MiseEnPaiementRecherche /** * * @return string Loading @@ -46,16 +45,21 @@ class MiseEnPaiementRecherche return $this->etat; } function setEtat($etat) { if ($etat === null || $etat === MiseEnPaiement::A_METTRE_EN_PAIEMENT || $etat === MiseEnPaiement::MIS_EN_PAIEMENT){ if ($etat === null || $etat === MiseEnPaiement::A_METTRE_EN_PAIEMENT || $etat === MiseEnPaiement::MIS_EN_PAIEMENT || $etat === MiseEnPaiement::IMPUTATION_BUDGETAIRE) { $this->etat = $etat; } else { throw new \LogicException('L\'état de mise en paiement "' . $etat . '" est invalide.'); } return $this; } /** * * @return Intervenant[] Loading @@ -66,6 +70,7 @@ class MiseEnPaiementRecherche $this->intervenants = new Collection; $this->intervenants->initEntityClass(Intervenant::class); } return $this->intervenants; } Loading Loading
data/ddl/view/V_IMPUTATION_BUDGETAIRE_SIHAM.sql +2 −3 Changes for data/ddl/view/V_IMPUTATION_BUDGETAIRE_SIHAM.sql: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -34,9 +34,8 @@ CREATE OR REPLACE FORCE VIEW V_IMPUTATION_BUDGETAIRE_SIHAM AS domaine_fonctionnel_code, hetd, hetd_montant, rem_fc_d714 rem_fc_d714, type_intervenant_id FROM ( SELECT Loading
module/Application/config/paiement.config.php +1 −1 Changes for module/Application/config/paiement.config.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ return [ 'route' => '/imputation-siham', 'defaults' => [ 'action' => 'imputationSiham', 'etat' => Entity\Db\MiseEnPaiement::IMPUTATION_BUDGETAIRE, 'etat' => Entity\Db\MiseEnPaiement::MIS_EN_PAIEMENT, ], ], Loading
module/Application/src/Controller/PaiementController.php +1 −4 Changes for module/Application/src/Controller/PaiementController.php: 1 added line, 4 removed lines. Original line number Diff line number Diff line Loading @@ -407,8 +407,6 @@ class PaiementController extends AbstractController { if ($recherche->getEtat() == MiseEnPaiement::A_METTRE_EN_PAIEMENT) { $filename = 'demande_mise_en_paiement'; } elseif ($recherche->getEtat() == 'imputation-budgetaire') { $filename = 'imputation-budgetaire'; } else { $filename = 'etat_paiement'; } Loading Loading @@ -530,10 +528,9 @@ class PaiementController extends AbstractController $etatSortie = $this->getServiceEtatSortie()->getRepo()->findOneBy(['code' => 'imputation-budgetaire']); //creation d'un privilege specifique aux imputations budgétaire if ($this->params()->fromPost('exporter-csv-imputation') !== null && $this->isAllowed(Privileges::getResourceId(Privileges::MISE_EN_PAIEMENT_EXPORT_CSV))) { $csvModel = $this->getServiceEtatSortie()->genererCsv($etatSortie, $recherche->getFilters()); $csvModel->setFilename($this->makeFilenameFromRecherche($recherche) . '.csv'); $csvModel->setFilename(str_replace(' ', '_', 'imputation_siham_' . strtolower($recherche->getPeriode()->getLibelleAnnuel($recherche->getAnnee())) . '_' . strtolower(($recherche->getTypeIntervenant()) ? $recherche->getTypeIntervenant()->getLibelle() : 'vactaire_et_permanent') . '.csv')); return $csvModel; } else { Loading
module/Application/src/Entity/Db/MiseEnPaiement.php −1 Changes for module/Application/src/Entity/Db/MiseEnPaiement.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ class MiseEnPaiement implements HistoriqueAwareInterface, ResourceInterface const A_METTRE_EN_PAIEMENT = 'a-mettre-en-paiement'; const MIS_EN_PAIEMENT = 'mis-en-paiement'; const IMPUTATION_BUDGETAIRE = 'imputation-budgetaire'; /** * @var \DateTime Loading
module/Application/src/Entity/Paiement/MiseEnPaiementRecherche.php +7 −2 Changes for module/Application/src/Entity/Paiement/MiseEnPaiementRecherche.php: 7 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -36,7 +36,6 @@ class MiseEnPaiementRecherche /** * * @return string Loading @@ -46,16 +45,21 @@ class MiseEnPaiementRecherche return $this->etat; } function setEtat($etat) { if ($etat === null || $etat === MiseEnPaiement::A_METTRE_EN_PAIEMENT || $etat === MiseEnPaiement::MIS_EN_PAIEMENT){ if ($etat === null || $etat === MiseEnPaiement::A_METTRE_EN_PAIEMENT || $etat === MiseEnPaiement::MIS_EN_PAIEMENT || $etat === MiseEnPaiement::IMPUTATION_BUDGETAIRE) { $this->etat = $etat; } else { throw new \LogicException('L\'état de mise en paiement "' . $etat . '" est invalide.'); } return $this; } /** * * @return Intervenant[] Loading @@ -66,6 +70,7 @@ class MiseEnPaiementRecherche $this->intervenants = new Collection; $this->intervenants->initEntityClass(Intervenant::class); } return $this->intervenants; } Loading