@extends('layouts.app') @section('title', 'PRO Operations') @section('content')
Field operations & document accountability
External visits, authority submissions, expenses and original-document custody.
Assigned Jobs
{{ $statusCounts['assigned'] ?? 0 }}
Waiting for field action
In Progress
{{ $statusCounts['in_progress'] ?? 0 }}
Currently outside or submitted
Completed
{{ $statusCounts['completed'] ?? 0 }}
Full historical trace retained
Documents in Custody
{{ $custodyCount }}
Not yet delivered to owner
Link every field visit to an application.
Generate a non-sensitive internal custody tag.
Application-linked external work queue.
| Job | Application | Destination | Assigned PRO | Timing | Expense | Status / Action |
|---|---|---|---|---|---|---|
| {{ $job->job_number }}{{ $job->created_at->format('d M Y, h:i A') }} | {{ $job->application?->application_number }}{{ $job->application?->customer?->full_name_en }} · {{ $job->application?->service?->name_en }} | {{ $job->destination }}{{ $job->purpose }} | {{ $job->proUser?->name ?? 'Unassigned' }}{{ $job->branch?->name }} | {{ $job->departure_at?->format('d M, h:i A') ?? 'Not departed' }}Due {{ $job->expected_return_at?->format('d M, h:i A') ?? 'not set' }} | AED {{ number_format((float) $job->expense_amount, 2) }} | @if(auth()->user()->hasPermission('pro.manage') && !in_array($job->status, ['completed','cancelled']))@else{{ str($job->status)->replace('_',' ')->title() }}@endif |
PNo PRO jobs Assign field work directly from an active application. | ||||||
Current holder, physical location and handover state.
| Custody Tag | Document / Owner | Application | Location | Current Holder | Status / Handover |
|---|---|---|---|---|---|
| {{ $custody->qr_code }}Received {{ $custody->received_at?->format('d M Y') }} | {{ $custody->document_name }}{{ $custody->customer?->full_name_en ?? $custody->application?->customer?->full_name_en ?? 'Not linked' }} | {{ $custody->application?->application_number ?? '—' }} | {{ $custody->storage_location ?: 'Not recorded' }} | {{ $custody->currentHolder?->name ?? 'No current holder' }} | @if(auth()->user()->hasPermission('pro.manage') && $custody->status !== 'delivered'){{ str($custody->status)->replace('_',' ')->title() }} |
DNo original documents in custody Received passports and originals will be tracked here. | |||||