diff --git a/extras/MySQL_AST_CREATE_tables.sql b/extras/MySQL_AST_CREATE_tables.sql
index ff35a85a..1a6689fd 100644
--- a/extras/MySQL_AST_CREATE_tables.sql
+++ b/extras/MySQL_AST_CREATE_tables.sql
@@ -955,7 +955,7 @@ web_form_address_three TEXT,
manual_dial_override_field ENUM('ENABLED','DISABLED') default 'ENABLED',
status_display_ingroup ENUM('ENABLED','DISABLED') default 'ENABLED',
customer_gone_seconds SMALLINT(5) UNSIGNED default '30',
-agent_display_fields VARCHAR(50) default '',
+agent_display_fields VARCHAR(100) default '',
am_message_wildcards ENUM('Y','N') default 'N',
manual_dial_timeout VARCHAR(3) default '',
routing_initiated_recordings ENUM('Y','N') default 'N',
@@ -3791,4 +3791,4 @@ UPDATE vicidial_configuration set value='1766' where name='qc_database_version';
UPDATE system_settings set vdc_agent_api_active='1';
-UPDATE system_settings SET db_schema_version='1467',db_schema_update_date=NOW(),reload_timestamp=NOW();
+UPDATE system_settings SET db_schema_version='1468',db_schema_update_date=NOW(),reload_timestamp=NOW();
diff --git a/extras/upgrade_2.12.sql b/extras/upgrade_2.12.sql
index 7b654bf3..27261b50 100644
--- a/extras/upgrade_2.12.sql
+++ b/extras/upgrade_2.12.sql
@@ -654,3 +654,7 @@ UPDATE system_settings SET db_schema_version='1466',db_schema_update_date=NOW()
ALTER TABLE vicidial_recording_access_log convert to character set utf8 collate utf8_unicode_ci;
UPDATE system_settings SET db_schema_version='1467',db_schema_update_date=NOW() where db_schema_version < 1467;
+
+ALTER TABLE vicidial_campaigns MODIFY agent_display_fields VARCHAR(100) default '';
+
+UPDATE system_settings SET db_schema_version='1468',db_schema_update_date=NOW() where db_schema_version < 1468;
diff --git a/www/agc/chat_db_query.php b/www/agc/chat_db_query.php
index 479aea7a..bdd7822e 100644
--- a/www/agc/chat_db_query.php
+++ b/www/agc/chat_db_query.php
@@ -17,7 +17,8 @@
# 160108-2300 - Changed some mysqli_query to mysql_to_mysqli for consistency
# 160303-0051 - Added code for chat transfers
# 160719-1043 - Bug fixes for non-owner chats, and other issues
-# 160818-1236 - Addec chat colors, usre nickname and scrolling
+# 160818-1236 - Added chat colors, usre nickname and scrolling
+# 160831-2225 - Agent-to-agent interface now color-coded using system settings, if desired
#
require("dbconnect_mysqli.php");
@@ -195,16 +196,40 @@ if ($action=="DisplayMgrAgentChat" && $manager_chat_id && $manager_chat_subid &&
$prev_chat_subid="";
$backlog_limit=20;
$chat_output_text="";
+
+ $chat_color_stmt="select std_row1_background, std_row2_background from system_settings s, vicidial_screen_colors v where s.agent_screen_colors=v.colors_id and length(frame_background)=6 and length(menu_background)=6 limit 1;";
+ $color_rslt=mysql_to_mysqli($chat_color_stmt, $link);
+ if(mysqli_num_rows($color_rslt)>0 && $use_agent_colors>0) {
+ $color_row=mysqli_fetch_array($color_rslt);
+ $color_array=array("#000000", "#000000");
+ $chat_background_array=array("#$color_row[std_row1_background]", "#$color_row[std_row2_background]");
+ } else {
+ $color_array=array("#0000FF", "#FF0000");
+ $chat_background_array=array("#CCCCFF", "#FFCCCC");
+ }
+
while($row=mysqli_fetch_row($rslt)) {
if (!$chat_start_date) {$chat_start_date=$row[6];}
if (!$manager) {$manager=$row[4];}
if ($backlog_limit>0) {
+
# Current agent is always the blue text
- if ($row[0]!=$user) {$fc="#990000";} else {$fc="#000099";}
- $chat_output_text="$row[1]
".$chat_output_text;
+ # if ($row[0]!=$user) {$fc="#990000";} else {$fc="#000099";}
+ if ($row[0]!=$user) {
+ $chat_color_key=1;
+ } else {
+ $chat_color_key=0;
+ }
+ $chat_output_text="
| $row[1] |
".$chat_output_text;
+
+
+ # $chat_output_text="$row[1]
".$chat_output_text;
$backlog_limit--;
}
}
+ $chat_output_text="".$chat_output_text;
+
+ $chat_output_text.="
";
$reply_stmt="select allow_replies from vicidial_manager_chats where manager_chat_id='$manager_chat_id'";
$reply_rslt=mysql_to_mysqli($reply_stmt, $link);
@@ -609,38 +634,6 @@ if ($action=="xfer_chat" && $user && $chat_id && $chat_xfer_value && $chat_xfer_
echo "";
echo "|"; // DO NOT ECHO TOGGLE DIAL CONTROL HERE. WE DO NOT WANT THE AGENT'S PAUSE BUTTON REACTIVATED YET.
}
-/*
-vicidial_live_chats
-+---------+---------------------+--------+--------------+----------+---------+
-| chat_id | chat_start_time | status | chat_creator | group_id | lead_id |
-+---------+---------------------+--------+--------------+----------+---------+
-| 516 | 2015-12-18 12:04:54 | LIVE | 6666 | MIKECHAT | 1079414 |
-| 517 | 2015-12-18 12:13:48 | LIVE | 6666 | MIKECHAT | 1079414 |
-| 510 | 2015-12-18 09:23:09 | LIVE | 6666 | MIKECHAT | 1079414 |
-+---------+---------------------+--------+--------------+----------+---------+
-
-vicidial_chat_participants
-+---------------------+-----------------+------+-----+---------+----------------+
-| Field | Type | Null | Key | Default | Extra |
-+---------------------+-----------------+------+-----+---------+----------------+
-| chat_participant_id | int(9) unsigned | NO | PRI | NULL | auto_increment |
-| chat_id | int(9) unsigned | YES | MUL | NULL | |
-| chat_member | varchar(20) | YES | | NULL | |
-| chat_member_name | varchar(100) | YES | | NULL | |
-| ping_date | datetime | YES | | NULL | |
-| vd_agent | enum('Y','N') | YES | | N | |
-+---------------------+-----------------+------+-----+---------+----------------+
-
-vicidial_chat_log
-+----------------+---------+----------------------------+---------------------+--------+------------------+------------+
-| message_row_id | chat_id | message | message_time | poster | chat_member_name | chat_level |
-+----------------+---------+----------------------------+---------------------+--------+------------------+------------+
-| 530 | 517 | Harold Smith has left chat | 2015-12-18 12:19:53 | 6666 | Admin | 1 |
-| 529 | 516 | Harold Smith has left chat | 2015-12-18 12:06:09 | 6666 | Admin | 1 |
-| 513 | 510 | Harold Smith has left chat | 2015-12-18 09:26:17 | 6666 | Admin | 1 |
-+----------------+---------+----------------------------+---------------------+--------+------------------+------------+
-
-*/
}
@@ -703,7 +696,7 @@ if ($action=="update_agent_chat_window" && $chat_id) {
$chat_color_stmt="select menu_background, frame_background, std_row1_background, std_row2_background, std_row3_background, std_row4_background, std_row5_background from system_settings s, vicidial_screen_colors v where s.agent_screen_colors=v.colors_id and length(frame_background)=6 and length(menu_background)=6 limit 1;";
$color_rslt=mysql_to_mysqli($chat_color_stmt, $link);
- if(mysqli_num_rows($color_rslt)>0 && $use_system_colors>0) {
+ if(mysqli_num_rows($color_rslt)>0 && $use_agent_colors>0) {
$color_row=mysqli_fetch_array($color_rslt);
$color_array=array("#000000", "#000000", "#000000", "#000000", "#000000", "#000000", "#000000");
$chat_background_array=array("#$color_row[std_row1_background]", "#$color_row[std_row2_background]", "#$color_row[std_row3_background]", "#$color_row[std_row4_background]", "#$color_row[std_row5_background]", "#$color_row[frame_background]", "#$color_row[menu_background]");
diff --git a/www/agc/dispo_move_list.php b/www/agc/dispo_move_list.php
index 3c965810..a31dd57f 100644
--- a/www/agc/dispo_move_list.php
+++ b/www/agc/dispo_move_list.php
@@ -33,6 +33,8 @@
# - called_count_trigger - (1,2,3,...) if set to number greater than 0, will only trigger for called_count at or above set number, default is 0
# - new_list_id - (999,etc...) the list_id that you want the matching status leads to be moved to
# - reset_dialed - (Y,N) if set to Y, will reset the called_since_last_reset flag on the lead
+# - populate_sp_old_list - (Y,N) if set to Y, will populate the security_phrase field of the lead with the old list_id
+# - populate_comm_old_date - (Y,N) if set to Y, will populate the comments field of the lead with the date and time when the lead was last called
# Multiple sets of statuses:
# - sale_status_1, new_list_id_1, reset_dialed_1, exclude_status_1, called_count_trigger_1 - adding an underscore and number(1-99) will allow for another set of statuses to check for and what to do with them
#
@@ -50,6 +52,7 @@
# 150703-1453 - Added options so it would work with No-Agent Call URL
# 160309-1239 - Added talk_time_trigger and exclude_status options
# 160801-1032 - Added called_count_trigger options
+# 160910-1354 - Added populate_... options
#
$api_script = 'movelist';
@@ -95,6 +98,10 @@ if (isset($_GET["DB"])) {$DB=$_GET["DB"];}
elseif (isset($_POST["DB"])) {$DB=$_POST["DB"];}
if (isset($_GET["log_to_file"])) {$log_to_file=$_GET["log_to_file"];}
elseif (isset($_POST["log_to_file"])) {$log_to_file=$_POST["log_to_file"];}
+if (isset($_GET["populate_sp_old_list"])) {$populate_sp_old_list=$_GET["populate_sp_old_list"];}
+ elseif (isset($_POST["populate_sp_old_list"])) {$populate_sp_old_list=$_POST["populate_sp_old_list"];}
+if (isset($_GET["populate_comm_old_date"])) {$populate_comm_old_date=$_GET["populate_comm_old_date"];}
+ elseif (isset($_POST["populate_comm_old_date"])) {$populate_comm_old_date=$_POST["populate_comm_old_date"];}
#$DB = '1'; # DEBUG override
@@ -282,9 +289,28 @@ if ($match_found > 0)
if ($search_count > 0)
{
+ $field_editSQL='';
$reset_dialedSQL='';
+ if ( ($populate_sp_old_list=='Y') or ($populate_comm_old_date=='Y') )
+ {
+ $stmtA = "SELECT list_id,last_local_call_time,comments FROM vicidial_list where lead_id='$lead_id';";
+ $rslt=mysql_to_mysqli($stmtA, $link);
+ if ($DB) {echo "$stmtA\n";}
+ $vle_ct = mysqli_num_rows($rslt);
+ if ($vle_ct > 0)
+ {
+ $row=mysqli_fetch_row($rslt);
+ $old_list_id = ",security_phrase='$row[0]'";
+ $old_call_time = ",comments='$row[1]'";
+ if ($populate_sp_old_list=='Y')
+ {$field_editSQL .= "$old_list_id";}
+ if ($populate_comm_old_date=='Y')
+ {$field_editSQL .= "$old_call_time";}
+ }
+ }
+
if ($reset_dialed=='Y') {$reset_dialedSQL=", called_since_last_reset='N'";}
- $stmt="UPDATE vicidial_list SET list_id='$new_list_id' $reset_dialedSQL where lead_id='$lead_id' limit 1;";
+ $stmt="UPDATE vicidial_list SET list_id='$new_list_id' $reset_dialedSQL $field_editSQL where lead_id='$lead_id' limit 1;";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_to_mysqli($stmt, $link);
$affected_rows = mysqli_affected_rows($link);
diff --git a/www/agc/options-example.php b/www/agc/options-example.php
index 09273439..bfbf8e1b 100644
--- a/www/agc/options-example.php
+++ b/www/agc/options-example.php
@@ -12,6 +12,7 @@
# 131007-1346 - Added mrglock_ig_select_ct
# 131121-1719 - Fixed defaults mismatched, HKuser_level and FORM_COLOR
# 160619-1010 - Added link_to_grey_version option
+# 160910-1317 - Added use_agent_colors option
#
$conf_silent_prefix = '5'; # vicidial_conferences prefix to enter silently and muted for recording
@@ -47,6 +48,7 @@ $focus_blur_enabled = '0'; # set to 1 to enable the focus/blur enter key blocki
$consult_custom_delay = '2'; # number of seconds to delay consultative transfers when custom fields are active
$mrglock_ig_select_ct = '4'; # number of seconds to leave in-group select screen open if agent select is disabled
$link_to_grey_version = '1'; # show link to old grey version of agent screen at login screen, next to timeclock link
+$use_agent_colors = '1'; # agent chat colors
$TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen
diff --git a/www/agc/vdc_db_query.php b/www/agc/vdc_db_query.php
index d5ee3012..9abb170b 100644
--- a/www/agc/vdc_db_query.php
+++ b/www/agc/vdc_db_query.php
@@ -409,10 +409,11 @@
# 160706-1437 - Added font styles to text in many places
# 160714-1503 - Added called_count as a dispo_call_url variable
# 160801-0717 - Added lists option to ALT dispo call url functions
+# 160901-1714 - Added last_local_call_time sent to agent screen with lead info
#
-$version = '2.12-303';
-$build = '160801-0717';
+$version = '2.12-304';
+$build = '160901-1714';
$php_script = 'vdc_db_query.php';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=654;
@@ -3433,6 +3434,7 @@ if ($ACTION == 'manDiaLnextCaLL')
$security_phrase = trim("$row[28]");
$comments = stripslashes(trim("$row[29]"));
$called_count = trim("$row[30]");
+ $call_date = trim("$row[31]");
$rank = trim("$row[32]");
$owner = trim("$row[33]");
$entry_list_id = trim("$row[34]");
@@ -4288,6 +4290,7 @@ if ($ACTION == 'manDiaLnextCaLL')
$LeaD_InfO .= $list_description . "\n";
$LeaD_InfO .= $entry_date . "\n";
$LeaD_InfO .= $status_group_gather_data . "\n";
+ $LeaD_InfO .= $call_date . "\n";
echo $LeaD_InfO;
}
@@ -6716,6 +6719,7 @@ if ($ACTION == 'VDADcheckINCOMING')
$security_phrase = trim("$row[28]");
$comments = stripslashes(trim("$row[29]"));
$called_count = trim("$row[30]");
+ $call_date = trim("$row[31]");
$rank = trim("$row[32]");
$owner = trim("$row[33]");
$entry_list_id = trim("$row[34]");
@@ -7531,6 +7535,7 @@ if ($ACTION == 'VDADcheckINCOMING')
$LeaD_InfO .= $DID_custom_four . "\n";
$LeaD_InfO .= $DID_custom_five . "\n";
$LeaD_InfO .= $status_group_gather_data . "\n";
+ $LeaD_InfO .= $call_date . "\n";
echo $LeaD_InfO;
@@ -8182,6 +8187,7 @@ if ($ACTION == 'VDADcheckINCOMINGother')
$security_phrase = trim("$row[28]");
$comments = stripslashes(trim("$row[29]"));
$called_count = trim("$row[30]");
+ $call_date = trim("$row[31]");
$rank = trim("$row[32]");
$owner = trim("$row[33]");
$entry_list_id = trim("$row[34]");
@@ -8304,6 +8310,7 @@ if ($ACTION == 'VDADcheckINCOMINGother')
$security_phrase = trim("$row[28]");
$comments = stripslashes(trim("$row[29]"));
$called_count = trim("$row[30]");
+ $call_date = trim("$row[31]");
$rank = trim("$row[32]");
$owner = trim("$row[33]");
$entry_list_id = trim("$row[34]");
@@ -8760,6 +8767,7 @@ if ($ACTION == 'VDADcheckINCOMINGother')
$LeaD_InfO .= $DID_custom_four . "\n";
$LeaD_InfO .= $DID_custom_five . "\n";
$LeaD_InfO .= $status_group_gather_data . "\n";
+ $LeaD_InfO .= $call_date . "\n";
echo $LeaD_InfO;
@@ -9296,6 +9304,7 @@ if ($ACTION == 'LeaDSearcHSelecTUpdatE')
$security_phrase = trim("$row[28]");
$comments = stripslashes(trim("$row[29]"));
$called_count = trim("$row[30]");
+ $call_date = trim("$row[31]");
$rank = trim("$row[32]");
$owner = trim("$row[33]");
$entry_list_id = trim("$row[34]");
@@ -9856,6 +9865,7 @@ if ($ACTION == 'LeaDSearcHSelecTUpdatE')
$LeaD_InfO .= $DID_custom_four . "\n";
$LeaD_InfO .= $DID_custom_five . "\n";
$LeaD_InfO .= $status_group_gather_data . "\n";
+ $LeaD_InfO .= $call_date . "\n";
echo $LeaD_InfO;
@@ -11339,6 +11349,7 @@ if ($ACTION == 'updateDISPO')
$security_phrase = urlencode(trim($row[28]));
$comments = urlencode(trim($row[29]));
$called_count = urlencode(trim($row[30]));
+ $call_date = urlencode(trim($row[31]));
$rank = urlencode(trim($row[32]));
$owner = urlencode(trim($row[33]));
$entry_list_id = urlencode(trim($row[34]));
diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php
index 81ab9802..a9f300ed 100644
--- a/www/agc/vicidial.php
+++ b/www/agc/vicidial.php
@@ -525,10 +525,11 @@
# 160428-1826 - Fixed user_authorization bug
# 160706-1438 - Redesign for loading, login and logout screens. Added Screen Colors. Logging of browser width/height
# 160731-1102 - Added option to automatically dial the next number after X seconds in a manual dial mode
+# 160901-1728 - Added last_local_call_time display field
#
-$version = '2.12-494c';
-$build = '160731-1102';
+$version = '2.12-495c';
+$build = '160901-1728';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=87;
$one_mysql_log=0;
@@ -3866,6 +3867,7 @@ $CCAL_OUT .= "";
VARpreset_hide_numbers = new Array();
var VD_preset_names_ct = '';
var status_group_statuses_data = '';
+ var last_call_date = '';
VARstatuses = new Array();
VARstatusnames = new Array();
VARSELstatuses = new Array();
@@ -4187,6 +4189,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
var adfREGdate_of_birth = new RegExp("date_of_birth","g");
var adfREGrank = new RegExp("rank","g");
var adfREGowner = new RegExp("owner","g");
+ var adfREGlast_local_call_time = new RegExp("last_local_call_time","g");
var DispO3waychannel = '';
var DispO3wayXtrAchannel = '';
var DispO3wayCalLserverip = '';
@@ -7423,6 +7426,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
did_custom_four = change_array[63];
did_custom_five = change_array[64];
status_group_statuses_data = change_array[65];
+ last_call_date = change_array[66];
// build statuses list for disposition screen
VARstatuses = [];
@@ -7541,6 +7545,8 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
{document.getElementById("rankDISP").innerHTML = document.vicidial_form.rank.value;}
if (agent_display_fields.match(adfREGowner))
{document.getElementById("ownerDISP").innerHTML = document.vicidial_form.owner.value;}
+ if (agent_display_fields.match(adfREGlast_local_call_time))
+ {document.getElementById("last_local_call_timeDISP").innerHTML = last_call_date;}
if (hide_gender > 0)
{
@@ -8734,6 +8740,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
document.vicidial_form.list_description.value = MDnextResponse_array[56];
entry_date = MDnextResponse_array[57];
status_group_statuses_data = MDnextResponse_array[58];
+ last_call_date = MDnextResponse_array[59];
// build statuses list for disposition screen
VARstatuses = [];
@@ -8856,6 +8863,8 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
{document.getElementById("rankDISP").innerHTML = document.vicidial_form.rank.value;}
if (agent_display_fields.match(adfREGowner))
{document.getElementById("ownerDISP").innerHTML = document.vicidial_form.owner.value;}
+ if (agent_display_fields.match(adfREGlast_local_call_time))
+ {document.getElementById("last_local_call_timeDISP").innerHTML = last_call_date;}
timer_action = campaign_timer_action;
timer_action_message = campaign_timer_action_message;
@@ -9205,6 +9214,8 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
{document.getElementById("rankDISP").innerHTML = ' ';}
if (agent_display_fields.match(adfREGowner))
{document.getElementById("ownerDISP").innerHTML = ' ';}
+ if (agent_display_fields.match(adfREGlast_local_call_time))
+ {document.getElementById("last_local_call_timeDISP").innerHTML = ' ';}
if (post_phone_time_diff_alert_message.length > 10)
{
@@ -9237,6 +9248,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
xfer_agent_selected=0;
RefresHScript('CLEAR');
ViewComments('OFF','OFF');
+ last_call_date='';
// document.getElementById('vcFormIFrame').src='./vdc_form_display.php?lead_id=&list_id=&stage=WELCOME';
}
}
@@ -10000,6 +10012,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
did_custom_four = check_VDIC_array[63];
did_custom_five = check_VDIC_array[64];
status_group_statuses_data = check_VDIC_array[65];
+ last_call_date = check_VDIC_array[66];
// build statuses list for disposition screen
VARstatuses = [];
@@ -10118,6 +10131,8 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
{document.getElementById("rankDISP").innerHTML = document.vicidial_form.rank.value;}
if (agent_display_fields.match(adfREGowner))
{document.getElementById("ownerDISP").innerHTML = document.vicidial_form.owner.value;}
+ if (agent_display_fields.match(adfREGlast_local_call_time))
+ {document.getElementById("last_local_call_timeDISP").innerHTML = last_call_date;}
if (CalL_ScripT_color.length > 1)
{document.getElementById("ScriptContents").style.backgroundColor = CalL_ScripT_color;}
@@ -10730,6 +10745,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
did_custom_four = check_VDIC_array[59];
did_custom_five = check_VDIC_array[60];
status_group_statuses_data = check_VDIC_array[61];
+ last_call_date = check_VDIC_array[62];
// build statuses list for disposition screen
VARstatuses = [];
@@ -10848,6 +10864,8 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
{document.getElementById("rankDISP").innerHTML = document.vicidial_form.rank.value;}
if (agent_display_fields.match(adfREGowner))
{document.getElementById("ownerDISP").innerHTML = document.vicidial_form.owner.value;}
+ if (agent_display_fields.match(adfREGlast_local_call_time))
+ {document.getElementById("last_local_call_timeDISP").innerHTML = last_call_date;}
if (hide_gender > 0)
{
@@ -12632,6 +12650,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
xfer_agent_selected=0;
source_id='';
entry_date='';
+ last_call_date='';
if (manual_auto_next > 0)
{manual_auto_next_trigger=1; manual_auto_next_count=manual_auto_next;}
if (agent_display_fields.match(adfREGentry_date))
@@ -12644,6 +12663,8 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
{document.getElementById("rankDISP").innerHTML = ' ';}
if (agent_display_fields.match(adfREGowner))
{document.getElementById("ownerDISP").innerHTML = ' ';}
+ if (agent_display_fields.match(adfREGlast_local_call_time))
+ {document.getElementById("last_local_call_timeDISP").innerHTML = ' ';}
if ( (manual_dial_search_checkbox == 'SELECTED_RESET') || (manual_dial_search_checkbox == 'SELECTED_LOCK') )
{document.vicidial_form.LeadLookuP.checked=true;}
@@ -17593,6 +17614,10 @@ $zi=2;
{
echo _QXZ("Owner").": ";
}
+ if (preg_match("/last_local_call_time/",$agent_display_fields))
+ {
+ echo _QXZ("Last Call").": ";
+ }
}
echo "";
diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php
index 7c52ea6d..c0f039af 100644
--- a/www/vicidial/admin.php
+++ b/www/vicidial/admin.php
@@ -21082,7 +21082,7 @@ if ($ADD==31)
echo "| "._QXZ("Status Display In-Group").": | $NWB#campaigns-status_display_ingroup$NWE | \n";
- echo "| "._QXZ("Agent Display Fields").": | $NWB#campaigns-agent_display_fields$NWE | \n";
+ echo "| "._QXZ("Agent Display Fields").": | $NWB#campaigns-agent_display_fields$NWE | \n";
echo "| "._QXZ("Agent Display Queue Count").": | $NWB#campaigns-display_queue_count$NWE | \n";
diff --git a/www/vicidial/help.php b/www/vicidial/help.php
index a4723489..3ada33a3 100644
--- a/www/vicidial/help.php
+++ b/www/vicidial/help.php
@@ -1648,7 +1648,7 @@ if ($SSoutbound_autodial_active > 0)
- -
+ -
|