Changeset bdda09f for app


Ignore:
Timestamp:
10/25/21 12:50:26 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
507ade0
Parents:
233e950
Message:

bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/Http/Controllers/Dashboard/DepartmentsController.php

    r233e950 rbdda09f  
    141141            $headers = array('Content-Type' => 'application/octet-stream');
    142142            $zip_new_name = Carbon::now()->format('d.m.Y - H:i') . '- Departments.zip';
    143             return response()->download($zip_file, $zip_new_name, $headers);
    144143        }
    145144        catch(\Exception $e){
     
    148147            return redirect()->back();
    149148    }
     149        return response()->download($zip_file, $zip_new_name, $headers);
    150150    }
    151151
Note: See TracChangeset for help on using the changeset viewer.