@php($totalReceivable = 0) @if(count($students)>0) @foreach($students as $student) @endforeach @endif
SL Name ID Class Actual Fee(BDT) Discount(%) Receivable(BDT)
{{ $loop->iteration }} {{ $student['info']->name }} {{ $student['info']->roll }} {{ $student['class']->name }} {{ numberFormat($student['fee']->monthly_fee) }} {{ $student['fee']->discount }} % {{ numberFormat($receivable = $student['fee']->payable) }} @php($totalReceivable += $receivable)
Total Receivable {{ numberFormat($totalReceivable) }}