|
@include('components.tables._openPhoto', [
'asset' => file_exists( $pathSystem . $centro->foto ) ? asset($centro->foto) : asset($angraDefault),
'alt' => $centro->nome,
'title' => $centro->nome,
'text' => 'Visualizar foto',
])
|
{{ date("d/m/Y H:i", strtotime($centro->created_at)) }} |
{{ $centro->nome }} |
{{ $centro->pertence->name }} |
{{ $centro->endereco->bairro }} |
{{ $centro->email }} |
{{ $centro->telefone }} |
{{ $centro->tipoCentroReferencia }} |
@if($centro->possuiRecursosMultifuncionais)
@else
@endif
|
@include('components.buttons._status', [
"index" => $index,
"route" => "admin.acaoSocial.centrosDeReferencia.status",
"id" => $centro->id,
"status" => $centro->status,
"permission" => "GERENCIADOR_DE_CENTROS_REFERENCIA",
])
|
@include('components.buttons._editButton', [
"route" => "admin.acaoSocial.centrosDeReferencia.edit",
"id" => $centro->id,
"title" => "Editar",
"fontawesome" => null,
"permission" => "GERENCIADOR_DE_CENTROS_REFERENCIA",
])
@include('components.buttons._deleteButton', [
"message" => __("* Este centro de referância será excluído e esta ação não poderá ser desfeita, deseja continuar?"),
"route" => "admin.acaoSocial.centrosDeReferencia.destroy",
"id" => $centro->id,
"title" => "Excluir",
"fontawesome" => null,
"permission" => "GERENCIADOR_DE_CENTROS_REFERENCIA",
])
|
@php $index++; @endphp
@endforeach