From 5c39d4555e239310bbd5db5c7194d3a498ecce5a Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Mon, 17 Jun 2024 12:15:22 +0800 Subject: [PATCH] Export file directly from Laravel Vapor without going through S3 bucket --- .../Controllers/Exports/ExportCustomersToExcelController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Exports/ExportCustomersToExcelController.php b/app/Http/Controllers/Exports/ExportCustomersToExcelController.php index 69a70ae7..ae266913 100644 --- a/app/Http/Controllers/Exports/ExportCustomersToExcelController.php +++ b/app/Http/Controllers/Exports/ExportCustomersToExcelController.php @@ -58,7 +58,7 @@ class ExportCustomersToExcelController public function paymentTransactions(Request $request){ $exportsTransactions = new ExportsPaymentTransactions($request); - $exportFileName = 'payment-transactions.xls'; + $exportFileName = 'payment-transactions.xlsx'; $filesystemDriver = Storage::getDefaultDriver(); if($filesystemDriver === 's3'){