mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
fixed visual error pdf sla monthly pandora_enterprise#9789
This commit is contained in:
parent
240bab48ec
commit
a246382325
@ -8368,9 +8368,11 @@ function reporting_advanced_sla(
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$time_out += $time_interval;
|
$time_out += $time_interval;
|
||||||
|
if (isset($wt_check['wt_in_downtime']) === true) {
|
||||||
if ($wt_check['wt_in_downtime']) {
|
if ($wt_check['wt_in_downtime']) {
|
||||||
$time_out += $wt_check['downtime_interval'];
|
$time_out += $wt_check['downtime_interval'];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Ignore worktime, is in an invalid period:
|
// Ignore worktime, is in an invalid period:
|
||||||
// scheduled downtimes in exclusion mode
|
// scheduled downtimes in exclusion mode
|
||||||
@ -14860,9 +14862,7 @@ function reporting_sla_get_status_period_compliance(
|
|||||||
return REPORT_STATUS_ERR;
|
return REPORT_STATUS_ERR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($priority_mode == REPORT_PRIORITY_MODE_OK
|
if ($sla['time_ok'] > 0 && ($time_compliance >= $sla_limit)) {
|
||||||
&& $sla['time_ok'] > 0 && ($time_compliance >= $sla_limit)
|
|
||||||
) {
|
|
||||||
return REPORT_STATUS_OK;
|
return REPORT_STATUS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user