@extends('layouts.app') @section('title', 'Library Fines | Library') @section('sidebar-menu') @include('schooladmin.partials.sidebar') @endsection @section('sidebar-footer')
{{ auth()->user()->school?->name ?? 'Institution Axis' }}
@endsection @section('breadcrumb') Home / Library / Fines @endsection @section('navbar-right') @endsection @section('content')| # | Borrower | Book | Due Date | Amount (KES) | Status | Paid On | Action |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $fine->user->name }} | {{ $fine->loan->book->title ?? '—' }} | {{ $fine->loan->due_date?->format('d M Y') ?? '—' }} | {{ number_format($fine->amount, 2) }} | @if($fine->status === 'paid') Paid @else Unpaid @endif | {{ $fine->paid_at ? $fine->paid_at->format('d M Y') : '—' }} | @if($fine->status === 'unpaid') @else Cleared @endif |
| No fines recorded. All borrowers are on time! | |||||||