@extends('landing-page.layouts.default') @section('content')
image
provider
{{ $providerData['data']['display_name'] }}
@php $providerDocuments = $providerData['document_detail'] ?? null; $verifiedDisplayed = false; // Boolean flag to check if the verified icon has been displayed @endphp @if ($providerDocuments) @foreach ($providerDocuments as $document) @if (isset($document['is_verified']) && $document['is_verified'] && !$verifiedDisplayed) @php $verifiedDisplayed = true; // Set the flag to true after displaying the icon @endphp @endif @endforeach @endif
{{ round($providerData['data']['providers_service_rating'],1) }}
@if($providerData['data']['total_service_rating']>1) ({{ $providerData['data']['total_service_rating'] }} {{__('messages.reviews')}}) @else ({{ $providerData['data']['total_service_rating'] }} {{__('messages.review')}}) @endif
@if(isset($why_choose_me)) @if(isset($why_choose_me['about_description'])|| isset($why_choose_me['reason'])) @endif @endif
{{__('auth.email')}}:
{{ $providerData['data']['email'] }}
{{__('landingpage.projects')}}:
{{ $completed_services }} {{__('landingpage.project_completed')}}
{{__('messages.customer')}}:
{{ $satisfy_customers }} {{__('landingpage.satisfy_customers')}}

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

{{ $providerData['data']['description'] }}

@if(!empty($providerData['data']['known_languages'])) @endif @if(!empty($providerData['data']['designation'])) @endif
{{__('landingpage.member_since')}}
{{ date("$datetime->date_format", strtotime($providerData['data']['created_at'] )) }}
{{__('landingpage.languages')}}
{{ implode(', ', json_decode($providerData['data']['known_languages'])) }}
{{__('landingpage.designation')}}
{{$providerData['data']['designation']}}
@if(!empty($providerData['service']))

{{$providerData['data']['display_name']}} {{__('messages.services')}}

@endif
@if( $providerData['data']['total_service_rating']>1)

{{ $providerData['data']['total_service_rating'] }} {{__('landingpage.reviews_for')}} {{$providerData['data']['display_name']}} {{__('landingpage.services')}}

@elseif( $providerData['data']['total_service_rating']==1)

{{ $providerData['data']['total_service_rating'] }}{{__('landingpage.reviews_for')}} {{$providerData['data']['display_name']}} {{__('landingpage.services')}}

@endif
@if($providerData['data']['total_service_rating'] !== 0) @endif
    @php $counter=1; @endphp @foreach($providerData['service'] as $service) @php $data = App\Models\BookingRating::where('service_id', $service['id'])->get(); @endphp @foreach($data as $ratingData) @if($counter <= 10)
  • comment-user
    {{ date("$datetime->date_format", strtotime($ratingData['created_at'])) }}

    {{ $ratingData['review'] }}

  • @endif @php $counter++; @endphp @endforeach @endforeach
@endsection