Fixed display bug in admin.php

Added time addition for transfer lookups to VDsales export report

git-svn-id: svn://192.168.202.10@1167 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2009-06-27 12:01:12 +00:00
parent 6c925fd057
commit 451f4c199e
3 changed files with 8 additions and 2 deletions
+3
View File
@@ -102,6 +102,9 @@ NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom
27. Added no-agent-no-queueing options to In-Groups to send a call somewhere
else when there is no agent logged in(or active) to the in-group
28. Changed the agent alert extension to a filename in in-groups
+4 -1
View File
@@ -18,6 +18,7 @@
# 90105-1155 - Added AS400 export formats and changed around date override
# 90106-2309 - Added email sending
# 90620-0900 - Formatting fixes
# 90627-0757 - Added time addition when transfer recordings is enabled
#
$txt = '.txt';
@@ -775,7 +776,7 @@ sub select_format_loop
### Look for other closer calls after this call
$more_calls[0]='';
$stmtB = "select closecallid from vicidial_closer_log where lead_id='$lead_id' and call_date > '$call_date' and call_date < '$shipdate 23:59:59' order by call_date limit 10;";
$stmtB = "select closecallid,length_in_sec,queue_seconds from vicidial_closer_log where lead_id='$lead_id' and call_date > '$call_date' and call_date < '$shipdate 23:59:59' order by call_date limit 10;";
$sthB = $dbhB->prepare($stmtB) or die "preparing: ",$dbhB->errstr;
$sthB->execute or die "executing: $stmtB ", $dbhB->errstr;
$sthBrows=$sthB->rows;
@@ -784,6 +785,8 @@ sub select_format_loop
{
@aryB = $sthB->fetchrow_array;
$more_calls[$rec_countB] = "$aryB[0]";
$length_in_sec = ($length_in_sec + $aryB[1]);
$queue_seconds = ($queue_seconds + $aryB[2]);
$rec_countB++;
}
$sthB->finish();
+1 -1
View File
@@ -17615,7 +17615,7 @@ if ($ADD==3111)
{
if (strlen($no_agent_action_value) < 3)
{$no_agent_action_value = 'nbdy-avail-to-take-call|vm-goodbye';}
echo "Audio File: <input type=text name=no_agent_action_value id=no_agent_action_value size=50 maxlength=255 value=\"$no_agent_action_value\"> <a href=\"javascript:launch_chooser('no_agent_action_value','date',$choose_height);\">audio chooser</a>\n";
echo "Audio File: <input type=text name=no_agent_action_value id=no_agent_action_value size=50 maxlength=255 value=\"$no_agent_action_value\"> <a href=\"javascript:launch_chooser('no_agent_action_value','date',600);\">audio chooser</a>\n";
}
if ($no_agent_action=='EXTENSION')
{