@extends('layouts.app') @section('title', 'PRO Operations') @section('content')

Field operations & document accountability

PRO Operations

External visits, authority submissions, expenses and original-document custody.

@if(auth()->user()->hasPermission('pro.manage'))
@endif
J

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

D

Documents in Custody

{{ $custodyCount }}

Not yet delivered to owner

@if(auth()->user()->hasPermission('pro.manage'))

Assign PRO Job

Link every field visit to an application.

@csrf

Receive Original Document

Generate a non-sensitive internal custody tag.

@csrf
@endif

Field Job Board

Application-linked external work queue.

Clear filter
@forelse($jobs as $job)@empty@endforelse
JobApplicationDestinationAssigned PROTimingExpenseStatus / 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']))
@csrf
@else{{ str($job->status)->replace('_',' ')->title() }}@endif
PNo PRO jobs

Assign field work directly from an active application.

{{ $jobs->links() }}

Original Document Custody

Current holder, physical location and handover state.

{{ $custodies->count() }} recent records
@forelse($custodies as $custody)@empty@endforelse
Custody TagDocument / OwnerApplicationLocationCurrent HolderStatus / 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() }}
@csrf
@else{{ str($custody->status)->replace('_',' ')->title() }}@endif
DNo original documents in custody

Received passports and originals will be tracked here.

@endsection