diff --git a/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql b/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql index 0f28a261..0fa39abc 100644 --- a/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql +++ b/agc_2-X/trunk/extras/MySQL_AST_CREATE_tables.sql @@ -816,7 +816,7 @@ safe_harbor_menu_id VARCHAR(50) default '', survey_menu_id VARCHAR(50) default '', callback_days_limit SMALLINT(3) default '0', dl_diff_target_method ENUM('ADAPT_CALC_ONLY','CALLS_PLACED') default 'ADAPT_CALC_ONLY', -disable_dispo_screen ENUM('DISPO_ENABLED','DISPO_DISABLED') default 'DISPO_ENABLED', +disable_dispo_screen ENUM('DISPO_ENABLED','DISPO_DISABLED','DISPO_SELECT_DISABLED') default 'DISPO_ENABLED', disable_dispo_status VARCHAR(6) default '', screen_labels VARCHAR(20) default '--SYSTEM-SETTINGS--', status_display_fields VARCHAR(30) default 'CALLID' @@ -2558,7 +2558,7 @@ ALTER TABLE vicidial_closer_log_archive MODIFY closecallid INT(9) UNSIGNED NOT N CREATE TABLE vicidial_outbound_ivr_log_archive LIKE vicidial_outbound_ivr_log; -UPDATE system_settings SET db_schema_version='1289',db_schema_update_date=NOW(); +UPDATE system_settings SET db_schema_version='1290',db_schema_update_date=NOW(); GRANT RELOAD ON *.* TO cron@'%'; GRANT RELOAD ON *.* TO cron@localhost; diff --git a/agc_2-X/trunk/extras/upgrade_2.4.sql b/agc_2-X/trunk/extras/upgrade_2.4.sql index d645ac50..6570728e 100644 --- a/agc_2-X/trunk/extras/upgrade_2.4.sql +++ b/agc_2-X/trunk/extras/upgrade_2.4.sql @@ -906,3 +906,7 @@ ALTER TABLE system_settings ADD default_voicemail_timezone VARCHAR(30) default ' ALTER TABLE system_settings ADD default_local_gmt VARCHAR(6) default '-5.00'; UPDATE system_settings SET db_schema_version='1289',db_schema_update_date=NOW() where db_schema_version < 1289; + +ALTER TABLE vicidial_campaigns MODIFY disable_dispo_screen ENUM('DISPO_ENABLED','DISPO_DISABLED','DISPO_SELECT_DISABLED') default 'DISPO_ENABLED'; + +UPDATE system_settings SET db_schema_version='1290',db_schema_update_date=NOW() where db_schema_version < 1290; diff --git a/agc_2-X/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.4.txt b/agc_2-X/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.4.txt index 4b57169d..79c06d78 100644 --- a/agc_2-X/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.4.txt +++ b/agc_2-X/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.4.txt @@ -679,6 +679,7 @@ Voicemail Options|| This optional setting allows you to define additional voicemail settings. It is recommended that you leave this blank unless you know what you are doing|| The next two settings are also defined in the System Settings section, and you can change them after you define them here. You should set the Default Local GMT to the timezone that your agents want to be in. The Voicemail zone is the listing of voicemail timezones that voicemail messages will be time logged with when new messages are left|| ERROR: You cannot use reserved words for field labels|| +The DISPO_SELECT_DISABLED option will not disable the dispo screen completely, but will display the dispo screen without any dispositions, this option should only be used if you want to force your agents to use your CRM software which will send the status to the system through the API|| lead_report_export.php @@ -739,6 +740,7 @@ Phone Area Code Outside Dialable Zone|| Postal Code Outside Dialable Zone|| Custom Transfer|| System Delay, Please try again|| +Disposition Status List Hidden|| ############################################################ MANAGER Manual diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index c453afc4..9ac80ad0 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -361,10 +361,11 @@ # 110718-1159 - Added logging of skipped leads # 110719-0854 - Removed debug output and small display alignment changes # 110723-2308 - Complete hiding of phone numbers in logs when alter phone is set to HIDE +# 110730-2240 - Added option to hide dispo statuses, only to be used with API # -$version = '2.4-338c'; -$build = '110723-2308'; +$version = '2.4-339c'; +$build = '110730-2240'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=73; $one_mysql_log=0; @@ -1508,8 +1509,11 @@ else } } - if ( ($disable_dispo_screen == 'DISPO_ENABLED') or (strlen($disable_dispo_status) < 1) ) + $hide_dispo_list=0; + if ( ($disable_dispo_screen == 'DISPO_ENABLED') or ($disable_dispo_screen == 'DISPO_SELECT_DISABLED') or (strlen($disable_dispo_status) < 1) ) { + if ($disable_dispo_screen == 'DISPO_SELECT_DISABLED') + {$hide_dispo_list=1;} $disable_dispo_screen=0; $disable_dispo_status=''; } @@ -3442,6 +3446,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} var status_display_LEADID=''; var status_display_LISTID=''; var qm_extension=''; + var hide_dispo_list=''; var DiaLControl_auto_HTML = "\"\"Resume\""; var DiaLControl_auto_HTML_ready = "\"\"Resume\""; var DiaLControl_auto_HTML_OFF = "\"\"Resume\""; @@ -8407,27 +8412,34 @@ function set_length(SLnumber,SLlength_goal,SLdirection) var dispo_HTML = "
CALL DISPOSITION
"; var loop_ct = 0; var print_ct = 0; - while (loop_ct < VD_statuses_ct) + if (hide_dispo_list < 1) { - if (VARSELstatuses[loop_ct] == 'Y') + while (loop_ct < VD_statuses_ct) { - if (VARCBstatuses[loop_ct] == 'Y') - {CBflag = '*';} - else - {CBflag = '';} - if (taskDSgrp == VARstatuses[loop_ct]) + if (VARSELstatuses[loop_ct] == 'Y') { - dispo_HTML = dispo_HTML + "" + VARstatuses[loop_ct] + " - " + VARstatusnames[loop_ct] + " " + CBflag + "

