@php $generated = session('generated_password'); $profile = $account?->profile; $rows = $account ? array_filter([ 'Username' => $account->username, $account->role->identifierLabel() => $profile?->nomor_induk, 'Jabatan' => $profile?->jabatan ?? null, 'Unit kerja' => $profile?->unit_kerja ?? null, 'Masuk terakhir' => $account->last_login_at?->locale('id')->isoFormat('D MMMM YYYY, HH.mm'), ], fn ($value) => filled($value)) : []; @endphp
@if (is_array($generated))

Kata sandi: {{ $generated['password'] }}

Hanya ditampilkan sekali. Sampaikan langsung kepada pemilik akun, jangan lewat kanal terbuka.

@endif
Cari akun
@if ($username !== '' && $account === null) Tidak ada akun SIAKAD dengan NIP atau NIM {{ $username }}. Periksa kembali penulisannya. @endif @if ($account)

{{ $account->name }}

{{ $account->role->label() }} @if ($account->is_active) Aktif @else Dibekukan @endif
@foreach ($rows as $label => $value)
{{ $label }}
{{ $value }}
@endforeach
@csrf @method('PUT')
@unless ($account->is_active)

Akun ini dibekukan. Mengatur ulang kata sandi tidak mengaktifkannya kembali.

@endunless Simpan kata sandi
@endif