logicpowerhouse 4 anni fa
parent
commit
066bd5f818
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      app/Http/Controllers/PracticeManagementController.php

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

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