query update for managementReport.php
Merge branch 'master' of https://github.com/alwinc/DynamicMotion