@if(count($students)>0) @foreach($students as $student) @php($sl = $loop->iteration) @endforeach @endif @if(count($students)>0) @endif
Sl. Name Stdn. ID Moth. Mob. Payment Details Total Discount(Tk.) Receivable(Tk.) Remark Select All @if(count($students)>0) @endif
{{ $sl }} {{ $student['name'] }} {{ $student['roll'] }} {{ $student['mother_mobile'] }} @php($chargesForOneStudent = 0) @foreach($charges as $charge) @php($chargesForOneStudent += $charge['amount']) @endforeach
: {{ $charge['amount'] }}
{{ $chargesForOneStudent }}
@foreach($charges as $charge) @endforeach