|
@@ -384,7 +384,7 @@ class PracticeManagementController extends Controller
|
|
|
|
|
|
// Generate PDF
|
|
|
public function downloadClaims() {
|
|
|
- $claims = Claim::where('was_submitted', false)->orWhere('was_submitted', null)->orderBy('created_at', 'desc')->get();
|
|
|
+ $claims = Claim::where('was_submitted', false)->orWhere('was_submitted', null)->orderBy('created_at', 'desc')->limit(100)->get();
|
|
|
view()->share('claims', $claims);
|
|
|
|
|
|
$pdf = PDF::loadView('app.practice-management.claims-pdf', $claims);
|