Pārlūkot izejas kodu

updated billing report

unknown 4 gadi atpakaļ
vecāks
revīzija
37ade502e1

+ 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>