@foreach($ratings as $key=> $row) {{-- @if(isMainAdminRole())
@endif --}} {{-- @if(isMainAdminRole()) {{ __("ratings::ratings.type_{$row->type_key}") }} @endif --}} {{ $row->owner->name ?? $row->owner->username ?? "-" }} {{ $row->item_name }} {{-- {{ $row->owner->phone ?? "-" }} --}} {{-- {{ ($row->type !== 'platform') ? ($row->user->name ?? $row->user->username ?? "") : __('ratings::ratings.platform') }} --}} {{-- {{ $row->order_id ?? '-' }} --}} {{-- @if(isMainAdminRole()) {{ $row->user->name ?? "-" }} @endif --}} @for($f=1; $f<=5; $f++) @if($f <= ($row->rating ?? $row->rating_details_avg ?? 0)) @else @endif @endfor {{ __("general.$row->status") }} {{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} @endforeach @if($ratings->hasPages()) {{ $ratings->appends(request()->query())->links('pagination::bootstrap-5') }} @endif