@extends('layouts.portal') @section('title', 'Edit Service — ' . $service->name . ' — Abu Dhabi Auto Care') @section('content')
Services Catalog / Edit #{{ $service->id }}

{{ $service->name }}

Update rates, vehicle package options, descriptions, and photograph.

@if($errors->any())
Please fix the following errors:
@endif
@csrf
@if($images->isNotEmpty())
Or select from Media Library:
@endif
@php $existingGallery = $service->galleryMedia(); @endphp @if($existingGallery->isNotEmpty())
Current Gallery Photos (Check to remove):
@foreach($existingGallery as $gItem)
{{ $gItem->title }}
@endforeach
@endif

Package Rates by Vehicle Type

Edit existing vehicle tiers or add new packages.

@if($service->prices && $service->prices->count() > 0)
Existing Vehicle Packages @foreach($service->prices as $priceItem)
{{ $priceItem->package_name }} {{ $priceItem->vehicle_category }}
AED
@endforeach
@endif
New Package Tiers to Add

Permanently Remove Service?

Are you sure you want to remove "{{ $service->name }}"? This will delete its pricing package tiers. Services with active in-progress workshop orders cannot be deleted.

@csrf @method('DELETE')
@endsection