@extends('layouts.app') @section('title', 'Document Vault') @section('content')
Secure storage for employee contracts, NID/passports, certifications, and compliance records
| Document Title | Associated Employee | Category | Issue Date | Expiry Date | Status | File Size | Action |
|---|---|---|---|---|---|---|---|
| {{ $doc->title }} | @if($doc->employee) {{ $doc->employee->full_name }} ({{ $doc->employee->employee_code }}) @else Company Wide @endif | {{ $doc->category->name ?? 'General' }} | {{ $doc->issue_date ? $doc->issue_date->format('d M Y') : '--' }} | {{ $doc->expiry_date ? $doc->expiry_date->format('d M Y') : 'No Expiry' }} | @if($doc->status === 'valid') Valid @elseif($doc->status === 'expiring_soon') Expiring Soon @else Expired @endif | {{ number_format($doc->file_size / 1024, 1) }} KB | Encrypted |
| No documents uploaded yet. | |||||||