"; + if (VARCBstatuses[loop_ct] == 'Y') + {CBflag = '*';} + else + {CBflag = '';} + if (taskDSgrp == VARstatuses[loop_ct]) + { + dispo_HTML = dispo_HTML + "" + VARstatuses[loop_ct] + " - " + VARstatusnames[loop_ct] + " " + CBflag + "

"; + } + else + { + dispo_HTML = dispo_HTML + "" + VARstatuses[loop_ct] + " - " + VARstatusnames[loop_ct] + " " + CBflag + "

"; + } + if (print_ct == VD_statuses_ct_half) + {dispo_HTML = dispo_HTML + "
";} + print_ct++; } - else - { - dispo_HTML = dispo_HTML + "" + VARstatuses[loop_ct] + " - " + VARstatusnames[loop_ct] + " " + CBflag + "

"; - } - if (print_ct == VD_statuses_ct_half) - {dispo_HTML = dispo_HTML + "
";} - print_ct++; + loop_ct++; } - loop_ct++; + } + else + { + dispo_HTML = dispo_HTML + "Disposition Status List Hidden

"; } dispo_HTML = dispo_HTML + "
"; diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php index 39068deb..bbd7c2e0 100644 --- a/agc_2-X/trunk/www/vicidial/admin.php +++ b/agc_2-X/trunk/www/vicidial/admin.php @@ -2799,12 +2799,13 @@ else # 110707-0725 - Added AGENTEXT notes for in-groups settings # 110707-1402 - Added last_inbound_call_time and finish to next agent call options for in-groups # 110727-0130 - Added more voicemail box options and default timezone and voicemail zone to system settings +# 110730-2249 - Added DISPO_SELECT_DISABLED option for the Dispo Disable setting in campaigns # # make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time -$admin_version = '2.4-325a'; -$build = '110727-0130'; +$admin_version = '2.4-326a'; +$build = '110730-2249'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s"); @@ -4897,7 +4898,7 @@ if ($ADD==99999)

- Disable Dispo Screen - This option allows you to disable the disposition screen in the agent interface. The Disable Dispo Status field below must be filled in for this option to work. Default is DISPO_ENABLED. + Disable Dispo Screen - This option allows you to disable the disposition screen in the agent interface. The Disable Dispo Status field below must be filled in for this option to work. Default is DISPO_ENABLED. The DISPO_SELECT_DISABLED option will not disable the dispo screen completely, but will display the dispo screen without any dispositions, this option should only be used if you want to force your agents to use your CRM software which will send the status to the system through the API.
@@ -20004,7 +20005,7 @@ if ($ADD==31) {echo " LIST OVERRIDE ACTIVE";} echo "\n"; } - echo "Disable Dispo Screen: $NWB#vicidial_campaigns-disable_dispo_screen$NWE\n"; + echo "Disable Dispo Screen: $NWB#vicidial_campaigns-disable_dispo_screen$NWE\n"; echo "Disable Dispo Status: $NWB#vicidial_campaigns-disable_dispo_status$NWE\n";