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

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

@@ -435,12 +435,12 @@ class PracticeManagementController extends Controller
             where('has_hcp_been_paid', false)->
             where('is_cancelled', false)->
             where('is_signed_by_hcp', true)->
-            orderBy('effective_date', 'desc')->paginate(30);
+            orderBy('effective_date', 'asc')->paginate(30);
         } else {
             $bills = Bill::where('has_hcp_been_paid', false)->
             where('is_cancelled', false)->
             where('is_signed_by_hcp', true)->
-            orderBy('effective_date', 'desc')->
+            orderBy('effective_date', 'asc')->
             paginate(30);
         }
         $viewData = [