logicpowerhouse 4 年之前
父节点
当前提交
bbd083471c
共有 1 个文件被更改,包括 2 次插入2 次删除
  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('has_hcp_been_paid', false)->
             where('is_cancelled', false)->
             where('is_cancelled', false)->
             where('is_signed_by_hcp', true)->
             where('is_signed_by_hcp', true)->
-            orderBy('effective_date', 'desc')->paginate(30);
+            orderBy('effective_date', 'asc')->paginate(30);
         } else {
         } else {
             $bills = Bill::where('has_hcp_been_paid', false)->
             $bills = Bill::where('has_hcp_been_paid', false)->
             where('is_cancelled', false)->
             where('is_cancelled', false)->
             where('is_signed_by_hcp', true)->
             where('is_signed_by_hcp', true)->
-            orderBy('effective_date', 'desc')->
+            orderBy('effective_date', 'asc')->
             paginate(30);
             paginate(30);
         }
         }
         $viewData = [
         $viewData = [