Loading module/Application/src/Controller/PaiementController.php +2 Changes for module/Application/src/Controller/PaiementController.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -543,7 +543,9 @@ class PaiementController extends AbstractController 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()); if ($recherche->getPeriode() != null) { $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/view/application/paiement/etat-paiement.phtml −4 Changes for module/Application/view/application/paiement/etat-paiement.phtml: 0 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ switch ($recherche->getEtat()) { break; } $rechercheForm->get('exporter-csv-etat')->setValue('Extraction pour tableur (CSV)'); $this->headTitle()->append($title); ?> Loading Loading @@ -63,9 +62,6 @@ $this->headTitle()->append($title); if ($this->isAllowed(Privileges::getResourceId(Privileges::MISE_EN_PAIEMENT_EXPORT_CSV))) { echo $this->formRow($rechercheForm->get('exporter-csv-etat')) . ' '; } if ($this->isAllowed(Privileges::getResourceId(Privileges::MISE_EN_PAIEMENT_EXPORT_CSV))) { echo $this->formRow($rechercheForm->get('exporter-csv-imputation')) . ' '; } //Bouton export PDF mise en paiement if ($recherche->getEtat() === MiseEnPaiement::A_METTRE_EN_PAIEMENT && $this->isAllowed(Privileges::getResourceId(Privileges::MISE_EN_PAIEMENT_EXPORT_PDF))) { echo $this->formRow($rechercheForm->get('exporter-pdf')) . ' '; Loading Loading
module/Application/src/Controller/PaiementController.php +2 Changes for module/Application/src/Controller/PaiementController.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -543,7 +543,9 @@ class PaiementController extends AbstractController 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()); if ($recherche->getPeriode() != null) { $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/view/application/paiement/etat-paiement.phtml −4 Changes for module/Application/view/application/paiement/etat-paiement.phtml: 0 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ switch ($recherche->getEtat()) { break; } $rechercheForm->get('exporter-csv-etat')->setValue('Extraction pour tableur (CSV)'); $this->headTitle()->append($title); ?> Loading Loading @@ -63,9 +62,6 @@ $this->headTitle()->append($title); if ($this->isAllowed(Privileges::getResourceId(Privileges::MISE_EN_PAIEMENT_EXPORT_CSV))) { echo $this->formRow($rechercheForm->get('exporter-csv-etat')) . ' '; } if ($this->isAllowed(Privileges::getResourceId(Privileges::MISE_EN_PAIEMENT_EXPORT_CSV))) { echo $this->formRow($rechercheForm->get('exporter-csv-imputation')) . ' '; } //Bouton export PDF mise en paiement if ($recherche->getEtat() === MiseEnPaiement::A_METTRE_EN_PAIEMENT && $this->isAllowed(Privileges::getResourceId(Privileges::MISE_EN_PAIEMENT_EXPORT_PDF))) { echo $this->formRow($rechercheForm->get('exporter-pdf')) . ' '; Loading