@lang('fees.fees')

@foreach ($children->studentRecords as $key => $record)
@if (generalSetting()->fees_status == 0) @includeIf('backEnd.parentPanel.inc._student_direct_fees') @else
@foreach ($record->feesInvoice as $key => $studentInvoice) @php $amount = $studentInvoice->Tamount; $weaver = $studentInvoice->Tweaver; $fine = $studentInvoice->Tfine; $paid_amount = $studentInvoice->Tpaidamount; $sub_total = $studentInvoice->Tsubtotal; $balance = $amount + $fine - ($paid_amount + $weaver); @endphp @endforeach
@lang('common.sl') @lang('common.student') @lang('student.class_section') @lang('accounts.amount') @lang('fees::feesModule.waiver') @lang('fees.fine') @lang('fees.paid') @lang('accounts.balance') @lang('common.status') @lang('common.date')
{{ $key + 1 }} {{ @$children->full_name }} {{ @$record->class->class_name }} ({{ @$record->section->section_name }}) {{ $currency->currency_symbol }}{{ $amount }} {{ $currency->currency_symbol }}{{ $weaver }} {{ $currency->currency_symbol }}{{ $fine }} {{ $currency->currency_symbol }}{{ $paid_amount }} {{ $currency->currency_symbol }}{{ $balance }} @if ($balance == 0) @else @if ($paid_amount > 0) @else @endif @endif {{ dateConvert($studentInvoice->create_date) }}
@endif
@endforeach