@extends('layouts.paybase') @section('form-name')
@endsection @section('pay-details')

Bayaran MRSM

{{ $yuran->description }} @if($yuran->type == 'T') - Tingkatan {{ $tingkatan }} @endif
MRSM: {{ $mrsm->nama_mrsm }}
Tingkatan: {{ $tingkatan }}
No IC Pelajar: {{ $student->student_id }}
Nama Pelajar: {{ $student->student_name }}
{{-- tambahan and modification untuk bayaran tunggakan --}} @if($yuran->type == 'T')

Butiran bayaran

@foreach($fees as $fee) @endforeach
Perkara
{{ $fee->description }} - Tingkatan {{ $tingkatan }}
@else

Butiran bayaran

@foreach($fees as $fee) @endforeach @if($yuran->type == 'M') @endif
Perkara Nilai (RM)
{{ $loop->iteration }} {{ $fee->description }} {{ $fee->id == 16 ? number_format($student->caruman_value, 2) : number_format($fee->fee_amount, 2) }}
Bilangan bulan {{ $yuran->multiplier }}
Jumlah {{ number_format($nilai,2) }}
@endif
@endsection @section('pay-amount') @if($yuran->type == 'T')
@else
{{ number_format($nilai,2) }}
@endif {{-- habis tambahan dan modification --}} @endsection @section('button-block') @parent Kembali @endsection