guitarnerd_
Issues with Attach/Associate action between a belongsTo/hasMany relationship
Hi everyone,
I have a model called Order and another called OrderStatus.
The relevant realtionships are the following:
I created an OrderStatusRelationManager in OrderResource and registered it in getRelations.
I want to be able to change the order status.
In my the table function I have the following
I'm getting the following error:
I also tried AttachAction in case I misunderstood which one I should use and I got
I also defined the inverse relation in my relation manager.
What am I missing ?
4 replies
How can I change the assumed table name in a relation manager?
Hi everyone,
I have a belongsToMany relation between a medications table and a presentation table.
The pivot table includes extra information so I called it medication_variation.
I created a relation manager but filament is looking for a table called medication_presentation. How can I change it ?
5 replies