Explorar el Código

Bill matrix order by (legacy)

Vijayakrishnan hace 4 años
padre
commit
73984b9ad0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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'));
     }