@extends('layouts.app') @section('content')
Controle de empréstimos do acervo.
| Item | Aluno/Responsável | Data | Devolução | Status | Ações |
|---|---|---|---|---|---|
| {{ $loan->item?->title ?? '-' }} | {{ $loan->student?->name ?? $loan->borrower_name ?? '-' }} | {{ $loan->loaned_at?->format('d/m/Y') ?? '-' }} | {{ $loan->due_at?->format('d/m/Y') ?? '-' }} | {{ $loan->returned_at ? 'Devolvido' : 'Em aberto' }} | @if (!$loan->returned_at) @endif |
| Nenhum empréstimo registrado. | |||||