Implement monthly sla. Ticket#3031
This commit is contained in:
parent
bbfcf7b45e
commit
59ceab13cf
|
@ -112,7 +112,6 @@ function reporting_make_reporting_data($report = null, $id_report,
|
|||
$contents = db_get_all_rows_field_filter ('treport_content',
|
||||
'id_report', $id_report, db_escape_key_identifier('order'));
|
||||
}
|
||||
|
||||
$datetime = strtotime($date . ' ' . $time);
|
||||
$report["datetime"] = $datetime;
|
||||
$report["group"] = $report['id_group'];
|
||||
|
@ -3697,7 +3696,6 @@ function reporting_availability($report, $content) {
|
|||
|
||||
|
||||
|
||||
|
||||
$data = array();
|
||||
|
||||
$avg = 0;
|
||||
|
|
|
@ -534,11 +534,11 @@ function reports_get_report_types ($template = false, $not_editor = false) {
|
|||
|
||||
$types['SLA'] = array('optgroup' => __('SLA'),
|
||||
'name' => __('S.L.A.'));
|
||||
if (!$template && $config['enterprise_installed']) {
|
||||
if ($config['enterprise_installed']) {
|
||||
$types['SLA_monthly'] = array('optgroup' => __('SLA'),
|
||||
'name' => __('Monthly S.L.A.'));
|
||||
|
||||
if (!$config['metaconsole']) {
|
||||
if (!$config['metaconsole'] && !$template) {
|
||||
$types['SLA_services'] = array('optgroup' => __('SLA'),
|
||||
'name' => __('Services S.L.A.'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue