@extends('layouts.app') @section('title', 'Processing') @section('breadcrumb')Processing@endsection @section('content')

Processing Orders

Track cabinet production and factory orders

@forelse($jobs as $job) @empty @endforelse
Job Client Stage Orders Production Progress
{{ $job->job_number }}
{{ $job->project_type ? ucfirst($job->project_type) : '—' }}
{{ $job->contact?->initials ?? '??' }}
{{ $job->contact?->full_name ?? '—' }}
{{ $job->site_suburb }}
{{ $job->stageLabel() }} @php $orderCount = $job->processingOrders?->count() ?? 0; @endphp {{ $orderCount }} order{{ $orderCount !== 1 ? 's' : '' }} @php $avgProgress = $job->processingOrders?->avg('progress_pct') ?? 0; @endphp
{{ round($avgProgress) }}% complete
No jobs in processing.
@if($jobs->hasPages())
{{ $jobs->links() }}
@endif
@endsection