logicpowerhouse 4 tahun lalu
induk
melakukan
bbd083471c
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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 = [