@foreach ($student_records as $key => $record)
@if (generalSetting()->fees_status == 0)
@includeIf('backEnd.studentPanel.inc._student_direct_fees')
@else
@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') |
@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
{{ $key + 1 }} |
{{ @$student_detail->full_name }}
|
{{ @$record->class->class_name }}
({{ @$record->section->section_name }})
|
{{ $currency }}{{ $amount }} |
{{ $currency }}{{ $weaver }} |
{{ $currency }}{{ $fine }} |
{{ $currency }}{{ $paid_amount }} |
{{ $currency }}{{ $balance }} |
@if ($balance == 0)
@else
@if ($paid_amount > 0)
@else
@endif
@endif
|
{{ dateConvert($studentInvoice->create_date) }} |
@endforeach
@endif
@endforeach