Order Appointment & Livechat by newset

This commit is contained in:
R
2023-02-15 09:10:22 +07:00
parent d38bc8dbfc
commit 7f77deb09e
2 changed files with 2 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ class AppointmentController extends Controller
{
$appointments = Appointment::query()
->with('doctor.user', 'doctor.speciality', 'appointmentDetail', 'healthCare')
->latest()
->paginate(15);
return response()->json(Helper::paginateResources(AppointmentResource::collection($appointments)));
}