unknown преди 4 години
родител
ревизия
37ade502e1
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      app/Http/Controllers/PracticeManagementController.php
  2. 1 1
      resources/views/app/practice-management/billing-report.blade.php

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

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

+ 1 - 1
resources/views/app/practice-management/billing-report.blade.php

@@ -76,7 +76,7 @@
                 </tbody>
             </table>
             <div>
-{{--                {{$bills->links()}}--}}
+                {{$rows->links()}}
             </div>
         </div>
     </div>