We have company and their users. We want to get all booking list with users of a company.
Please suggest how can we solve this issue.
Let's something like this
$booking=Booking::with('users')->where()
In where like
users.company_id=$company_id