From dbb1503f23ec280087951cdf671ca25a5ec2f6cf Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Wed, 28 Aug 2024 21:18:08 +0800 Subject: [PATCH] Laravel Vapor - debug billingData.csv cannot be exported --- .../Exports/Services/ExportsAnalyticBillingTransactions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/Exports/Services/ExportsAnalyticBillingTransactions.php b/app/Classes/Modules/Exports/Services/ExportsAnalyticBillingTransactions.php index 3aad5c9d..093997d3 100644 --- a/app/Classes/Modules/Exports/Services/ExportsAnalyticBillingTransactions.php +++ b/app/Classes/Modules/Exports/Services/ExportsAnalyticBillingTransactions.php @@ -56,7 +56,7 @@ class ExportsAnalyticBillingTransactions implements FromCollection, WithHeadings return Transaction::where('type', 3) ->where('created_at', '>=', Carbon::now()->subYear()) ->orderBy('created_at', 'desc') - ->take(10) + ->take(500) ->get(); }