@extends('admin.app_admin') @section('admin_content')

{{ CUSTOMER_REVIEWS }}

@php $i=0; @endphp @foreach($reviews as $row) @php $single_listing_item = \App\Models\Listing::where('id', $row->listing_id)->first(); $customer_detail = \App\Models\User::where('id',$row->agent_id)->first(); @endphp @php $i++; @endphp @endforeach
{{ SERIAL }} {{LISTING_FEATURED_PHOTO }} {{LISTING_NAME }} {{ CUSTOMER_NAME }} {{ RATING }} {{ REVIEW }} {{ ACTION }}
{{ $loop->iteration }} {{ $single_listing_item->listing_name }}
{{ SEE_DETAIL }}
{{ $customer_detail->name }} {{ SEE_DETAIL }}
@if($row->rating == 5) @elseif($row->rating == 4) @elseif($row->rating == 3) @elseif($row->rating == 2) @elseif($row->rating == 1) @endif
{!! clean(nl2br($row->review)) !!}
@endsection