0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-25 00:56:49 +00:00
salesagility_SuiteCRM/modules/AOR_Reports/metadata/subpaneldefs.php
Christoph Reiter 0389c6ccbd AOR Reports: Add a security groups subpanel
Otherwise there is no way to change security groups for reports.
2019-03-12 14:25:48 +01:00

43 lines
1.5 KiB
PHP

<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
$layout_defs['AOR_Reports'] = array(
'subpanel_setup' => array(
'aor_scheduled_reports_aor_reports' => array(
'order' => 100,
'module' => 'AOR_Scheduled_Reports',
'subpanel_name' => 'default',
'sort_order' => 'asc',
'sort_by' => 'id',
'title_key' => 'AOR_Scheduled_Reports',
'get_subpanel_data' => 'aor_scheduled_reports',
'top_buttons' =>
array(
0 =>
array(
'widget_class' => 'SubPanelTopButtonQuickCreate',
),
1 =>
array(
'widget_class' => 'SubPanelTopSelectButton',
'mode' => 'MultiSelect',
),
),
),
'securitygroups' => array(
'top_buttons' => array(array('widget_class' => 'SubPanelTopSelectButton', 'popup_module' => 'SecurityGroups', 'mode' => 'MultiSelect'),),
'order' => 900,
'sort_by' => 'name',
'sort_order' => 'asc',
'module' => 'SecurityGroups',
'refresh_page' => 1,
'subpanel_name' => 'default',
'get_subpanel_data' => 'SecurityGroups',
'add_subpanel_data' => 'securitygroup_id',
'title_key' => 'LBL_SECURITYGROUPS_SUBPANEL_TITLE',
),
),
);