Ignore:
Timestamp:
10/23/21 04:03:46 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
b39afb5
Parents:
c6b84df
Message:

bug fixes, edited export, added fileSeeder for DB testing

File:
1 edited

Legend:

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

    rc6b84df r4b7e2d3  
    33namespace App\Http\Controllers\Dashboard;
    44
     5use App\Exports\DepartmentsExport;
    56use App\Exports\FilesExport;
    67use App\Exports\FoldersExport;
     
    3233
    3334    }
     35
     36    public function ExportDepartments()
     37    {
     38        return Excel::download(new DepartmentsExport(), Carbon::now()->format('d.m.Y - H:i') . ' - departments.xlsx');
     39
     40    }
     41
    3442}
Note: See TracChangeset for help on using the changeset viewer.