ソースを参照

Bill matrix order by (legacy)

Vijayakrishnan 4 年 前
コミット
73984b9ad0
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/Http/Controllers/PracticeManagementController.php

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

@@ -531,7 +531,7 @@ class PracticeManagementController extends Controller
         $filters['verified'] = $request->input('verified');
         $filters['cancelled'] = $request->input('cancelled');
 
-        $bills = Bill::paginate();
+        $bills = Bill::orderBy('effective_date')->paginate();
         return view('app.practice-management.bill-matrix', compact('bills', 'bClients', 'bHCPPros', 'filters'));
     }