Implement monthly sla. Ticket#3031

This commit is contained in:
Arturo Gonzalez 2015-12-11 17:07:30 +01:00
parent e5b5bcb95b
commit b0e9edd49f

View File

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