@extends('layouts.app') @php use App\Models\Permission; use App\Support\Format; $canManage = auth()->user()->hasPermission(Permission::RECORD_MANAGE); @endphp @section('title', 'Agreement files') @section('heading', 'Showroom Agreement Files') @section('subheading', 'Clause 10.2 — the hardcopy files, and where each one is') @section('actions') Retrieval log @if ($canManage) Open a file @endif @endsection @section('content')
| Showroom | Landlord | Cabinet | Where it is | Kept until |
|---|---|---|---|---|
|
{{ $file->showroom }}
@if ($file->lot_no)
Lot {{ $file->lot_no }}
@endif
|
{{ $file->landlord ?: '—' }} | {{ $file->cabinet }} {{ $file->classification }} |
{{ $file->location_label }}
@if ($file->currentRetrieval)
{{ $file->currentRetrieval->retrieved_by_name }},
since {{ Format::date($file->currentRetrieval->retrieved_on) }}
@endif
|
@if ($file->disposed_on) Disposed {{ Format::date($file->disposed_on) }} @elseif ($file->retain_until) {{ Format::date($file->retain_until) }} @if ($file->isPastRetention()) due a clear-out @endif @else while the tenancy runs @endif |