@extends('layouts.admin') @section('title', $category->name . ' Services - ' . $vendor->vendor_name) @section('content')

{{ $category->name }} Services

Back to Services Add Service
{{ $category->name }}

{{ $category->description }}

{{ $categoryStats['total_services'] }}
Total
{{ $categoryStats['available_services'] }}
Available
{{ $categoryStats['featured_services'] }}
Featured
AED {{ number_format($categoryStats['avg_price'] ?? 0) }}
Avg Price
Services ({{ $services->total() }})
@if($services->count() > 0)
@foreach($services as $service) @endforeach
Service Category Price & Type Duration Location Status Actions
@if($service->featured_image) {{ $service->name }} @else
@endif
{{ $service->name }}

{{ Str::limit($service->short_description, 60) }}

@if($service->is_featured) Featured @endif @if($service->mobile_service) Mobile @endif @if($service->certified_service) Certified @endif
{{ $service->bizspotMainCategory->name }}
@if($service->bizspotSubCategory)
{{ $service->bizspotSubCategory->name }}
@endif
@if($service->pricing_type === 'fixed')
AED {{ number_format($service->base_price, 2) }}
Fixed Price @elseif($service->pricing_type === 'hourly')
AED {{ number_format($service->hourly_rate, 2) }}/hr
Hourly Rate @elseif($service->pricing_type === 'per_session')
AED {{ number_format($service->base_price, 2) }}
Per Session @elseif($service->pricing_type === 'package')
AED {{ number_format($service->package_price, 2) }}
{{ $service->package_sessions }} Sessions @else
Quote Based
Contact for Price @endif
@if($service->duration_minutes > 0) {{ $service->getFormattedDuration() }} @else Variable @endif
@php $locationLabels = [ 'vendor_location' => 'Vendor Location', 'customer_location' => 'Customer Location', 'both' => 'Both Locations', 'online_remote' => 'Online/Remote' ]; @endphp {{ $locationLabels[$service->service_location] ?? $service->service_location }} @if($service->mobile_service && $service->travel_fee > 0)
+AED {{ number_format($service->travel_fee) }} travel
@endif
is_available ? 'checked' : '' }} onchange="toggleAvailability({{ $service->id }}, this)">
is_featured ? 'checked' : '' }} onchange="toggleFeatured({{ $service->id }}, this)">
Showing {{ $services->firstItem() }} to {{ $services->lastItem() }} of {{ $services->total() }} services
{{ $services->links() }}
@else
No Services Found

Start by creating your first service in this category.

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