Try this
->where('checkout.emplid', '<>', 0)
->where(function($query)
{
$query->where('deviceList.billable', '<>', 'No')
->orWhere('deviceList.prorateable', '<>', 'No');
})
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community