Different Box Card and Different Sidebar
Hi how can i do this.
When click the box the sidebar should correspond from the box.
example.
Box 1- Employee System
Box 2- Attendance System
Is there a way?
4 Replies
I don't understand what you mean
What do you mean that it can be multi-panel? One panel for employees, another panel for attendance?
- you can use create multiple panels:
php artisan make:filament-panel new_panel
- you can use policies to hide/show resources according to the roles
https://filamentphp.com/docs/3.x/panels/resources/getting-started#authorization
- you can hide the navigation items https://filamentphp.com/docs/3.x/panels/navigation#conditionally-hiding-navigation-itemsI understand that multiple panels needs multple login? I want it inside admin login and hide sidebar navigation content depending on what system i using like if i click employee only sidebar navigation related to employee i can see in the side nav.
Thanks, will study it, I appreciate