Added call_log_days campaign option

git-svn-id: svn://192.168.202.10@3825 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2024-04-20 12:38:45 +00:00
parent dce9b9ffe5
commit eb82802361
6 changed files with 258 additions and 166 deletions
+3 -2
View File
@@ -1125,7 +1125,8 @@ agent_search_ingroup_list ENUM('DISABLED','ENABLED','ENABLED_OVERRIDE') default
hopper_hold_inserts ENUM('ENABLED','DISABLED','AUTONEXT') default 'DISABLED',
daily_phone_number_call_limit TINYINT(3) UNSIGNED default '0',
state_descriptions VARCHAR(40) default '---DISABLED---',
script_tab_height SMALLINT(5) default '0'
script_tab_height SMALLINT(5) default '0',
call_log_days SMALLINT(5) default '0'
) ENGINE=MyISAM;
CREATE TABLE vicidial_lists (
@@ -5675,4 +5676,4 @@ INSERT INTO `wallboard_reports` VALUES ('AGENTS_AND_QUEUES','Agents and Queues',
UPDATE system_settings set vdc_agent_api_active='1';
UPDATE system_settings SET db_schema_version='1713',db_schema_update_date=NOW(),reload_timestamp=NOW();
UPDATE system_settings SET db_schema_version='1714',db_schema_update_date=NOW(),reload_timestamp=NOW();
+4
View File
@@ -2720,3 +2720,7 @@ UNIQUE KEY vicidial_timeoff_log_agent_month_key (user,timeoff_month,timeoff_type
INSERT INTO vicidial_settings_containers VALUES ('VICIDIAL_TIMEOFF_SETTINGS','Settings for time-off admin utility','OTHER','---ALL---','; Comma-delimited time-off codes - MANDATORY, must have at least one defined. \r\n; Default is \'VAC\' for vacation\r\ntimeoff_types => VAC\r\n\r\n; optional, if set to \'1\' will show all viewable agents, even ones with no \r\n; time off for month. Default is 0\r\ndisplay_all_agents => 0\r\n\r\n; optional, used to filter users displayed, in addition to user_group \r\n; permissions\r\nuser_filter_SQL => \r\n\r\n; optional, uses columns from vicidial_users table. Defaults to \r\n; full_name asc, user asc if commented out or non-existent\r\n; sort_SQL => full_name asc, user asc\r\n\r\n; include custom coding for misc download coding where \"custom_download\" \r\n; marked in agent_timeoff_script.php - DO NOT USE WITHOUT CODING KNOWLEDGE\r\n; set to \'1\' to activate\r\ncustom_download => 0');
UPDATE system_settings SET db_schema_version='1713',db_schema_update_date=NOW() where db_schema_version < 1713;
ALTER TABLE vicidial_campaigns ADD call_log_days SMALLINT(5) default '0';
UPDATE system_settings SET db_schema_version='1714',db_schema_update_date=NOW() where db_schema_version < 1714;