{{ __('Daftar Potongan Siswa') }}

@if(request('school_id') || request('academic_year')) @endif
Set Potongan Baru
@forelse ($studentDiscounts as $index => $item) @empty @endforelse
No Nama Siswa Jenis Potongan Untuk Biaya Periode / Bulan Aksi
{{ $studentDiscounts->firstItem() + $index }}
{{ $item->student->nama_lengkap }}
{{ $item->student->school->name ?? '-' }} | {{ $item->student->classroom->name ?? '-' }}
{{ $item->discount->name }}
@if($item->discount->type == 'NOMINAL') Potongan: Rp {{ number_format($item->discount->value) }} @else Potongan: {{ $item->discount->value }}% @endif
{{ $item->paymentType->name }}
TA: {{ $item->academic_year }}
@if($item->months)
@foreach($item->months as $bulan) {{ substr($bulan, 0, 3) }} @endforeach
@else Semua Bulan / Sekali Bayar @endif
@csrf @method('DELETE')
Belum ada data potongan siswa.
{{ $studentDiscounts->links() }}