Tenant notifications (1 notification for all tenant users)
I'm trying to find a way to Notify all users that have access to the tenant panel. Right now I can loop throught all the users and notify each one of them, which will create one notification row in the notifications table for each user. However, I want also to be able to create 1 single row for the Tenant model, which will display the notification for all the users that have access to the tenant dashboard, and if ANY user clicks the "Read" button, then the notification will be show as "Read" for all other users. How could I achieve this?
I already tried adding Notifiable trait to the Tenant model and then notifying it with the Notification class from Filament, however this doesn't work.
1 Reply
Figure anything out with this?