code moved to the report_summary.php
enabled the database query
updated the menu