foobzxbt
Show dedicated resource view for a relationship
I was wondering if the following is possible in FilamentPHP.
I have
Companies
& Employees
.
Company
has a hasMany
relationship called employees
Employee
has a belongsToMany
relationship called companies
Now I want to show a dedicated resource view for the Employees
when I go to /companies/[COMPANY-ID]/employees
.
From what I found right now, I can add employees when you are on the create page of company. But I also want to have a dedicated page when the company has been created to manage the employees without going via the companies/[COMPANY-ID]/edit
page.
Is this achievable?
Thank you very much.2 replies