@section('title', $service->name)
@section('styles')
{{-- seo links --}}
{{-- twitter --}}
{{-- facebook --}}
@endsection
{{-- breadcrumb --}}
@include('livewire.extensions.glover-website.components.nav-breadcrumb', [
'links' => [
[
'title' => __('Home'),
'url' => route('glover-website.index'),
],
[
'title' => $service->vendor->vendor_type->name,
'url' => route('glover-website.vendor.type', [
'id' => $service->vendor->vendor_type->id,
'slug' =>
$service->vendor->vendor_type->slug ?? \Str::slug($service->vendor->vendor_type->name),
]),
],
[
'title' => $service->vendor->name,
'url' => \App\Http\Livewire\Extensions\GloverWebsite\Services\WebsiteUrlManagerService::vendorUrl(
$service->vendor),
],
[
'title' => $service->name,
'url' => '',
],
],
])
{{-- details --}}
{{ $service->name }}
{{-- imgs, details --}}
{{-- main selected image --}}
{{-- images previews --}}
@foreach ($service->photos as $key => $image)
@endforeach
{{-- price --}}
@if ($service->discount_price > 0)
{{ currencyFormat($service->price) }}
{{ currencyFormat($service->discount_price) }}
@else
{{ currencyFormat($service->price) }}
@endif
@if ($service->duration != null && $service->duration != 'fixed')
/ {{ $service->duration }}
@endif
{{-- short description, cut to max of 4lines --}}
{{ strip_tags($service->description) }}
{{-- options --}}
{{-- option groups if any --}}
@if ($service->option_groups->count() > 0)
@foreach ($service->option_groups as $option_group)
{{ $option_group->name }}
@foreach ($option_group->options as $option)
@endforeach
{{-- error message --}}
@error('option_group.' . $option_group->id)
{{ $message }}
@enderror
@endforeach
@endif
{{-- book now button --}}
{{-- categories --}}
@if (!empty($service->categories))
@endif
{{-- share current url, use social icons from line awesome --}}
{{-- service details, reviews tab --}}
{!! $service->description !!}
@push('styles')