diff --git a/admin/overallreport.php b/admin/overallreport.php new file mode 100644 index 00000000..4988ffa8 --- /dev/null +++ b/admin/overallreport.php @@ -0,0 +1,154 @@ + +$(document).ready(function() { var startDateTextBox = $('#start'); var endDateTextBox = $('#end'); + $.timepicker.datetimeRange( + startDateTextBox,endDateTextBox,{ + numberOfMonths: 2, + dateFormat: 'yy-mm-dd', + timeFormat: 'HH:mm:ss', + showSecond: false, + regional: '$locale', + hourMin: 0, + hourMax: 23, + stepMinute: 5, + hourGrid: 2, + minuteGrid: 10, + });});"; + +print "
"; + +print "
+
"; +print "
+
"; + +?> + +
+ + data-toggle="toggle" data-on="" data-off="" data-width="200" /> +
+ +"; + +print "
"; + + +//generate report +if (isset($_GET['start'])) { + + $report = get_stats_by_time($start,$end,isset($_GET['rtype'])); + + print "
"; + xhtml_table($report,array("firstName","description","completions","totalcalls","time","callt","CPH","CALLSPH","effectiveness"),array(T_("Operator"),T_("Questionnaire"),T_("Completions"),T_("Calls"),T_("Total time"),T_("Call time"),T_("Completions p/h"),T_("Calls p/h"),T_("Effectiveness")),"tclass",false,false,"bs-table"); + print "
"; + +?> + +