mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
fixed errors availability reports
This commit is contained in:
parent
ac47db4986
commit
c4c987d6c1
@ -3435,12 +3435,12 @@ function reporting_html_availability($table, $item, $pdf=0)
|
|||||||
$table_row[] = '--';
|
$table_row[] = '--';
|
||||||
} else {
|
} else {
|
||||||
$table_row[] = $row['agent'];
|
$table_row[] = $row['agent'];
|
||||||
$item = $row['availability_item'];
|
$item_name = $row['availability_item'];
|
||||||
if ((bool) $row['compare'] === true) {
|
if ((bool) $row['compare'] === true) {
|
||||||
$item .= ' ('.__('24 x 7').')';
|
$item_name .= ' ('.__('24 x 7').')';
|
||||||
}
|
}
|
||||||
|
|
||||||
$table_row[] = $item;
|
$table_row[] = $item_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($row['time_total'] != 0 && $item['fields']['total_time']) {
|
if ($row['time_total'] != 0 && $item['fields']['total_time']) {
|
||||||
@ -3568,12 +3568,12 @@ function reporting_html_availability($table, $item, $pdf=0)
|
|||||||
$table_row2[] = '--';
|
$table_row2[] = '--';
|
||||||
} else {
|
} else {
|
||||||
$table_row2[] = $row['agent'];
|
$table_row2[] = $row['agent'];
|
||||||
$item = $row['availability_item'];
|
$item_name = $row['availability_item'];
|
||||||
if ((bool) $row['compare'] === true) {
|
if ((bool) $row['compare'] === true) {
|
||||||
$item .= ' ('.__('24 x 7').')';
|
$item_name .= ' ('.__('24 x 7').')';
|
||||||
}
|
}
|
||||||
|
|
||||||
$table_row2[] = $item;
|
$table_row2[] = $item_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($item['fields']['total_checks']) {
|
if ($item['fields']['total_checks']) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user