Daftar Session Siswa

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@foreach ($siswa as $item) @php $locked = !is_null($item->deviceid) || !is_null($item->token); @endphp @endforeach
No No Induk Nama Telpon Status DeviceID Token Aksi
{{ $item->no_induk ?: '-' }}
{{ $item->nama }}
NISN: {{ $item->nisn ?: '-' }} ยท ID: {{ $item->id }}
{{ $item->telpon ?: '-' }} @if($locked) TERKUNCI @else bebas (null) @endif {{ $item->deviceid ?: '-' }} @if($item->token) {{ \Illuminate\Support\Str::limit($item->token, 32) }} @else - @endif
@csrf