{{--
--}}
{{-- --}}
{{$service->name . ' image'}}

{{$service->name}}

Category : {{ $service->category->name }} {{-- --}} {{-- Duration:--}} {{-- @if ($service->duration_minutes >= 60)--}} {{-- {{ floor($service->duration_minutes / 60) }} hr--}} {{-- @endif--}} {{-- @if ($service->duration_minutes % 60 > 0)--}} {{-- {{ $service->duration_minutes % 60 }} mins--}} {{-- @endif--}} {{-- --}}

Product information

₺ {{ number_format($service->price, 2, '.', ',') }}

@if (Auth::user()?->role_id == 1 || Auth::user()?->role_id == 2) Manage
Analytics insights {{-- 'appointmentsTotal' => $appointmentsTotal,--}} {{-- 'timeSlotsStats' => $timeSlotsStats,--}} {{-- 'timeSlotsStatsLastWeek' => $timeSlotsStatsLastWeek,--}} {{-- 'viewsLastWeek' => $viewsLastWeek,--}} {{-- 'viewsLastMonth' => $viewsLastMonth,--}} {{-- 'percentageViewsChangeLastWeek' => $percentageViewsChangeLastWeek,--}} {{-- 'totalRevenue' => $totalRevenue,--}} {{-- 'totalRevenueLastWeek' => $totalRevenueLastWeek,--}} {{-- 'totalRevenueLastMonth' => $totalRevenueLastMonth,--}} {{-- 'percentageRevenueChangeLastWeek' => $percentageRevenueChangeLastWeek,--}} {{-- 'appointmentsLastWeek' => $appointmentsLastWeek,--}} {{-- 'appointmentsLastMonth' => $appointmentsLastMonth,--}} {{-- 'percentageAppointmentsChangeLastWeek' => $percentageAppointmentsChangeLastWeek,--}}
Metric Last Week Change Last Week Total
Views {{ $viewsLastWeek }} @if($percentageViewsChangeLastWeek === 'N/A') {{ $percentageViewsChangeLastWeek }} @elseif($percentageViewsChangeLastWeek > 0) {{ $percentageViewsChangeLastWeek }} % @elseif ($percentageViewsChangeLastWeek < 0) {{ $percentageViewsChangeLastWeek }} % @else {{ $percentageViewsChangeLastWeek }} % @endif {{ $views }}
Appointments {{ $appointmentsLastWeek }} @if($percentageAppointmentsChangeLastWeek === 'N/A') {{ $percentageAppointmentsChangeLastWeek }} @elseif($percentageAppointmentsChangeLastWeek > 0) {{ $percentageAppointmentsChangeLastWeek }} % @elseif ($percentageAppointmentsChangeLastWeek < 0) {{ $percentageAppointmentsChangeLastWeek }} % @else {{ $percentageAppointmentsChangeLastWeek }} % @endif {{ $appointmentsTotal }}
Appointments (Last Month) {{ $appointmentsLastMonth }} @if($percentageAppointmentsChangeLastMonth === 'N/A') {{ $percentageAppointmentsChangeLastMonth }} @elseif($percentageAppointmentsChangeLastMonth > 0) {{ $percentageAppointmentsChangeLastMonth }} % @elseif ($percentageAppointmentsChangeLastMonth < 0) {{ $percentageAppointmentsChangeLastMonth }} % @endif Monthly
Revenue ₺ {{ number_format($totalRevenueLastWeek, 2, '.', ',') }} @if($percentageRevenueChangeLastWeek === 'N/A') {{ $percentageRevenueChangeLastWeek }} @elseif($percentageRevenueChangeLastWeek > 0) {{ $percentageRevenueChangeLastWeek }} % @elseif ($percentageRevenueChangeLastWeek < 0) {{ $percentageRevenueChangeLastWeek }} % @endif ₺ {{ number_format($totalRevenue, 2, '.', ',') }}
Revenue (Last Month) ₺ {{ number_format($totalRevenueLastMonth, 2, '.', ',') }} @if($percentageRevenueChangeLastMonth === 'N/A') {{ $percentageRevenueChangeLastMonth }} @elseif($percentageRevenueChangeLastMonth > 0) {{ $percentageRevenueChangeLastMonth }} % @elseif ($percentageRevenueChangeLastMonth < 0) {{ $percentageRevenueChangeLastMonth }} % @endif Monthly

Most Popular Time Slots Last Week

@foreach ($timeSlotsStatsLastWeek as $timeSlotStat) @endforeach
Time Slot Count
{{ date('g:i a', strtotime($timeSlotStat['time_slot']->start_time)) . ' - ' . date('g:i a', strtotime($timeSlotStat['time_slot']->end_time)) }} {{ $timeSlotStat['count'] }}

Most Popular Time Slots

@foreach ($timeSlotsStats as $timeSlotStat) @endforeach
Time Slot Count
{{ date('g:i a', strtotime($timeSlotStat['time_slot']->start_time)) . ' - ' . date('g:i a', strtotime($timeSlotStat['time_slot']->end_time)) }} {{ $timeSlotStat['count'] }}
@endif {{--
--}} {{--

Reviews

--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{--

3.9 out of 5 stars

--}} {{-- 117 reviews--}} {{--
--}} {{--
--}}

Description

{{ $service->description }}
@if($service->benefits)

Benefits

{{ $service->benefits}}
@endif @if($service->cautions)

Cautions

{{ $service->cautions }}
@endif @if($service->allegens)

Allergens

{{ $service->allergens }}
aftercare_tips)

After Care Tips

{{ $service->aftercare_tips }}
@endif {{--
--}} {{--

Book Your Appointment

--}} {{--
--}} {{-- --}} {{--
--}} {{--

Select a date

--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--

Time Slots

--}} {{--
--}} {{-- Select a time--}} {{--
--}} {{-- @foreach($timeSlots as $timeSlot)--}} {{-- @if($timeSlot->id != 5)--}} {{-- --}} {{-- --}} {{-- --}} {{-- {{ date('g:i a', strtotime($timeSlot->start_time)) }}--}} {{-- ---}} {{-- {{ date('g:i a', strtotime($timeSlot->end_time)) }}--}} {{-- --}} {{-- --}} {{-- --}} {{-- @else--}} {{-- --}} {{-- --}} {{-- --}} {{-- {{ date('g:i a', strtotime($timeSlot->start_time)) }}--}} {{-- ---}} {{-- {{ date('g:i a', strtotime($timeSlot->end_time)) }}--}} {{-- --}} {{-- --}} {{-- --}} {{-- @endif--}} {{-- @endforeach--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}}