{{ __('Data Tagihan & Pembayaran') }}

Rekapitulasi Tagihan Siswa

Pantau status pembayaran siswa di sini.

Generate Tagihan Baru
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@forelse($students as $s) @empty @endforelse
Identitas Siswa Kelas / Sekolah Total Tagihan Total Pembayaran Progress Bayar Aksi
{{ substr($s->nama_lengkap, 0, 1) }}
{{ $s->nama_lengkap }}
NIS: {{ $s->nis }}
{{ $s->classroom->grade ?? '-' }} {{ $s->classroom->name ?? '-' }}
{{ $s->school->name }}
Rp {{ number_format($s->total_tagihan, 0, ',', '.') }}
Rp {{ number_format($s->total_bayar, 0, ',', '.') }}
@php $sisa = $s->total_tagihan - $s->total_bayar; @endphp @if($sisa > 0)
(- Rp {{ number_format($sisa, 0, ',', '.') }})
@endif
@php $percent = $s->total_items > 0 ? ($s->paid_items / $s->total_items) * 100 : 0; $color = $percent == 100 ? 'bg-green-100 text-green-800' : ($percent > 0 ? 'bg-yellow-100 text-yellow-800' : 'bg-red-100 text-red-800'); @endphp {{ $s->paid_items }} / {{ $s->total_items }} Item
Detail @if($sisa > 0)
@csrf
@else @endif

Belum ada data tagihan ditemukan.

{{ $students->links() }}