|
@php
$icon = match($item->arq_extensao) {
'pdf' => 'fa-file-pdf text-danger',
'doc', 'docx' => 'fa-file-word text-primary',
'xls', 'xlsx' => 'fa-file-excel text-success',
'zip', 'rar' => 'fa-file-archive text-warning',
default => 'fa-file text-secondary'
};
@endphp
|
{{ $item->arq_titulo }}
{{ $item->arq_nome_original }}
|
{{ $item->size_formatted }} |
{{ $item->arq_extensao }} |
{{ $item->created_at->format('d/m/Y H:i') }} |
@can('arquivo-edit')
@endcan
@can('arquivo-delete')
@endcan
|
@empty