Ask, reply and learn. Join the community of Akaunting.
I'm installing a custom module based on my-blog module repository (https://github.com/akaunting/module-my-blog). I have a similar page to posts.index where I want to show the BulkActions.
When I add the line:
{{ Form::bulkActionRowGroup('my-module::general.name', $bulk_actions, ['group' => 'my-module', 'type' => 'companies']) }}
Ref: https://github.com/akaunting/module-my-blog/blob/6d36310a466947114ded428c618324600c9b6a0f/Resources/views/posts/index.blade.php#L27
I got the following error:
Undefined variable: bulk_actions (View: /var/www/html/modules/MyModule/Resources/views/index.blade.php)
Where is this variable coming from?
I also have the vue.js file and the BulkAction class as they are in my-blog repository.
I'm facing the same issue also with the $limits variable from the pagination include. Ref: https://github.com/akaunting/module-my-blog/blob/6d36310a466947114ded428c618324600c9b6a0f/Resources/views/posts/index.blade.php#L96
Any help would be appreciated. Thanks.
Showing 1 to 1 of 1 discussions