logicpowerhouse 4 년 전
부모
커밋
066bd5f818
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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,