mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 04:47:10 +08:00
Add Print to PDF bulk action configuration
This commit is contained in:
parent
6903433640
commit
b2341e9a59
3 changed files with 45 additions and 0 deletions
|
@ -73,4 +73,19 @@ $actions['modules']['accounts']['actions']['contacts-to-target-list'] = [
|
|||
]
|
||||
];
|
||||
|
||||
$actions['modules']['accounts']['actions']['print-as-pdf'] = [
|
||||
'key' => 'print-as-pdf',
|
||||
'labelKey' => 'LBL_PRINT_AS_PDF',
|
||||
'modes' => ['list'],
|
||||
'acl' => ['view'],
|
||||
'aclModule' => 'AOS_PDF_Templates',
|
||||
'params' => [
|
||||
'selectModal' => [
|
||||
'module' => 'AOS_PDF_Templates'
|
||||
],
|
||||
'allowAll' => false,
|
||||
'max' => 50
|
||||
]
|
||||
];
|
||||
|
||||
$container->setParameter('module.listview.bulk_action', $actions);
|
||||
|
|
|
@ -58,4 +58,19 @@ $actions['modules']['contacts']['actions']['records-to-target-list'] = [
|
|||
]
|
||||
];
|
||||
|
||||
$actions['modules']['contacts']['actions']['print-as-pdf'] = [
|
||||
'key' => 'print-as-pdf',
|
||||
'labelKey' => 'LBL_PRINT_AS_PDF',
|
||||
'modes' => ['list'],
|
||||
'acl' => ['view'],
|
||||
'aclModule' => 'AOS_PDF_Templates',
|
||||
'params' => [
|
||||
'selectModal' => [
|
||||
'module' => 'AOS_PDF_Templates'
|
||||
],
|
||||
'allowAll' => false,
|
||||
'max' => 50
|
||||
]
|
||||
];
|
||||
|
||||
$container->setParameter('module.listview.bulk_action', $actions);
|
||||
|
|
|
@ -58,4 +58,19 @@ $actions['modules']['leads']['actions']['records-to-target-list'] = [
|
|||
]
|
||||
];
|
||||
|
||||
$actions['modules']['leads']['actions']['print-as-pdf'] = [
|
||||
'key' => 'print-as-pdf',
|
||||
'labelKey' => 'LBL_PRINT_AS_PDF',
|
||||
'modes' => ['list'],
|
||||
'acl' => ['view'],
|
||||
'aclModule' => 'AOS_PDF_Templates',
|
||||
'params' => [
|
||||
'selectModal' => [
|
||||
'module' => 'AOS_PDF_Templates'
|
||||
],
|
||||
'allowAll' => false,
|
||||
'max' => 50
|
||||
]
|
||||
];
|
||||
|
||||
$container->setParameter('module.listview.bulk_action', $actions);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue