@partial('basic-header', ['default' => 'stays']);

Reviews

@if ($provider->canLeaveAReview($property->propertyid)) @endif
{$property->reviewScore < 10 ? printf("%2.1f",$property->reviewScore) : print($property->reviewScore);}
{app('query')->getReviewStarName($property->reviewScore)} {$property->reviewCount} review{$property->reviewCount > 1 ? 's' : ''}
@foreach ($propertyReview['track'] as $name => $val)
{ucfirst($name)}
{$val}
@endfor

Guest Reviews

@if (count($propertyReview['reviews']) > 0)
@foreach ($propertyReview['reviews'] as $review)
profile image

{ucwords($review['customer']->name . ' ' . $review['customer']->surname)}

@timeAgo($review['created']);
{$review['star'] < 10 ? printf("%2.1f", $review['star']) : print($review['star']);}
{$review['status']}

{$review['review']}

@endfor
@else
No public review recorded yet for this property.
To leave a review you must first be logged in and
must have stayed in this property.
@endif