diff --git a/app/Http/Controllers/Exports/ExportCustomersToExcelController.php b/app/Http/Controllers/Exports/ExportCustomersToExcelController.php index 9299e1a8..c63370a9 100644 --- a/app/Http/Controllers/Exports/ExportCustomersToExcelController.php +++ b/app/Http/Controllers/Exports/ExportCustomersToExcelController.php @@ -246,12 +246,12 @@ class ExportCustomersToExcelController public function exportAllCustomersInfoForLarkSystem(Request $request) { $password = $request->input('password'); - if ($password !== 'exchange_all_customers_data') { + if ($password !== 'all_customers_data') { return response()->json(['error' => 'Invalid password'], 403); } $exportsAllCustomersInfoForLarkSystem = new ExportsAllCustomersInfoForLarkSystem($request); - $exportFileName = 'all_customers_info_for_lark_system.xls'; + $exportFileName = 'exchange_all_customers_info_for_lark_system.xls'; $filesystemDriver = Storage::getDefaultDriver(); if ($filesystemDriver === 's3') { diff --git a/resources/views/pages/downloads/index.blade.php b/resources/views/pages/downloads/index.blade.php index 85cb7c6d..355aa1a2 100644 --- a/resources/views/pages/downloads/index.blade.php +++ b/resources/views/pages/downloads/index.blade.php @@ -73,7 +73,7 @@