@extends('layouts.portal') @section('title', 'Partner Workshop Portal — Abu Dhabi Auto Care') @section('content')
PARTNER FACILITY DISPATCH • {{ strtoupper($workshop->city) }}

{{ $workshop->name }} {{ $workshop->code }}

Partner workshop operations dashboard. Real-time repair bay management and stage progression.

Partner Mode Active • Client Privacy Protected
Vehicles in Your Repair Bays {{ $assignedJobs->count() }}
Active Bay Load {{ $assignedJobs->count() }} / {{ $workshop->capacity_bays }}
Completed by Your Facility {{ $completedJobsCount }}
Pending Intake {{ $pendingJobsCount }}
Paint Booth / Ready {{ $inPaintJobsCount }} / {{ $readyJobsCount }}

Workshop Stage Distribution

Filtered operational volume for this partner facility.

Live data

Assigned Vehicles in Progress ({{ $assignedJobs->count() }})

{{ $workshopStatusUpdatesEnabled ? 'Job Stage Updates Logged Directly to Network Tracker' : 'Status changes are controlled by admin module settings' }}
@forelse($assignedJobs as $job)
Job #{{ $job->order_number }}

{{ $job->vehicle_make }} {{ $job->vehicle_model }} ({{ $job->vehicle_year ?: 'N/A' }})

Vehicle Plate: {{ $job->vehicle_plate ?: 'To be verified' }} • Category: {{ $job->vehicle_category }} @if($job->preferred_date) • Intake Date: {{ $job->preferred_date->format('M d, Y') }} @endif
● {{ $job->status_label }}
Assigned Service: {{ $job->service_title }} @if($job->package_type) {{ $job->package_type }} @endif
Current Body Color: {{ $job->current_color ?: 'Factory Original' }}
Target Finish Color: {{ $job->target_color ?: 'OEM Matching Refresh' }}
Progress Milestone: {{ $job->progress_percent }}% Complete
@if($job->customer_notes)
Vehicle Scope / Technical Notes:

{{ $job->customer_notes }}

@endif @if(!empty($job->vehicle_photos) && is_array($job->vehicle_photos))
Inspection Condition Photos ({{ count($job->vehicle_photos) }}):
@foreach($job->vehicle_photos as $photo) Inspection photo @endforeach
@endif
@csrf
Workshop Progress Showcase

Add professional process photos and a customer-facing description.

@if(!empty($job->work_photos))
@foreach($job->work_photos as $photo)Work progress@endforeach
@endif
@if($workshopStatusUpdatesEnabled)
@csrf
@else
Status changes are disabled. An administrator can turn on Workshop Portal Status Changer from Feature Modules.
@endif
@empty

No vehicles currently in repair queue

New vehicle intakes assigned to your facility will appear here immediately with complete vehicle specs and photos.

@endforelse
@endsection