Commit 154c289c authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Merge branch 'master' of https://git.unicaen.fr/open-source/OSE into ll-v18

parents c33fb177 c6774b4c
Loading
Loading
Loading
Loading
+2
Changes for module/Application/src/Controller/PaiementController.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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 {
−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
@@ -23,7 +23,6 @@ switch ($recherche->getEtat()) {
    break;
}
$rechercheForm->get('exporter-csv-etat')->setValue('Extraction pour tableur (CSV)');

$this->headTitle()->append($title);

?>
@@ -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')) . ' ';