@extends('layouts.admin') @section('title', 'Service Variants - ' . $service->name) @section('content')

Service Variants

Edit Service Back to Services
@if($service->featured_image) Service Image @else
@endif
{{ $service->name }}

{{ $service->short_description }}

{{ $service->bizspotMainCategory->name }} @if($service->mobile_service) Mobile @endif @if($service->certified_service) Certified @endif
{{ $variants->flatten()->count() }}
Total Variants
{{ $variants->count() }}
Variant Types
AED {{ number_format($service->base_price, 2) }}
Base Price
Quick Add - Common Service Variants
Click to quickly add common service variants
@foreach($commonVariants as $variantType => $variantList)
{{ $variantType }}
@foreach($variantList as $variant) @endforeach
@endforeach
@if($variants->count() > 0) @foreach($variants as $variantType => $variantGroup)
{{ ucfirst(str_replace('_', ' ', $variantType)) }} ({{ $variantGroup->count() }})
{{ $variantGroup->count() }} variants
@foreach($variantGroup as $variant) @endforeach
Name Price Adjustment Duration Impact Type Status Actions
{{ $variant->name }} @if($variant->description)
{{ $variant->description }}
@endif
@if($variant->price_adjustment > 0) +AED {{ number_format($variant->price_adjustment, 2) }} @elseif($variant->price_adjustment < 0) AED {{ number_format($variant->price_adjustment, 2) }} @else No change @endif
{{ ucfirst($variant->adjustment_type) }}
@if($variant->duration_adjustment_minutes != 0) {{ $variant->duration_adjustment_minutes > 0 ? '+' : '' }}{{ $variant->duration_adjustment_minutes }} min @else No change @endif
@if($variant->is_addon) Add-on @endif @if($variant->is_upgrade) Upgrade @endif @if($variant->is_package) Package @endif @if($variant->mobile_available) Mobile @endif
{{ $variant->is_available ? 'Available' : 'Unavailable' }}
@endforeach @else
No Variants Found

Start by adding variants for this service to offer different options and pricing.

@endif
@section('scripts') @endsection @endsection