@extends('parent-panel.partials.master') @section('title') {{ ___('common.Fees list') }} @endsection @section('content')
@csrf

{{ ___('common.Filtering') }}

@error('student')
{{ $message }}
@enderror

{{ ___('fees.Fees List') }}

@if (@$data['fees_assigned']) @forelse (@$data['fees_assigned'] as $item) @empty @endforelse @endif
{{ ___('fees.group') }} {{ ___('fees.type') }} {{ ___('fees.due_date') }} {{ ___('fees.amount') }} ({{ Setting('currency_symbol') }}) {{ ___('common.status') }} {{ ___('fees.fine_type') }} {{ ___('fees.percentage') }} {{ ___('fees.fine_amount') }} ({{ Setting('currency_symbol') }})
{{ @$item->feesMaster->group->name }} {{ @$item->feesMaster->type->name }} {{ dateFormat(@$item->feesMaster->due_date) }} {{ @$item->feesMaster->amount }} @if (date('Y-m-d') > $item->feesMaster->due_date && $item->fees_collect_count == 0) + {{ @$item->feesMaster->fine_amount }} @elseif($item->fees_collect_count == 1 && $item->feesMaster->due_date < $item->feesCollect->date) + {{ @$item->feesMaster->fine_amount }} @endif @if ($item->fees_collect_count) {{ ___('fees.Paid') }} @else {{ ___('fees.Unpaid') }} @endif @if (@$item->fine_type == 0) {{ ___('fees.none') }} @elseif(@$item->fine_type == 1) {{ ___('fees.percentage') }} @elseif(@$item->fine_type == 2) {{ ___('fees.fixed') }} @endif {{ @$item->percentage }} {{ @$item->fine_amount }}

{{ ___('common.No data available') }}

{{ ___('common.Please add new entity regarding this table') }}

@endsection