{{ __('app.fees.waivers.title') }}

{{ __('app.fees.waivers.desc') }}

@can('fee_waivers.create') {{ __('app.fees.waivers.create') }} @endcan
@if ($notice) {{ $notice }} @endif @if ($errors->any())
    @foreach ($errors->all() as $message)
  • {{ $message }}
  • @endforeach
@endif @if ($showForm)
@foreach ($years as $option) @endforeach @foreach ($students as $option) @endforeach @foreach ($needHeads as $option) @endforeach @foreach ($types as $option) @endforeach

{{ __('app.fees.waivers.approval_hint') }}

{{ __('app.actions.cancel') }} {{ __('app.fees.waivers.submit') }}
@endif
@foreach ($years as $option) @endforeach @foreach ($statuses as $option) @endforeach @foreach ($heads as $option) @endforeach
@forelse ($waivers as $waiver) @empty @endforelse
{{ __('app.fees.fields.student') }} {{ __('app.fees.fields.head') }} {{ __('app.fees.fields.waiver') }} {{ __('app.fees.fields.period') }} {{ __('app.fees.fields.reason') }} {{ __('app.fees.fields.status') }} {{ __('app.actions.view') }}
{{ $waiver->student?->localizedName() }} {{ $waiver->student?->student_uid }} {{ $waiver->head?->localizedName() }} {{ $waiver->head?->frequency?->label() }} @if ($waiver->type->value === 'percentage') {{ rtrim(rtrim(number_format((float) $waiver->value, 2, '.', ''), '0'), '.') }}% @else {{ number_format((float) $waiver->value, 2) }} @endif {{ $waiver->type->label() }} {{ $waiver->starts_on->translatedFormat('d M Y') }} — {{ $waiver->ends_on?->translatedFormat('d M Y') ?? __('app.fees.structures.open_ended') }} {{ $waiver->reason }} @if ($waiver->rejection_reason) {{ $waiver->rejection_reason }} @endif {{ $waiver->status->label() }} {{ $waiver->requester?->name ?? '—' }} @if ($waiver->approved_at) · {{ $waiver->approver?->name }} @endif
@can('fee_waivers.approve') @if ($waiver->isPending()) {{ __('app.actions.approve') }} {{ __('app.actions.reject') }} @endif @endcan
@if ($rejectingWaiverId === $waiver->id)
@error('waiverRejectionReason')

{{ $message }}

@enderror
{{ __('app.actions.cancel') }} {{ __('app.actions.reject') }}
@endif
@if ($waivers->hasPages())
{{ $waivers->links() }}
@endif