fixed: error callback data

This commit is contained in:
zhadaarsita 2026-02-26 11:15:17 +07:00
parent 9683e685c7
commit 90e58856bb
4 changed files with 8 additions and 16 deletions

View File

@ -61,7 +61,7 @@
<div class="fw-bold text-dark">{{ $item['peminjam'] }}</div>
<span class="badge bg-light text-secondary border mt-1 mb-1">{{ $item['kelas'] }}</span>
<div class="small text-muted">
<i class="bi bi-telephone me-1"></i>{{ $item['no_hp'] }}
<i class="bi bi-telephone me-1"></i>{{ $item['nomor_hp'] }}
</div>
</td>
<td>

View File

@ -75,7 +75,7 @@
</td>
<td>
<div class="fw-bold">{{ $transaksi['peminjam'] }}</div>
<div class="small text-muted">{{ $transaksi['no_hp'] }}</div>
<div class="small text-muted">{{ $transaksi['nomor_hp'] }}</div>
</td>
<td>
<ul class="mb-0 ps-3 small">

View File

@ -21,14 +21,14 @@
<div class="mb-3">
<label for="nip" class="form-label">NIP/NIK</label>
<input id="nip" class="form-control" type="text" name="nip" required autofocus />
<input id="nip" class="form-control" type="text" placeholder="Masukan NIP/NIK" name="nip" required autofocus />
<x-input-error :messages="$errors->get('nip')" class="mt-2" />
</div>
<div class="mb-3">
<label for="password" class="form-label">Kata Sandi</label>
<div class="input-group">
<input id="password" class="form-control" type="password" name="password" required />
<input id="password" class="form-control" placeholder="Masukan kata sandi" type="password" name="password" required />
<button class="btn btn-outline-secondary" type="button" id="togglePassword">
<i class="bi bi-eye-slash-fill"></i>
</button>

View File

@ -29,18 +29,13 @@
{{-- INPUT USERNAME (NISN/NIP) --}}
<div class="mb-3">
<label for="{{ $role == 'siswa' ? 'nisn' : 'nip' }}" class="form-label fw-semibold small">
{{ $role == 'siswa' ? 'Nomor Induk Siswa Nasional (NISN)' : 'NIP / NIK' }}
{{ $role == 'siswa' ? 'Nomor Induk Siswa Nasional (NISN)' : 'NIP/NIK' }}
</label>
<div class="input-group">
<span class="input-group-text bg-light text-muted border-end-0">
<i class="bi bi-person-fill"></i>
</span>
@if ($role == 'siswa')
<input id="nisn" class="form-control border-start-0 ps-2 bg-light" type="text" name="nisn"
placeholder="Contoh: 0012345678" required autofocus />
<input id="nisn" class="form-control" type="text" name="nisn" placeholder="Masukan NISN" required autofocus />
@else
<input id="nip" class="form-control border-start-0 ps-2 bg-light" type="text" name="nip"
placeholder="Contoh: 19800101..." required autofocus />
<input id="nip" class="form-control" type="text" name="nip" placeholder="Masukan NIP/NIK" required autofocus />
@endif
</div>
{{-- Error Message --}}
@ -57,10 +52,7 @@
<label for="password" class="form-label fw-semibold small">Kata Sandi</label>
</div>
<div class="input-group">
<span class="input-group-text bg-light text-muted border-end-0">
<i class="bi bi-lock-fill"></i>
</span>
<input id="password" class="form-control border-start-0 border-end-0 ps-2 bg-light" type="password"
<input id="password" class="form-control border-end-0" type="password"
name="password" placeholder="Masukan kata sandi" required />
<button class="btn btn-light border border-start-0 text-muted" type="button" id="togglePassword">
<i class="bi bi-eye-slash-fill"></i>