Changed user and fullname to use non-truncated for output file for agent performance detail report
git-svn-id: svn://192.168.202.10@1737 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -732,9 +732,9 @@ OTHER CHANGES:
|
||||
Previously you had to use a filter to achieve this functionality.
|
||||
|
||||
167. Added new Complete flag for statuses and campaign statuses. Used by the
|
||||
new colums mentioned below as well as for future reports.
|
||||
new columns mentioned below as well as for future reports.
|
||||
|
||||
168. Added Dialable and Penetration colums to the Statuses Within This List/
|
||||
168. Added Dialable and Penetration columns to the Statuses Within This List/
|
||||
Campaign tables on the list and campaign screens, showing the DIALABLE
|
||||
count for each status as well as the complete-flag and call-count-limit
|
||||
percentage as PENETRATION.
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
# 100802-2347 - Added User Group Allowed Reports option validation and allowed campaigns restrictions
|
||||
# 100914-1326 - Added lookup for user_level 7 users to set to reports only which will remove other admin links
|
||||
# 110703-1739 - Added file download option
|
||||
# 111007-0709 - Changed user and fullname to use non-truncated for output file
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -529,6 +530,8 @@ while ($m < $k)
|
||||
$RAWuser = $Suser;
|
||||
$RAWcalls = $Scalls;
|
||||
$Scalls = sprintf("%6s", $Scalls);
|
||||
$Sfull_nameRAW = $Sfull_name;
|
||||
$SuserRAW = $Suser;
|
||||
|
||||
if ($non_latin < 1)
|
||||
{
|
||||
@@ -577,8 +580,8 @@ while ($m < $k)
|
||||
$Toutput = "| $Sfull_name | <a href=\"./user_stats.php?user=$RAWuser\">$Suser</a> | $Scalls | $pfUSERtime_MS | $pfUSERtotPAUSE_MS | $pfUSERavgPAUSE_MS | $pfUSERtotWAIT_MS | $pfUSERavgWAIT_MS | $pfUSERtotTALK_MS | $pfUSERavgTALK_MS | $pfUSERtotDISPO_MS | $pfUSERavgDISPO_MS | $pfUSERtotDEAD_MS | $pfUSERavgDEAD_MS | $pfUSERtotCUSTOMER_MS | $pfUSERavgCUSTOMER_MS |$SstatusesHTML\n";
|
||||
|
||||
|
||||
$CSV_lines.="\"$Sfull_name\",";
|
||||
$CSV_lines.=eregi_replace(" ", "", "\"$Suser\",\"$Scalls\",\"$pfUSERtime_MS\",\"$pfUSERtotPAUSE_MS\",\"$pfUSERavgPAUSE_MS\",\"$pfUSERtotWAIT_MS\",\"$pfUSERavgWAIT_MS\",\"$pfUSERtotTALK_MS\",\"$pfUSERavgTALK_MS\",\"$pfUSERtotDISPO_MS\",\"$pfUSERavgDISPO_MS\",\"$pfUSERtotDEAD_MS\",\"$pfUSERavgDEAD_MS\",\"$pfUSERtotCUSTOMER_MS\",\"$pfUSERavgCUSTOMER_MS\"$CSVstatuses\n");
|
||||
$CSV_lines.="\"$Sfull_nameRAW\",";
|
||||
$CSV_lines.=eregi_replace(" ", "", "\"$SuserRAW\",\"$Scalls\",\"$pfUSERtime_MS\",\"$pfUSERtotPAUSE_MS\",\"$pfUSERavgPAUSE_MS\",\"$pfUSERtotWAIT_MS\",\"$pfUSERavgWAIT_MS\",\"$pfUSERtotTALK_MS\",\"$pfUSERavgTALK_MS\",\"$pfUSERtotDISPO_MS\",\"$pfUSERavgDISPO_MS\",\"$pfUSERtotDEAD_MS\",\"$pfUSERavgDEAD_MS\",\"$pfUSERtotCUSTOMER_MS\",\"$pfUSERavgCUSTOMER_MS\"$CSVstatuses\n");
|
||||
|
||||
$TOPsorted_output[$m] = $Toutput;
|
||||
|
||||
@@ -881,6 +884,8 @@ while ($m < $k)
|
||||
}
|
||||
### END loop through each status ###
|
||||
$TOTtotPAUSE=($TOTtotPAUSE + $Spause_sec);
|
||||
$Sfull_nameRAW = $Sfull_name;
|
||||
$SuserRAW = $Suser;
|
||||
|
||||
if ($non_latin < 1)
|
||||
{
|
||||
@@ -913,7 +918,7 @@ while ($m < $k)
|
||||
$BOTTOMsorted_output[$m] = $BOTTOMoutput;
|
||||
|
||||
$HTML_text.="$BOTTOMoutput";
|
||||
$CSV_lines.="\"$Sfull_name\"".eregi_replace(" ", "", ",\"$Suser\",\"$pfUSERtotTOTAL_MS\",\"$pfUSERtotNONPAUSE_MS\",\"$pfUSERtotPAUSE_MS\",$CSV_statuses\n");
|
||||
$CSV_lines.="\"$Sfull_nameRAW\"".eregi_replace(" ", "", ",\"$SuserRAW\",\"$pfUSERtotTOTAL_MS\",\"$pfUSERtotNONPAUSE_MS\",\"$pfUSERtotPAUSE_MS\",$CSV_statuses\n");
|
||||
$m++;
|
||||
}
|
||||
### END loop through each user ###
|
||||
|
||||
Reference in New Issue
Block a user