mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-26 07:53:58 +00:00
update /export/all-customers-info-for-lark-system
This commit is contained in:
@@ -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') {
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
<div class="col-md-6">
|
||||
<div class="card mb-3">
|
||||
<div class="card-body d-flex justify-content-between align-items-center">
|
||||
<span>all_customers_info_for_lark_system.xls</span>
|
||||
<span>exchange_all_customers_info_for_lark_system.xls</span>
|
||||
<password-protected-download-component custom-class="btn btn-primary" :url="route('exportAllCustomersInfoForLarkSystem.export')">
|
||||
<i class="fa fa-download"></i> Download
|
||||
</password-protected-download-component>
|
||||
|
||||
Reference in New Issue
Block a user