@extends('layouts.admin') @section('title', $category->name . ' Services - ' . $vendor->vendor_name) @section('content')
{{ $category->description }}
| Service | Category | Price & Type | Duration | Location | Status | Actions | |
|---|---|---|---|---|---|---|---|
|
@if($service->featured_image)
{{ $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)">
|