@extends('layouts.portal') @section('title', 'Partner Workshops Management — Abu Dhabi Auto Care') @section('content')
Dashboard / Partner Workshops

Partner Workshops Directory NETWORK

Manage affiliated repair facilities, spray booth bays, and live vehicle dispatches across Abu Dhabi.

Total Network Partners {{ $stats['total_workshops'] }}
🏭
Active Facilities {{ $stats['active_workshops'] }}
✓
Total Spray & Repair Bays {{ $stats['total_capacity_bays'] }}
Vehicles in Workshop Bays {{ $stats['total_assigned_cars'] }}
@if($search || $status) Reset @endif
@forelse($workshops as $ws)
{{ $ws->code }} ● {{ ucfirst($ws->status) }}

{{ $ws->name }}

{{ $ws->specialization }}

{{ $ws->address }}, {{ $ws->city }}
{{ $ws->contact_person ?: 'Facility Supervisor' }}
Bay Occupancy: {{ $ws->active_orders_count }} / {{ $ws->capacity_bays }} Bays ({{ $ws->occupancy_percentage }}%)
{{ __('Manage login user') }} @if($ws->user?->isWorkshop() && $ws->user->status === 'active' && $ws->status !== 'inactive')
@csrf
@endif
@empty
🏭

No partner workshops registered yet

Register your network workshops across Abu Dhabi to dispatch vehicles and track bay capacities.

+ Register First Partner Workshop
@endforelse
@if($workshops->hasPages())
{{ $workshops->links() }}
@endif
@endsection