RelationManager for hasManyThrough relationship
Im trying to add a relation manager to my ViewCustomerPage, to display all of the notes from tasks that customer has.
The relationships are like this:
Customer: morphMany notes
Notes: BelongsTo customer, BelongsTo task
Task: morphMany notes, BelongsTo customer
so how would i make a relationmanager to view all notes that tasks(that the specific customer has) have? Would a hasManyThrough relationship help?
0 Replies