excluded report item from templates list

This commit is contained in:
alejandro.campos@artica.es 2021-06-04 10:50:06 +02:00
parent 70946af507
commit c9edf8081c
1 changed files with 6 additions and 4 deletions

View File

@ -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'] = [