diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_time_detail.php b/agc_2-X/trunk/www/vicidial/AST_agent_time_detail.php index f0437f43..b125420b 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_time_detail.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_time_detail.php @@ -40,6 +40,7 @@ # 141204-0548 - Fix for download headers, issue #805 # 141230-0929 - Added code for on-the-fly language translations display # 150210-1356 - Added option to show time in seconds +# 150422-1643 - Added two new shift options # $startMS = microtime(); @@ -482,6 +483,16 @@ else if (strlen($time_BEGIN) < 6) {$time_BEGIN = "00:00:00";} if (strlen($time_END) < 6) {$time_END = "23:59:59";} } + if ($shift == '9AM-5PM') + { + $time_BEGIN = "09:00:00"; + $time_END = "16:59:59"; + } + if ($shift == '5PM-MIDNIGHT') + { + $time_BEGIN = "17:00:00"; + $time_END = "23:59:59"; + } $query_date_BEGIN = "$query_date $time_BEGIN"; $query_date_END = "$end_date $time_END"; @@ -1483,6 +1494,8 @@ echo "\n"; echo "\n"; echo "\n"; echo "\n"; +echo "\n"; +echo "\n"; echo "
\n"; echo ""._QXZ("Show parks-holds")."
"; echo ""._QXZ("Time in seconds")."
";