diff --git a/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.3.txt b/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.3.txt index 59f0dfc0..d24eca94 100644 --- a/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.3.txt +++ b/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.3.txt @@ -108,6 +108,8 @@ CAMPAIGN PAUSE CODE NOT DELETED|| FAST DIAL|| YOU MUST BE ENTER A PHONE NUMBER AND DIAL CODE TO USE FAST DIAL|| SELECT A PAUSE CODE :|| +ENTER A PAUSE CODE|| +YOU MUST BE PAUSED TO ENTER A PAUSE CODE IN AUTO-DIAL MODE|| ############################################################ MANAGER Manual diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 6bfff016..aeb0e38d 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -223,7 +223,7 @@ $clientDST = '1'; # set to 1 to check for DST on server for agent time $no_delete_sessions = '0'; # set to 1 to not delete sessions at logout $volumecontrol_active = '1'; # set to 1 to allow agents to alter volume of channels -$TEST_all_statuses = '1'; # TEST variable allows all statuses in dispo screen +$TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen # options now set in DB: #$alt_phone_dialing = '1'; # allow agents to call alt phone numbers @@ -1287,7 +1287,6 @@ $CCAL_OUT .= ""; var CallBackCommenTs = ''; var scheduled_callbacks = ' echo $scheduled_callbacks ?>'; var dispo_check_all_pause = ' echo $dispo_check_all_pause ?>'; - var pause_code_select_display = 0; var agent_pause_codes_active = ' echo $agent_pause_codes_active ?>'; VARpause_codes = new Array( echo $VARpause_codes ?>); VARpause_code_names = new Array( echo $VARpause_code_names ?>); @@ -3297,10 +3296,6 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} AutoDialReady = 0; AutoDialWaiting = 0; document.getElementById("DiaLControl").innerHTML = DiaLControl_auto_HTML; - if (agent_pause_codes_active=='Y') - { - pause_code_select_display=1; - } } var xmlhttp=false; @@ -4213,22 +4208,31 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} // ################################################################################ // Generate the Pause Code Chooser panel - function PauseCodeSelectContent_create(taskDSgrp,taskDSstage) + function PauseCodeSelectContent_create() { - pause_code_HTML = ''; - document.vicidial_form.PauseCodeSelection.value = ''; - var VD_pause_codes_ct_half = parseInt(VD_pause_codes_ct / 2); - pause_code_HTML = "
| PAUSE CODE | |||||
| ";
- var loop_ct = 0;
- while (loop_ct < VD_pause_codes_ct)
+ if ( (AutoDialWaiting == 1) || (VD_live_customer_call==1) || (alt_dial_active==1) )
{
- PauseCode_HTML = PauseCode_HTML + "" + VARpause_codes[loop_ct] + " - " + VARpause_code_names[loop_ct] + " "; - if (loop_ct == VD_pause_codes_ct_half) - {PauseCode_HTML = PauseCode_HTML + " | ";}
- loop_ct++;
+ alert("YOU MUST BE PAUSED TO ENTER A PAUSE CODE IN AUTO-DIAL MODE");
+ }
+ else
+ {
+ showDiv('PauseCodeSelectBox');
+ WaitingForNextStep=1;
+ PauseCode_HTML = '';
+ document.vicidial_form.PauseCodeSelection.value = '';
+ var VD_pause_codes_ct_half = parseInt(VD_pause_codes_ct / 2);
+ PauseCode_HTML = "
Go Back"; + document.getElementById("PauseCodeSelectContent").innerHTML = PauseCode_HTML; } - PauseCode_HTML = PauseCode_HTML + " | ||||
VICIDIAL |
| CALLBACKS FOR AGENT echo $VD_login ?>: Click on a callback below to call the customer back now. If you click on a record below to call it, it will be removed from the list. |