I'm new to Filament and I'm stuck with organizing resources. I hope someone can point me into right direction.
I have Company which has Users and Projects. I want to have one page that will have three tabs: - 1st tab will display company details, address, etc. - 2nd tab will display all users - 3rd tab will display all projects
I created CompanyResource with following relations:
public static function getRelations(): array { return [ ProjectsRelationManager::class, UsersRelationManager::class, ]; }
public static function getRelations(): array { return [ ProjectsRelationManager::class, UsersRelationManager::class, ]; }
This works as expected - I get two tabs displaying tables. How can I add 1st tab which will display company details? Am I on the right path when doing it with relations? Can relation point to infolist instead of table? Or should I work with tab some other way?