@extends('layouts.app') @php use App\Support\Format; $tabs = [ 'outstanding' => 'Still out', 'overdue' => 'Overdue', 'returned' => 'Returned', 'all' => 'Everything', ]; @endphp @section('title', 'Records Retrieval Log') @section('heading', 'Records Retrieval Log') @section('subheading', 'Clause 10.3.2 — who has taken an agreement file, and who let them') @section('actions') Print the register Agreement files @endsection @section('content')
| File | Out | Retrieved by | What for | Approved by | Due back | Back |
|---|---|---|---|---|---|---|
|
{{ $retrieval->file->showroom }}
@if ($retrieval->file->lot_no)
Lot {{ $retrieval->file->lot_no }}
@endif
|
{{ Format::date($retrieval->retrieved_on) }} | {{ $retrieval->retrieved_by_name }} | {{ $retrieval->purpose ?: '—' }} |
{{ $retrieval->approved_by_name ?: '—' }}
{{ $retrieval->approval_mode_label }}
|
{{ Format::date($retrieval->due_back_on) }} |
@if ($retrieval->returned_on)
{{ Format::date($retrieval->returned_on) }}
{{ $retrieval->daysOut() }}
{{ \Illuminate\Support\Str::plural('day', $retrieval->daysOut()) }} out
@else
{{ $retrieval->statusLabel() }}
{{ $retrieval->daysOut() }}
{{ \Illuminate\Support\Str::plural('day', $retrieval->daysOut()) }} so far
@endif
|