@foreach($project_complete_orders as $order) @php $rating = \App\Models\Rating::with('order')->where('order_id',$order->id)->where('sender_type',1)->first(); @endphp @if($rating) @php $fullname = $rating->order?->user?->fullname; @endphp
@if($rating->order?->user?->image) @else {{ __('author') }} @endif

{{ $fullname}}

@if($rating->order?->user?->user_state?->state)

{{ $rating->order?->user?->user_state?->state }}, {{ $rating->order?->user?->user_country?->country }}

@else

{{ $rating->order?->user?->user_country?->country }}

@endif

{{ $rating->created_at->toFormattedDateString() ?? '' }}

{{ $rating->rating }}

{{ $rating->review_feedback }}

@endif @endforeach