Răsfoiți Sursa

added util report

logicpowerhouse 4 ani în urmă
părinte
comite
513475edc8
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      app/Http/Controllers/PracticeManagementController.php

+ 1 - 1
app/Http/Controllers/PracticeManagementController.php

@@ -408,7 +408,7 @@ class PracticeManagementController extends Controller
 
     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_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',
             'view_treatment_service_utilization_by_patient'));
     }