TeamWatch Drafts Report

Generated on {{ date('F j, Y \a\t g:i A') }}

{{ $totalDrafts }}
Total Drafts
{{ $completedDrafts }}
Completed
{{ $pendingDrafts }}
Pending
{{ $rejectedDrafts }}
Rejected

All Drafts Data

@if($drafts->count() > 0) @foreach($drafts as $draft) @endforeach
ID Applicant Country Related TKT Status Assigned To Created Date Class
#{{ $draft->id }} {{ $draft->Applicant ?? 'N/A' }} {{ $draft->country_name ?? 'N/A' }} {{ $draft->related_TKT ? 'TKT #' . $draft->related_TKT : 'N/A' }} {{ $draft->status ?? 'Created' }} {{ $draft->assigned_user_name ?? 'Unassigned' }} {{ $draft->created_at ? \Carbon\Carbon::parse($draft->created_at)->format('M j, Y') : 'N/A' }} {{ $draft->class ?? 'N/A' }}
@else

No Drafts Found

There are currently no drafts in the system.

@endif @if($statusData->count() > 0)

Status Distribution

@foreach($statusData as $status => $count)
{{ $count }}
{{ $status }}
@endforeach
@endif @if($monthlyData->count() > 0)

Monthly Trends (Last 6 Months)

@foreach($monthlyData->take(6) as $month => $count)
{{ $count }}
{{ \Carbon\Carbon::parse($month . '-01')->format('M Y') }}
@endforeach
@endif
← Back to Drafts