How to implement that logic from Codeigniter to Laravel FilamentPHP?
Hello,
I have a database structure like that:
events id, name
event_has_inscriptions id, event_id, client_id
event_has_quotes id, date, amount, inscription_id
In FilamentPHP i make with php artisan a Resource called "Event".
But i don't want to make Inscription and Quote Resource because i don't need to have a CRUD based on the dashboard.
I just have to create migation for that datatables?
I have to make a models? What's the nomenclature for that names?
Inside one event, i want to show all "event_has_inscriptions" and if open inscription all the "quotes".
Thanks
6 Replies
Hey @metelidrissi . You just need to have models for Inscription and Quotes and then you can implement a relation manager
I will look clean and you can show all the inscription and quotes for every single event in event view
Hi @K R A T O S i will try that, thanks for your answer
Thank you
It has any sense to make Model names like EventHasQuote like how it was made on CodeIgniter
Or Quote it's the correct way?
According to me, Quote is the correct way
Thanks