#9261 Fixed 24X7 item
This commit is contained in:
parent
6bf2054d75
commit
08815cc2c2
|
@ -789,7 +789,7 @@ function agents_get_agents_selected($group)
|
|||
);
|
||||
|
||||
$all = array_reduce(
|
||||
$all,
|
||||
(empty($all) === true) ? [] : $all,
|
||||
function ($carry, $item) {
|
||||
$carry[$item['id_agente']] = $item['alias'];
|
||||
return $carry;
|
||||
|
|
|
@ -1756,7 +1756,8 @@ function reporting_html_modules_inventory($table, $item, $pdf=0)
|
|||
} else if ($data_field_key === 'group_id') {
|
||||
$column_value = groups_get_name($data_field_value[0]);
|
||||
} else if ($data_field_key === 'sec_group_id') {
|
||||
$sec_groups_names = array_map(function ($group_id) {
|
||||
$sec_groups_names = array_map(
|
||||
function ($group_id) {
|
||||
return groups_get_name($group_id);
|
||||
},
|
||||
$data_field_value
|
||||
|
@ -4224,7 +4225,7 @@ function reporting_html_availability($table, $item, $pdf=0)
|
|||
} else {
|
||||
$table_row[] = $row['agent'];
|
||||
$item_name = $row['availability_item'];
|
||||
if ((bool) $row['compare'] === true) {
|
||||
if ((bool) $row['compare'] === false) {
|
||||
$item_name .= ' ('.__('24 x 7').')';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue