comp730:Lake Group Stats

Functionality
Lake Group Stats feature will display the total number of surveys done by any individual user, the group he belongs to, and the grand total number of surveys by boat ramp for current year. For this, the lake host is not required to do any extra work; they simply log into the system, and the system will display the survey totals.

Users

 * Lake hosts
 * Local coordinators
 * Admin

Requirement
The application needed to keep track of the total number of surveys completed, by user, group, and for the total from all hosts.

MVC Structure

 * Model-lakegroupstats.php

It contains database functions and all the functions that contain database queries to pull the data from summary table.The 3 functions are:

getSurveyTotalByGroup getSurveyTotalByUser getSurveyTotal


 * Views-surveytotalview.php

It would display

surveyTotalGroup surveyTotalUser surveyTotal


 * Controller-

Using the Survey Summarry controller, since they share a page.

surveySummary