Commit 3b59dce2 authored by Florian Joriot's avatar Florian Joriot
Browse files

Merge branch 'refs/heads/b24'

parents 18d5ed45 ad34959e
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -75,13 +75,15 @@ class MissionForm extends AbstractForm
        ]);
        $this->build();

        $this->setValueOptions('typeMission', Util::collectionAsOptions($typesMissions));
        $valueOptions = ['' => '- Sélectionner un type de mission -'] + Util::collectionAsOptions($typesMissions);
        $this->setValueOptions('typeMission', $valueOptions);
        $this->get('typeMission')->setAttribute('data-tm', json_encode($tmData));

        $trDql = "SELECT mtr FROM " . TauxRemu::class . " mtr WHERE mtr.histoDestruction IS NULL";
        $this->setValueOptions('tauxRemu', $trDql);
        $this->setValueOptions('tauxRemuMajore', $trDql);
        $this->get('tauxRemuMajore')->setEmptyOption('- Aucune majoration -');
        $this->get('tauxRemu')->setEmptyOption('- Aucun -');


        $this->setLabels([
+1 −1

File changed.

Contains only whitespace changes.