|
@include('components.tables._openPhoto',[
'asset' => $guia->user->photo,
'alt' => $guia->user->firstName." ".$guia->user->lastName,
'title' => $guia->user->firstName." ".$guia->user->lastName,
'text' => 'Visualizar foto',
'index' => $index,
'style' => "width: 200px",
])
|
{{ date("d/m/Y H:m", strtotime($guia->created_at)) }} |
Nome: {{ $guia->user->firstName }} {{ $guia->user->lastName }}
Pertence a: {{ $guia->pertence->name }}
|
{{ $guia->user->cpf }} |
{{ $guia->user->email }} |
@include('components/buttons/_status', [
"index" => $index,
"route" => "admin.guias.status",
"id" => $guia->id,
"status" => $guia->status,
"permission" => "GERENCIADOR_DE_GUIAS_TURISTICOS",
])
|
@include('components/buttons/_editButton', [
"route" => "admin.guias.edit",
"id" => $guia->id,
"fontawesome" => null,
"title" => "Editar",
"permission" => "GERENCIADOR_DE_GUIAS_TURISTICOS",
])
@include('components/buttons/_deleteButton', [
"message" => "* Este guia turístico será excluído e esta ação não poderá ser desfeita?",
"route" => "admin.guias.destroy",
"id" => $guia->id,
"fontawesome" => null,
"title" => "Excluir",
"permission" => "GERENCIADOR_DE_GUIAS_TURISTICOS",
])
|
@php $index++; @endphp
@endforeach