{{ __('FICHA DO USUÁRIO') }}

@php $userImagePath = public_path('pmar/assets/img/profile.jpg'); if ($fotoUser) { $userImage = $fotoUser->user_image ?? null; if (!empty($userImage) && !filter_var($userImage, FILTER_VALIDATE_URL)) { $userImagePath = public_path($userImage); } } @endphp {{ __('Foto do usuário') }}
{{ __('Nome') }}: {{ $usuario->name }}
{{ __('CPF') }}: {{ $usuario->document }}
{{ __('E-mail') }}: {{ $usuario->email }}
{{ __('Telefone') }}: {{ $usuario->phone ?? __('Não informado') }}
{{ __('Cadastro') }}: {{ $usuario->created_at }}
{{ __('OCORRÊNCIAS REGISTRADAS') }}
@if ($chamados->isEmpty())
{{ __('Nenhuma ocorrência registrada.') }}
@else
@foreach ($chamados as $chamado)
OCORRÊNCIA #{{ $chamado->id }} Registrada em: {{ date('d/m/Y H:i', strtotime($chamado->created_at)) }}
@php $status = strtoupper( data_get($ultimoStatusPorChamado, $chamado->id . '.status', 'SEM STATUS'), ); @endphp
{{ __('STATUS') }}: {{ $status }}
{{ __('Órgão Responsável') }}: @php $orgao = $ultimoStatusPorChamado[$chamado->id]->organ_name ?? null; @endphp @if ($orgao) {{ $orgao }} @else {{ __('Sem órgão definido') }} @endif
{{ __('Descrição') }}:
{{ $chamado->description ?? __('Nenhuma descrição fornecida.') }}
@endforeach
@endif