Conditions | 1 |
Paths | 1 |
Total Lines | 24 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function __construct(\ValidatorInterface $validator, $baseObject) |
||
19 | { |
||
20 | parent::__construct('flight_form', FormInterface::METHOD_POST, []); |
||
21 | |||
22 | $this->setValidator($validator) |
||
23 | ->bind($baseObject); |
||
24 | |||
25 | $this |
||
26 | ->add(new Hidden('idBBC_vols')) |
||
27 | ->add(new Input('lieuD')) |
||
28 | ->add(new Input('lieuA')) |
||
29 | ->add(new Select('BBC_ballons_idBBC_ballons')) |
||
30 | ->add(new Number('nbrPax')) |
||
31 | ->add(new InputTextarea('remarque')) |
||
32 | ->add(new InputTextarea('incidents')) |
||
33 | ->add(new InputTextarea('passengerNames')) |
||
34 | ->add(new Select('fk_type')) |
||
35 | ->add(new Select('fk_pilot')) |
||
36 | ->add(new Select('fk_organisateur')) |
||
37 | ->add(new Number('kilometers')) |
||
38 | ->add(new Number('cost')) |
||
39 | ->add(new Select('fk_receiver')) |
||
40 | ->add(new InputTextarea('justif_kilometers')); |
||
41 | } |
||
42 | } |