Explorar o código

fixed notes ordering

= %!s(int64=4) %!d(string=hai) anos
pai
achega
c4207dabdd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/PracticeManagementController.php

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

@@ -372,7 +372,7 @@ class PracticeManagementController extends Controller
 
     public function billingManager(Request $request, $proUid = null)
     {
-        $notes = Note::orderBy('created_at', 'desc')->paginate();
+        $notes = Note::orderBy('effective_dateest', 'desc')->paginate();
         return view('app.practice-management.billing-manager', compact('notes'));
     }