@extends('layouts.admin') @section('title', 'Documents') @section('page-title', match($activeTab){ 'pending'=>'Pending Validation', 'approved'=>'Approved Documents', 'rejected'=>'Rejected Documents', default=>'All Documents' }) @section('content')
| Document | Client | Type | Submitted | Status | Actions |
|---|---|---|---|---|---|
|
{{ $doc->title }}
{{ $doc->original_filename }} |
{{ $doc->user->name }}
{{ $doc->user->email }} |
{{ $doc->documentType->name }} | {{ $doc->submitted_at?->format('d M Y') }} | {{ $doc->statusLabel() }} |
@if(in_array($doc->status,['pending','under_review']))
Review
@endif
|