@extends('layouts.portal') @section('title', $sectionTitle . ' - Configuration - Abu Dhabi Auto Care') @section('content')
Dashboard / Configuration / {{ $sectionTitle }}

{{ $sectionTitle }}

Manage website, workflow, catalog, access, branding, and operational configuration.

@if($currentSection === 'appearance') @endif View Public Site ↗
@if($currentSection === 'appearance')
@csrf
AUTOMOTIVE SAMPLES

Choose a Handcrafted Theme Sample

Click any card to instantly switch the active site theme and primary accent hue.

Selected:
LUXURY DARK

1. Midnight Gold

Deep obsidian void slate with glowing warm metallic amber highlights. UAE supercar workshop aesthetic.

Mode: Dark Accent: #F59E0B
PRECISION LIGHT

2. Titanium Ceramic

Crisp porcelain clean white surfaces with precision ceramic blue and slate contrast. High visibility.

Mode: Light Accent: #0284C7
MOTORSPORT GT

3. Emerald GT

British racing dark British emerald tones with vivid neon green highlights. High-speed motorsport styling.

Mode: Dark Accent: #10B981

System Default Mode

Select how the portal and public website display by default for first-time visitors.

Primary Brand Accent Color

Applied to buttons, badges, tracking progress milestones, and interactive borders.

Presets:

Front-End Hero Banner Configuration

Settings persist instantly to database & view caches.
@elseif($currentSection === 'modules')
@csrf
SUPER ADMIN ENGINE CONTROL • DYNAMIC FEATURE FLAGS

Feature Modules & System Component Switches

Instantly toggle front-end features, pricing tools, demo tools, and client interactions across the entire platform.

{{ count($featureModules) }} Features Configured
@foreach($featureModules as $fKey => $fData)
{{ $fData['badge'] }}

{{ $fData['name'] }}

{{ $fData['desc'] }}

{{ $fData['enabled'] ? 'Active (Live)' : 'Disabled (Hidden)' }}
@endforeach
Toggles take effect immediately across all website and portal sessions.
@elseif($currentSection === 'permissions')
@csrf
SUPER ADMIN ACCESS MATRIX • GRANULAR RBAC CONTROL

Role Permissions & Access Control Matrix

Control what each user role is permitted to Show/View, Add New, Edit, and Delete across system modules.

Super Admin: Unrestricted 👑
@foreach($rolesList as $roleKey => $roleInfo)
{{ $roleInfo['title'] }} role: {{ $roleKey }}
@if($roleKey === 'admin') Workshop operations, customer assignments & quotes @elseif($roleKey === 'workshop') Partner workshops updating assigned stages (Strict Client Privacy) @elseif($roleKey === 'client') Customer vehicle portal and service bookings @endif
@foreach($actionsList as $actKey => $actLabel) @endforeach @foreach($modulesList as $modKey => $modTitle) @if($roleKey === 'client' && !in_array($modKey, ['orders', 'services'])) @continue @endif @foreach($actionsList as $actKey => $actLabel) @php $checked = !empty($currentPerms[$roleKey][$modKey][$actKey]); @endphp @endforeach @endforeach
System Module{{ $actLabel }}
{{ $modTitle }}
@endforeach
Permissions take effect immediately for all authenticated roles.
@elseif($currentSection === 'catalog')
@csrf
Service Catalog

Manage Service Categories

Used by public service filters, admin service forms, and service category labels.

Add Service
@foreach($serviceCategories as $categoryKey => $categoryLabel)
key: {{ $categoryKey }}
@endforeach
Order Forms

Manage Car Categories

Used by price tiers, public booking, admin intake, and analytics charts.

@foreach($vehicleCategories as $categoryKey => $categoryLabel)
key: {{ $categoryKey }}
@endforeach
Categories update service forms, order forms, public filters, and dashboard analytics.
@else
@csrf @if($currentSection === 'general')

Business Identity & Workshop Name

Official commercial registered names appearing on invoices and site headers.

Currency & Language Defaults

Controls pricing labels and the first language used when no visitor language session exists.

Customer Communications & Hotline

Live phone numbers, WhatsApp alerts, and customer support inbox.

Physical Workshop Address & Navigation

Location shown on the contact page and customer booking receipts.

Brand Visual Assets (Logo & Favicon)

Upload high-resolution SVGs or PNGs for website and printable job cards.

Upload New Logo File:
@if(\App\Models\Setting::get('site_logo'))
Current logo
@endif
Upload New Favicon File:
@if(\App\Models\Setting::get('site_favicon'))
Current favicon
@endif

Logo Size & Crop Presentation

Applied to the public header, footer, and portal sidebar without modifying the original image.

@else

{{ $sectionTitle }} Parameters

All configurations are saved and synced instantly to the cache.

Module: {{ $dbModule }}
@forelse($settings as $setting)
@if($setting->description)

{{ $setting->description }}

@endif @if(in_array($setting->key, ['booking_form_template', 'invoice_template'], true)) @elseif($setting->type === 'boolean') @elseif($setting->type === 'textarea') @elseif($setting->type === 'number')
@if(str_contains($setting->key, 'percent') || str_contains($setting->key, 'vat') || str_contains($setting->key, 'deposit')) % @endif
@elseif($setting->key === 'service_video_ratio') @elseif($setting->key === 'service_video_speed') @else @endif
@empty
No custom parameters configured for this module.
@endforelse
@endif
Settings update across public & portal views in real time.
@endif
@endsection