|
@@ -408,7 +408,7 @@ class PracticeManagementController extends Controller
|
|
|
|
|
|
public function treatmentServiceUtil(Request $request){
|
|
public function treatmentServiceUtil(Request $request){
|
|
$view_treatment_service_utilization = DB::select(DB::raw("SELECT * FROM view_treatment_service_utilization ORDER BY effective_date DESC, total_hrs DESC"));
|
|
$view_treatment_service_utilization = DB::select(DB::raw("SELECT * FROM view_treatment_service_utilization ORDER BY effective_date DESC, total_hrs DESC"));
|
|
- $view_treatment_service_utilization_by_patient = DB::select(DB::raw("SELECT * FROM view_treatment_service_utilization_by_patient"));
|
|
|
|
|
|
+ $view_treatment_service_utilization_by_patient = DB::select(DB::raw("SELECT * FROM view_treatment_service_utilization_by_patient ORDER BY pro_lname ASC, pro_fname ASC, hcp_pro_id ASC, total_hrs DESC"));
|
|
return view('app.practice-management.treatment-services-util', compact('view_treatment_service_utilization',
|
|
return view('app.practice-management.treatment-services-util', compact('view_treatment_service_utilization',
|
|
'view_treatment_service_utilization_by_patient'));
|
|
'view_treatment_service_utilization_by_patient'));
|
|
}
|
|
}
|