logicpowerhouse 4 rokov pred
rodič
commit
bbd083471c

+ 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 = [