From 86426d2cd807f31d00cd00e900b00aaa4784baed Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 25 Nov 2014 17:37:07 +0000 Subject: [PATCH] Fixed issue with lead info not being updated when Max Dead time is triggered in agent interface git-svn-id: svn://192.168.202.10@2210 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/agc/vicidial.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index ee3e6071..c32fed12 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -455,10 +455,11 @@ # 141124-2217 - Fix for issue #798 # 141124-2234 - Added clear_script campaign option # 141125-0100 - Added parked_hangup code +# 141125-1235 - Fixed issue with lead info not being updated when Max Dead time is triggered # -$version = '2.10-426c'; -$build = '141125-0100'; +$version = '2.10-427c'; +$build = '141125-1235'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=80; $one_mysql_log=0; @@ -14402,6 +14403,13 @@ function phone_number_format(formatphone) { if ( (dead_max > 0) && (CheckDEADcallCOUNT > dead_max) ) { + CustomerData_update(); + if ( (per_call_notes == 'ENABLED') && (comments_dispo_screen != 'REPLACE_CALL_NOTES') ) + { + var test_notesDE = document.vicidial_form.call_notes.value; + if (test_notesDE.length > 0) + {document.vicidial_form.call_notes_dispo.value = document.vicidial_form.call_notes.value} + } dead_auto_dispo_count=4; dead_auto_dispo_finish=1; alt_phone_dialing=starting_alt_phone_dialing;