@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 }}

{{-- vendor --}}
{{ __('Provider') }}: {{ $service->vendor->name }}
{{-- imgs, details --}}
{{-- main selected image --}}
{{-- images previews --}}
@foreach ($service->photos as $key => $image) {{ $key }} @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)
@if (!$option_group->multiple) @else @endif {{-- image is its not empty --}} @if ($option->hasMedia()) @endif

{{ $option->name }} {{-- if price is not 0 or null --}} @if ($option->price != 0 && $option->price != null) ({{ currencyFormat($option->price) }}) @endif

@endforeach
{{-- error message --}} @error('option_group.' . $option_group->id)

{{ $message }}

@enderror
@endforeach
@endif
{{-- book now button --}}
{{-- categories --}} @if (!empty($service->categories))

{{ __('Categories') }}

@foreach ($service->categories as $category) {{ $category->name }} @endforeach
@endif {{-- share current url, use social icons from line awesome --}}

{{ __('Share') }}

{{-- service details, reviews tab --}}

{!! $service->description !!}

@push('styles') @endpush @push('scripts') @endpush