@extends('layouts.portal') @section('title', $workshop->name . ' — Assigned Cars Matrix — Abu Dhabi Auto Care') @section('content')
{{ __('Manage login user') }} @if($workshop->user?->isWorkshop() && $workshop->user->status === 'active' && $workshop->status !== 'inactive')
@csrf
@endif
Dashboard / Partner Workshops / {{ $workshop->name }}

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

Facility vehicle repair bay queue, live stage dispatch, and workshop performance.

FACILITY PROFILE
{{ $workshop->specialization }}

{{ $workshop->address }}, {{ $workshop->city }}

Hotline: {{ $workshop->phone }} Contact: {{ $workshop->contact_person ?: 'Supervisor' }}
Bay Occupancy: {{ $workshop->active_orders_count }} / {{ $workshop->capacity_bays }} ({{ $workshop->occupancy_percentage }}%)
{{ $workshop->capacity_bays - $workshop->active_orders_count }} available repair bays
● {{ ucfirst($workshop->status) }}

All Assigned Vehicles in this Workshop {{ $assignedOrders->total() }}

@forelse($assignedOrders as $order) @empty @endforelse
Order ID Vehicle Details Requested Service & Scope Client Contact Workshop Stage Actions
{{ $order->order_number }}
{{ $order->vehicle_make }} {{ $order->vehicle_model }}
Plate: {{ $order->vehicle_plate ?: 'N/A' }} • {{ $order->vehicle_category }}
Color: {{ $order->current_color ?: 'Standard' }} → {{ $order->target_color ?: 'Factory Spec' }}
{{ $order->service_title }} {{ $order->package_type ?: 'Standard Scope' }}
{{ $order->client->name ?? 'Walk-in Client' }}
{{ $order->client->phone ?? 'N/A' }}
{{ $order->status_label }} Manage Order ➔
No vehicles currently assigned to this workshop. Assign intake orders from the Work Orders Hub.
@if($assignedOrders->hasPages())
{{ $assignedOrders->links() }}
@endif
@endsection