소스 검색

updated billing report

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>