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/Exports/FilesExport.php

    rc6b84df r4b7e2d3  
    55use App\Models\File;
    66use App\Models\Folder;
    7 use App\Models\User;
    87use Maatwebsite\Excel\Concerns\FromCollection;
    98use Maatwebsite\Excel\Concerns\WithHeadings;
     
    2625            $row->location,
    2726            $row->getSize($row->location) . ' MB',
    28             $row->Folder::find($row->folder_id)->name . ' - ' . Folder::find($row->folder_id)->arch_id,
     27            $row->folder_id . ' - ' . Folder::find($row->folder_id)->name . ' - ' . Folder::find($row->folder_id)->arch_id,
    2928            $row->created_at,
    3029            $row->updated_at
     
    4039            'Location',
    4140            'Size',
    42             'Folder - Archive ID',
     41            'ID - Folder - Archive ID',
    4342            'Created at',
    4443            'Updated at'
Note: See TracChangeset for help on using the changeset viewer.