{{ $title }} @php $spp1 = $spp->spp1 - $student->spp1; $spp2 = $spp->spp2 - $student->spp2; $spp3 = $spp->spp3 - $student->spp3; $kelas = new \App\Models\ClassRoom(); @endphp
Data Siswa
Nis : {{ $student->nis }}
Nama Siswa : {{ $student->name }}
Jenis Kelamin : {{ $student->gender }}
Kelas : {{ $kelas->now_class($student->tahun_masuk, $student->class->name_class) }}
Jurusan : {{ $student->class->jurusan }}

@if ($class == 1) @elseif ($class == 2) @elseif ($class == 3) @endif
- Sudah DiBayar Tagihan Thn.{{ $tahun_ajaran }} Sisa
Spp Rp. {{ number_format($student->spp1, 0, ',', '.') }} Rp. {{ number_format($spp->spp1, 0, ',', '.') }} Rp. {{ number_format($spp->spp1 - $student->spp1, 0, ',', '.') }}
Spp Rp. {{ number_format($student->spp2, 0, ',', '.') }} Rp. {{ number_format($spp->spp2, 0, ',', '.') }} Rp. {{ number_format($spp->spp2 - $student->spp2, 0, ',', '.') }}
Spp Rp. {{ number_format($student->spp3, 0, ',', '.') }} Rp. {{ number_format($spp->spp3, 0, ',', '.') }} Rp. {{ number_format($spp->spp3 - $student->spp3, 0, ',', '.') }}
@csrf @if ($class == 1) @if ($spp1 > 1) @else @endif @elseif ($class == 2) @if ($spp2 > 1) @else @endif @elseif ($class == 3) @if ($spp3 > 1) @else @endif @endif
Pembayaran Nominal
Spp
Rp.
Tanggal
Spp
Rp.
Tanggal
Spp
Rp.
Tanggal