@php use App\Libraries\FileSystem; @endphp @if(isset($userReview) && $userReview && count($userReview) > 0) @foreach($userReview as $k => $uR) @php if(str_contains($uR->user_image,'https://lh3.googleusercontent.com/')) { $profile_image = $uR->user_image; } else { $profile_image = General::renderProfileImage(FileSystem::getAllSizeImages($uR->user_image), 'large'); } @endphp
Rating
{{isset($uR->rating) && $uR->rating ? round($uR->rating) : ''}}
@if(isset($uR->rating) && $uR->rating > 0 && $uR->rating <= 1.5)
Poor
@elseif(isset($uR->rating) && $uR->rating > 1.5 && $uR->rating <= 2.5)
Fair
@elseif(isset($uR->rating) && $uR->rating > 2.5 && $uR->rating <= 3.5)
Good
@elseif(isset($uR->rating) && $uR->rating > 3.5 && $uR->rating <= 4.5)
Great
@elseif(isset($uR->rating) && $uR->rating > 4.5 && $uR->rating <= 5.0)
Excellent
@endif
{{isset($uR->review) && $uR->review ? strip_tags($uR->review) : ''}}
{{isset($uR) && isset($uR->user_first_name) && $uR->user_first_name ? $uR->user_first_name : ''}}
  • {{isset($uR) && isset($uR->user_first_name) && $uR->user_first_name ? $uR->user_first_name : ''}}
  • {{isset($uR->created) && $uR->created ? date('d F, Y', strtotime($uR->created)) : ''}}
@endforeach @else

No Review found...

@endif