Sfoglia il codice sorgente

Bill matrix order by (legacy)

Vijayakrishnan 4 anni fa
parent
commit
73984b9ad0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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'));
     }