Эх сурвалжийг харах

change page size on billing report

= 4 жил өмнө
parent
commit
7748f8ff26

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

@@ -37,7 +37,7 @@ class PracticeManagementController extends Controller
 
 
     public function billingReport(Request $request)
     public function billingReport(Request $request)
     {
     {
-        $rows = BillingReport::paginate(200);
+        $rows = BillingReport::paginate(50);
         return view('app.practice-management.billing-report', compact('rows'));
         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');
         $sessionKey = $request->cookie('sessionKey');
         $appSession = AppSession::where('session_key', $sessionKey)->where('is_active', true)->first();
         $appSession = AppSession::where('session_key', $sessionKey)->where('is_active', true)->first();
         $authenticated = $sessionKey && $appSession;
         $authenticated = $sessionKey && $appSession;
-       
+       //TODO: confirm app_access
         if (!$authenticated) {
         if (!$authenticated) {
             $authUrl = config('stag.authUrl');
             $authUrl = config('stag.authUrl');
             if(!$authUrl){
             if(!$authUrl){