@extends('layouts.app') @section('title', 'Return Book') @section('content')

Active Loans

@forelse($activeLoans as $loan) @empty @endforelse
BookBorrowerDue DateActions
{{ $loan->book->title }} {{ $loan->student->full_name ?? '—' }} {{ \Illuminate\Support\Carbon::parse($loan->due_at)->format('d M, Y') }}
@csrf
@csrf
No active loans.
@endsection