@extends('layouts.admin') @section('title', 'Services Management') @section('content') @php($canManage = auth()->user()?->hasPermission('services', 'manage')) @php($parentCategories = \App\View\ServicesMegaMenu::parentGroupLabels())

Services Management

Manage local services and booking visibility

@if($canManage) Add Local Service @endif
Reset
Image Name Description Parent Category Category Status Featured Actions @forelse($localServices as $service) @if(!empty($service->meta['banner_image'])) {{ $service->title }} @else No image @endif {{ $service->title }} {{ \Illuminate\Support\Str::limit($service->description ?? '-', 80) }} {{ $parentCategories[$service->parent_category] ?? '-' }} {{ $service->service?->category?->name ?? '-' }} {{ ucfirst($service->status) }} {{ $service->is_featured ? 'Yes' : 'No' }}
@if($canManage)
@csrf @method('DELETE')
@endif
@empty No local services found. @endforelse
{{ $localServices->links() }}
@endsection