@extends('backend.bursar.bursar_dashboard') @section('bursar')
{{-- ========================================================== PAGE HEADER =========================================================== --}}

Debt Limit

Set the maximum outstanding debt allowed for a class.

{{-- ========================================================== DEBT LIMIT FORM =========================================================== --}}
Enter Debt Limit
@csrf
{{-- ================================================== CLASS =================================================== --}}
{{-- ================================================== TERM =================================================== --}}
{{-- ================================================== SESSION =================================================== --}}
{{-- ================================================== DEBT LIMIT =================================================== --}}
{{-- ================================================== SUBMIT BUTTON =================================================== --}}
{{-- ========================================================== SAVED DEBT LIMITS =========================================================== --}}
Debt Limit Records
@forelse($debtLimits as $index => $debt) @empty @endforelse
S/N Class Term Session Debt Limit Action
{{ $index + 1 }} {{ $debt->studentClass?->class_name ?? 'N/A' }} {{ $debt->term }} {{ $debt->session }} ₦{{ number_format($debt->debt_limit, 2) }}
No debt limit has been entered yet.
{{-- ========================================================== EDIT MODAL ========================================================== --}} {{-- ========================================================== AJAX ========================================================== --}} @endsection