@extends('front.app_front') @section('content')

{{ MY_REVIEWS }}

@include('front.customer_sidebar')
@if($reviews->isEmpty()) {{ NO_RESULT_FOUND }} @else
@php $i=0; @endphp @foreach($reviews as $row) @endforeach
{{ SERIAL }} {{ NAME }} {{ RATING }} {{ REVIEW }} {{ ACTION }}
{{ $loop->iteration }} @php $listing_detail = \App\Models\Listing::where('id', $row->listing_id)->first(); @endphp {{ $listing_detail->listing_name }}
{{ SEE_DETAIL }}
@if($row->rating == 5) @elseif($row->rating == 4.5) @elseif($row->rating == 4) @elseif($row->rating == 3.5) @elseif($row->rating == 3) @elseif($row->rating == 2.5) @elseif($row->rating == 2) @elseif($row->rating == 1.5) @elseif($row->rating == 1) @endif
{{ $row->review }}
{{ $reviews->links() }}
@endif
@endsection