浏览代码

added util report

logicpowerhouse 4 年之前
父节点
当前提交
513475edc8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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'));
     }