Get all Relations of a M to N - Before sending to the view
SubJob and Dispatch has a Many to Many relationship
I need to do something like this
foreach($sub_jobs as $sub_job)
$dispatches = $dispatches + $sub_job->dispatches;
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!