Add bulk download feature and UI enhancements
Implemented a bulk download button for documents in the detail view and updated button styles and placements in related components. Additionally, removed unnecessary sleep call in the controller to improve performance.
This commit is contained in:
@@ -305,7 +305,7 @@
|
||||
} else {
|
||||
return redirect()->back()->with('error', 'Failed to create ZIP file.');
|
||||
}
|
||||
sleep(10);
|
||||
|
||||
return response()->download($zipFilePath, $zipFileName, [
|
||||
'Content-Type' => 'application/zip',
|
||||
'Content-Disposition' => 'attachment; filename="' . $zipFileName . '"',
|
||||
|
||||
Reference in New Issue
Block a user