{{-- The Records Retrieval Log as it is printed for the cabinet — clause 10.3.2. Ruled lines, because the register is also written on by hand when the system is not to hand, and the blanks at the foot are there to be filled in with a pen. --}} @php use App\Support\Format; $labels = [ 'outstanding' => 'Files still out', 'overdue' => 'Files overdue', 'returned' => 'Files returned', 'all' => 'Every entry', ]; $date = fn ($value) => $value ? \Illuminate\Support\Carbon::parse($value)->format('d/m/Y') : ''; // Enough ruled blanks to keep writing on after it is pinned up. $blanks = max(4, 16 - $retrievals->count()); @endphp
@if (is_file(public_path('img/gintell-logo.jpg')))
@else
GINTELL
@endif
|
RECORDS RETRIEVAL LOG
Clause 10.3.2 — Showroom Agreement Files, cabinet TA01, classified Limited
|
{{ $labels[$filter] ?? 'Every entry' }}
Printed {{ now()->format('d/m/Y') }}
|
| # | Agreement file | Date out | Retrieved by | What for | Approved by | How | Date back | Received by |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $retrieval->file->showroom }} @if ($retrieval->file->lot_no) — Lot {{ $retrieval->file->lot_no }} @endif | {{ $date($retrieval->retrieved_on) }} | {{ $retrieval->retrieved_by_name }} | {{ $retrieval->purpose }} | {{ $retrieval->approved_by_name }} | {{ $retrieval->approval_mode_label }} | {{ $date($retrieval->returned_on) }} | {{ $retrieval->received_by_name }} |
| {{ $retrievals->count() + $i + 1 }} |