fix service machine
This commit is contained in:
@@ -76,7 +76,7 @@ class ReportMachineService
|
||||
$query->where('province_id', '=', $request->province_id);
|
||||
})
|
||||
->groupBy('driver_id')
|
||||
->orderBy('COUNT(*) desc');
|
||||
->orderByRaw('COUNT(*) DESC');
|
||||
|
||||
$fields = ['driver_id','driver_name','missions', 'func'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user