{{ setting('application_name') }}

{{ setting('address') }}

@if ($data['result'])

{{___('common.Class (Section)')}} : {{$data['result'][0]->student->session_class_student->class->name}} ({{$data['result'][0]->student->session_class_student->section->name}})

@endif
@foreach ($data['result'] as $key=>$item) @endforeach
{{___('common.#')}} {{___('common.Name')}} {{___('common.Admission No')}} {{___('common.Fees type')}} {{___('common.Amount')}} ({{ Setting('currency_symbol') }})
{{ ++$key }} {{ $item->student->first_name }} {{ $item->student->last_name }} {{ $item->student->admission_no }} {{ $item->feesMaster->type->name }} {{ @$item->feesMaster->amount }} @if (date('Y-m-d') > $item->feesMaster->date && $item->fees_collect_count == 0) + {{ @$item->feesMaster->fine_amount }} @elseif($item->fees_collect_count == 1 && $item->feesMaster->date < $item->feesCollect->date) + {{ @$item->feesMaster->fine_amount }} @endif