@extends('layouts.app') @section('title', 'Company Documents') @section('breadcrumbs')
@endsection @section('content')Track licenses, registrations, and regulatory documents
| Document Type | Name / Number | Issue Date | Expiry Date | Days Left | Renewal Status | Assigned To | Actions |
|---|---|---|---|---|---|---|---|
| {{ $doc->document_type_label }} |
@if($doc->document_name)
{{ $doc->document_name }}
@endif
@if($doc->document_number)
#{{ $doc->document_number }}
@endif
@if(!$doc->document_name && !$doc->document_number)
—
@endif
|
{{ $doc->issue_date?->format('d M Y') ?? '—' }} | {{ $doc->expiry_date?->format('d M Y') ?? 'No expiry' }} | @if($doc->expiry_date) @if($doc->days_until_expiry <= 0) Expired {{ abs($doc->days_until_expiry) }}d ago @else {{ $doc->days_until_expiry }} days @endif @else — @endif | @if(auth()->user()->role === 'company_admin') @else {{ $doc->renewal_status_label }} @endif | {{ $doc->assignedUser?->name ?? '—' }} |
Start tracking company documents by adding your first one.
@if(auth()->user()->role === 'company_admin') Add Document @endifAre you sure you want to delete ? This action cannot be undone.