jamesro
Showing a modal with list of order products
Oky I found this on FilamentPhp documentation
https://filamentphp.com/docs/3.x/tables/advanced#preventing-query-string-conflicts-with-the-pagination-page
i've set ->queryStringIdentifier('orderProducts');
and now all good
2 replies
Add roles / permissions per team for user
@CodeWithDennis @Lara Zeus i've managed to eliminate that TeamUser, the question i have is,
I want to have a super admin panel, where you can see resources from all Teams, the problem I see rising is this Spatie Permission relation
as you se it relies on getPermissionsTeamId() which you normally set when you switch the team, any idea how I can make it work in super admin panel so it brings the correct things?
33 replies
Add roles / permissions per team for user
@Lara Zeus i get no luck I get this error when trying to save
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-52-App\Models\TeamUser' for key 'PRIMARY' (Connection: mysql, SQL: insert into
model_has_roles
(model_id
, model_type
, role_id
) values (52, App\Models\TeamUser, 1))
this is my form
33 replies