FINAL commit

* fix parameters in helpers/reports
* adapt sql-statement in sql
* adapt reports/edit file