I am fairly new to Nova, but have used php for years etc.
In an application I am building I have a relationship table set up which has the following fields in the Nova Resource file:
ID::make()->sortable(),
BelongsTo::make('Property'),
BelongsTo::make('User'),
Boolean::make("Active")
I am using Spatie role plugin, and would like to be able use a BelongsTo:make where the role equals "Cleaner".
Is there a way that I could do this? If any more details are needed then please let me know.
Thank you.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire