@php $profileUser = $user ?? null; $modalSuffix = $profileUser?->id ?? 'sem-usuario'; $fotoPadrao = 'pmar/assets/img/icons/usuario.png'; $fotoSrc = asset(optional($profileUser)->photo ?? $fotoPadrao); $nomeExibicao = $profileUser?->name ?: __('Não informado'); $lotacao = $profileUser?->pertence ? "{$profileUser->pertence->name} ({$profileUser->pertence->abbreviation})" : __('Não informada'); @endphp
{{ __('* Este cadastro não possui usuário vinculado.') }}
@else @include('components.inputs._label',[ 'for' => 'labelNomeCompleto', 'label' => 'Nome', 'text' => $nomeExibicao, ]) @include('components.inputs._label',[ 'for' => 'LabelLotacao', 'label' => 'Lotação', 'text' => $lotacao, ]) @include('components.inputs._label',[ 'for' => 'labelCPF', 'label' => 'CPF', 'text' => $profileUser->cpf ?: __('Não informado'), ]) @if(!empty($profileUser->matriculation)) @include('components.inputs._label',[ 'for' => 'labelMatricula', 'label' => 'Matrícula', 'text' => $profileUser->matriculation, ]) @endif @endif