excluded report item from templates list
This commit is contained in:
parent
70946af507
commit
c9edf8081c
|
@ -848,10 +848,12 @@ function reports_get_report_types($template=false, $not_editor=false)
|
|||
'name' => __('Group event report'),
|
||||
];
|
||||
|
||||
$types['agents_inventory'] = [
|
||||
'optgroup' => __('Inventory'),
|
||||
'name' => __('Agents inventory'),
|
||||
];
|
||||
if (!$template) {
|
||||
$types['agents_inventory'] = [
|
||||
'optgroup' => __('Inventory'),
|
||||
'name' => __('Agents inventory'),
|
||||
];
|
||||
}
|
||||
|
||||
if ($config['enterprise_installed']) {
|
||||
$types['inventory'] = [
|
||||
|
|
Loading…
Reference in New Issue