Merge branch 'ent-9261-13905-informe-availability-funciona-mal-show-24x7-item' into 'develop'

Ent 9261 13905 informe availability funciona mal show 24x7 item

https://brutus.artica.es:8081/artica/pandora_enterprise/-/issues/9261

See merge request artica/pandorafms!5087
This commit is contained in:
Jimmy Olano 2022-09-13 23:39:29 +00:00
commit 3a1ec66bfb
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -4225,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').')';
}