瀏覽代碼

change page size on billing report

= 4 年之前
父節點
當前提交
7748f8ff26
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      app/Http/Controllers/PracticeManagementController.php
  2. 1 1
      app/Http/Middleware/ProAuthenticated.php

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

@@ -37,7 +37,7 @@ class PracticeManagementController extends Controller
 
     public function billingReport(Request $request)
     {
-        $rows = BillingReport::paginate(200);
+        $rows = BillingReport::paginate(50);
         return view('app.practice-management.billing-report', compact('rows'));
     }
 

+ 1 - 1
app/Http/Middleware/ProAuthenticated.php

@@ -19,7 +19,7 @@ class ProAuthenticated
         $sessionKey = $request->cookie('sessionKey');
         $appSession = AppSession::where('session_key', $sessionKey)->where('is_active', true)->first();
         $authenticated = $sessionKey && $appSession;
-       
+       //TODO: confirm app_access
         if (!$authenticated) {
             $authUrl = config('stag.authUrl');
             if(!$authUrl){