From 77e09b7a75a361f2c1542570818aa71b172d48aa Mon Sep 17 00:00:00 2001 From: Adam Zammit Date: Tue, 26 Sep 2017 10:45:45 +1000 Subject: [PATCH] Fixed bug: Missing overall report file --- admin/overallreport.php | 154 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 admin/overallreport.php 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 "
"; + +?> + +