@extends('landing-page.layouts.default') @section('content')
{{ $shop->shop_name }}

{{ $shop->shop_name }}

{{ __('messages.shop_since') }} : {{ date("$date_time->date_format", strtotime($shop->provider->created_at)) }}
{{ __('messages.shop_managed_by') }} : {{ $shop->provider->display_name }}

{{ $shop->contact_country_code }} {{ $shop->contact_number }}

{{ $shop->email }}

{{ \Carbon\Carbon::parse($shop->shop_start_time)->format('g:i A') }} - {{ \Carbon\Carbon::parse($shop->shop_end_time)->format('g:i A') }}

{{ $shop->address }}, {{ $shop->city->name }}, {{ $shop->state->name }},{{ $shop->country->name }}

{{-- @if (!empty($shop->lat) && !empty($shop->long))
@endif --}}

{{ __('landingpage.about_provider') }}

provider-user

{{ $shop->provider->display_name ?? __('messages.provider_name_not_available') }}

{{ round($shop->provider->providers_service_rating ?? 0, 1) }}
({{ $shop->provider->total_service_rating ?? 0 }} {{ __('messages.reviews') }})
@if (!empty($shop->provider->description))

{{ $shop->provider->description }}

@endif
{{ $shop->provider->contact_number }}
{{ $shop->provider->email }}
{{ __('landingpage.member_since') }}:

{{ date("$date_time->date_format", strtotime($shop->provider->created_at)) }}

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

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

@if (!empty($shop->provider->known_languages))
{{ __('landingpage.languages') }}:

{{ implode(', ', json_decode($shop->provider->known_languages)) }}

@endif

{{ __('messages.services') }}

@foreach ($shop->services as $service)
service @php $isFavourite = false; if ( auth()->check() && $service->relationLoaded('getUserFavouriteService') && $service->getUserFavouriteService->isNotEmpty() ) { $isFavourite = $service->getUserFavouriteService->contains( 'user_id', auth()->id(), ); } @endphp @if (auth()->check() && auth()->user()->hasRole('user')) @if (!$isFavourite)
@csrf @if (!empty(auth()->user())) @endif
@else
@csrf @if (!empty(auth()->user())) @endif
@endif @else
@csrf
@endif
{{ $service->name }}
  • {{ getPriceFormat($service->price) }}
  • ({{ $service->duration }} Min)
@endforeach
@endsection