fix dashboardcontroller query & resources doctors
This commit is contained in:
@@ -28,9 +28,11 @@ class DashboardController extends Controller
|
||||
])
|
||||
->where('active', 1)
|
||||
->whereNot('speciality_id')
|
||||
->get(['id', 'speciality_id'])
|
||||
->get(['id', 'practitioner_id', 'speciality_id'])
|
||||
->random($limit);
|
||||
|
||||
return $queryDoctors;
|
||||
|
||||
$data = DoctorResourceDashboard::collection($queryDoctors);
|
||||
} elseif ($query === 'hospitals') {
|
||||
$queryHospitals = Organization::query()
|
||||
|
||||
Reference in New Issue
Block a user