We are trying to add a new preset time condition to the fusion pbx called Normal Hours. This condition needs to be Monday-Saturday and time of 7am till 5pm.
We have added
$y++;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "261a0ea4-26a3-4261-95e5-888afd221ca0";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "time_conditions";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "preset_usa";
$apps[$x]['default_settings'][$y]['default_setting_name'] = "array";
$apps[$x]['default_settings'][$y]['default_setting_value'] = '{"normal_hours":{"wday":"2","mon":"10","mday":"8-14"}}';
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "USA Holiday";
inside the /var/www/fusionpbx/app/time_conditions/app_config.php
and then added
$text['label-preset_normal_hours']['en-us'] = "Normal Hours";
to the file /var/www/fusionpbx/app/time_conditions/app_languages.php
When we reload the page the Normal Hours preset does not show up. What am I missing here?
We have added
$y++;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "261a0ea4-26a3-4261-95e5-888afd221ca0";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "time_conditions";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "preset_usa";
$apps[$x]['default_settings'][$y]['default_setting_name'] = "array";
$apps[$x]['default_settings'][$y]['default_setting_value'] = '{"normal_hours":{"wday":"2","mon":"10","mday":"8-14"}}';
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "USA Holiday";
inside the /var/www/fusionpbx/app/time_conditions/app_config.php
and then added
$text['label-preset_normal_hours']['en-us'] = "Normal Hours";
to the file /var/www/fusionpbx/app/time_conditions/app_languages.php
When we reload the page the Normal Hours preset does not show up. What am I missing here?