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:
commit
3a1ec66bfb
|
@ -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;
|
||||
|
|
|
@ -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').')';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue