@extends('layouts.app') @section('content') {{-- Page Header --}}

{{ $service->title }}

{{ $service->description }}

{{ __('All Services') }} ({{ is_array($service->services) ? count($service->services) : 0 }})
@if (is_array($service->services) && count($service->services) > 0)
@foreach ($service->services as $key => $item) @php $media = \App\Models\Media::find($item['thumbnail_id']); $thumbnailUrl = $media ? Storage::url($media->src) : 'https://placehold.jp/100x100.png'; $status = $item['status'] ?? 'inactive'; @endphp @endforeach
{{ __('Title') }} {{ __('Thumbnail') }} {{ __('Service Title') }} {{ __('Subtitle') }} {{ __('Description') }} {{ __('Status') }}
{{ $item['title'] ?? '-' }} {{ __('Thumbnail') }} {{ $item['service_title'] ?? '-' }} {{ $item['subtitle'] ?? '-' }} {{ $item['description'] ?? '-' }}
@csrf
@else

{{ __('No services available.') }}

@endif
@endsection