|
@include('components.tables._openPhotoAndPdf',[
'asset' => file_exists($arte->imagem) ? $arte->imagem : 'pmar/assets/img/icons/default.png',
'alt' => $arte->nome_peca,
'title' => $arte->nome_peca,
'text' => 'Foto',
'index' => $index,
])
|
{{ date('d/m/Y H:m:s', strtotime($arte->created_at)) }} |
{{ $arte->codigo_acervo }} |
{{ $arte->nome_peca }} |
{{ $arte->ano_arte }} |
{{ optional($arte->tipo)->tipo ?? 'Não informado' }} |
{{ optional($arte->modoAquisicao)->modo_aquisicao ?? 'Não informado' }} |
{{ optional($arte->material)->material ?? 'Não informado' }} |
{{ optional($arte->proprietario)->proprietario ?? 'Não informado' }} |
{{ optional($arte->localizacao)->proprietario ?? 'Não informado' }} |
{{ $arte->permitir_exibicao }} |
@include('components.buttons._deleteButton', [
"message" => __("* Confirma a ativação desta peça?"),
"route" => "admin.cultura.arteSacra.inativarOuAtivar",
"id" => $arte->id,
"title" => "Ativar",
"method" => "post",
"fontawesome" => '',
"permission" => "GERENCIADOR_DO_CADASTRO_DE_ARTE_SACRA",
])
@include('components.buttons._deleteButton', [
"message" => __("* Confirma a exclusão permanente desta peça?\n\nEssa ação não poderá ser desfeita."),
"route" => "admin.cultura.arteSacra.destroy",
"id" => $arte->id,
"title" => "Excluir",
"fontawesome" => '',
"permission" => "GERENCIADOR_DO_CADASTRO_DE_ARTE_SACRA",
])
|
@php $index++; @endphp
@endforeach