- add a test for 'generate' ;
- the ExportType declare keys, and those keys are used in ExportManager;
- the export interface does not require the "has form" function, and
export form is taken into account
The controller handle form validation. Each step is now responsible for validating his own form and, if valid, redirect to next step. The last step gather data from previous step and generate a redirection to an HTTP GET query to generate the report.
The controller does not have to handle data of the form ExportType. The ExportManager now handles those data. This is supposed to limit the number of place where the form data are handled.
The participationController accept a new parameter : `persons_ids`,
which must receive a comma-separated list of person ids. A participation
will be create for all those peoples.
The `new` and `create` actions does not allow to receive both
`person_id` and `persons_ids`.
Tests are added.
ref #6
Warning : this commit require to rename some table column, but the
original Version file has been update.
If you do not care to loose your date, you may run :
```
php app/console doctrine:migrations:execute --down 20160318111334
php app/console doctrine:migrations:execute --up 20160318111334
php app/console doctrine:cache:metadata #(if you have a cache for
doctrine meta date)
```
close#20
- i18n of all the form
- add a title to each page
- chill layout of each page
- add flash message on successfully creation and update action
For the update page, (see #23), the user is not allowed to update
the center
close#23close#2