@extends('landing-page.layouts.default') @section('content') @php @endphp

{{ $serviceData['service_detail']['name'] }}

  • @if($serviceData['service_detail']['total_rating'] > 0 && $serviceData['service_detail']['total_review'] > 0)
    {{ round($serviceData['service_detail']['total_rating'],1) }} ({{ $serviceData['service_detail']['total_review'] }} {{__('messages.reviews')}})
    @endif
  • @if(!empty($serviceData['service_detail']['duration']))
  • @php $durationParts = explode(':', $serviceData['service_detail']['duration']); $hours = intval($durationParts[0]); $minutes = intval($durationParts[1]); @endphp @if($hours > 0) ({{ $hours }} hrs @if($minutes > 0) {{ $minutes }} min @endif) @else ({{ $minutes }} min) @endif
  • @endif
{{__('landingpage.created_by')}}: {{ $serviceData['provider']['display_name'] }}
@if(!empty($serviceData['service_detail']['attchments']))
@else @endif @if(!empty($serviceData['service_detail']['description']))
{{__('landingpage.about_service')}}

{{ $serviceData['service_detail']['description'] }}

@endif
{{__('landingpage.about_provider')}}
provider-user
{{ $serviceData['provider']['display_name'] }}
{{ round($serviceData['provider']['providers_service_rating'],1) }}
({{ $serviceData['provider']['total_service_rating'] }} {{__('messages.reviews')}})

{{ $serviceData['provider']['description'] }}

{{__('landingpage.member_since')}}:

{{ date("$date_time->date_format", strtotime($serviceData['provider']['created_at'])) }}

{{__('landingpage.complet_project')}}:

{{ $completed_services }} {{__('landingpage.msg_complete_project')}}

@if(!empty($knownLanguageArray))
{{__('landingpage.languages')}}:

{{ implode(', ', $knownLanguageArray) }}

@endif
@if($serviceData['serviceaddon'])
{{__('landingpage.Add-ons')}}
@foreach($serviceData['serviceaddon'] as $serviceaddon)
@if(isset($serviceaddon['serviceaddon_image']) && $serviceaddon['serviceaddon_image']) service-image @else placeholder-image @endif
{{ $serviceaddon['name'] }}
{{ getPriceFormat($serviceaddon['price']) }}
@endforeach
@endif @if($serviceData['service_detail']['price'] > 0)
{{__('landingpage.order_detail')}}
{{__('messages.service')}}

{{ $serviceData['service_detail']['name'] }}

@if(!empty($serviceData['service_detail']['discount'])) @endif @php $total = $subtotal; @endphp @php $totalTaxAmount = 0; @endphp @if(!empty($serviceData['taxes'])) @php foreach($serviceData['taxes'] as $tax){ if($tax['type'] == 'percent'){ $totalTaxAmount += ($subtotal * $tax['value']) / 100; } else { $totalTaxAmount += $tax['value']; } } $total = $subtotal + $totalTaxAmount; @endphp @endif
+{{ getPriceFormat($serviceData['service_detail']['price']) }}
-{{getPriceFormat($serviceData['service_detail']['price']*$serviceData['service_detail']['discount']/100)}}
{{__('messages.Subtotal')}}
{{ getPriceFormat($subtotal) }}
@if($totalTaxAmount>0) +{{getPriceFormat($totalTaxAmount)}} @else +{{getPriceFormat(0)}} @endif
@if(auth()->check() && auth()->user()->user_type == 'user') {{__('messages.continue')}}({{ getPriceFormat($total) }}) @else {{__('messages.continue')}}({{ getPriceFormat($total) }}) @endif
@endif @if(!empty($serviceData['service_detail']['servicePackage']))
{{__('landingpage.select_service_package')}}
@if(count($serviceData['service_detail']['servicePackage']) > 3) @endif
@auth @else @endauth
@endif @if(!empty($serviceData['service_faq']))
{{__('landingpage.any_question')}}
@foreach($serviceData['service_faq'] as $service_faq)
{{ $service_faq['description'] }}
@endforeach
@endif @if($total_ratings->isNotEmpty())
{{ count($total_ratings) }} {{__('landingpage.reviews_for')}} {{$serviceData['service_detail']['name']}}
@if(count($total_ratings)!== 0) @endif
    @foreach($serviceData['rating_data'] as $ratingData)
  • comment-user
    {{ date("$date_time->date_format", strtotime($ratingData['created_at'])) }}

    {{ $ratingData['review'] }}

  • @endforeach
@endif
{{__('landingpage.related_services')}}
{{__('messages.view_all')}}
{{--
{{$serviceData['service_detail']['name']}}
--}} @if($serviceData['service_detail']['price']==0)

Free

@else

{{ getPriceFormat($serviceData['service_detail']['price']) }}

@endif
@if(auth()->check() && auth()->user()->hasRole('user')) @if(empty($favouriteService))
@csrf @if(!empty(auth()->user())) @endif
@else
@csrf @if(!empty(auth()->user())) @endif
@endif @else
@csrf
@endif
@if(!empty($serviceData['service_detail']['description']))

{{$serviceData['service_detail']['description']}}

{{__('landingpage.read_more')}} @endif
@if(auth()->check() && auth()->user()->user_type == 'user') {{__('messages.continue')}} @else {{__('messages.continue')}} @endif
@if($serviceData['service_detail']['is_slot'] == 1)
{{__('landingpage.available_days')}}
    @foreach($serviceData['service_detail']['slots'] as $slots)
  • {{ $slots['day'] }}
  • @endforeach
@endif
{{__('landingpage.available_location')}}
    @foreach($serviceData['service_detail']['service_address_mapping'] as $service_address)
  • {{ $service_address['provider_address_mapping']['address'] }}
  • @endforeach
@endsection @section('after_script') @endsection