mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
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…
x
Reference in New Issue
Block a user