Add Print to PDF bulk action configuration

This commit is contained in:
p.kumar 2021-07-13 13:23:04 +05:30
parent 6903433640
commit b2341e9a59
3 changed files with 45 additions and 0 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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);