@if(isset($data['data-from']) && $data['data-from'] == 'admin') @endif @foreach ($data['reviews'] as $key=>$item) @if(isset($data['data-from']) && $data['data-from'] == 'admin') @endif @endforeach
{{translate('customer_Reviews')}}
{{ translate('search_Criteria').' '.'-' }} {{translate('search_Bar_Content').' '.'-'.' '.!empty($data['key']) ? ucwords($data['key']) : 'N/A'}} @if(isset($data['vendor']))
{{translate('store_Name')}} - {{$data['vendor']?->shop?->name}} @endif
{{translate('product').' '.'-'.' '.ucwords($data['product_name'] == 'all_products' ? translate('all_Products') : $data['product_name'])}}
{{translate('customer').' '.'-'.' '.ucwords($data['customer_name'] == 'all_customers' ? translate('all_Customers') : $data['customer_name']['f_name'].' '.$data['customer_name']['l_name'])}}
{{translate('status').' '.'-'.' '.translate(!is_null($data['status']) ? ($data['status'] == 1 ? 'active' : 'inactive') : 'all_status')}}
{{translate('from').' '.'-'.' '.($data['from'] ? date('d M, Y',strtotime($data['from'])) : '') }}
{{translate('to').' '.'-'.' '. ($data['to'] ? date('d M, Y',strtotime($data['to'])) : '')}}
{{translate('SL')}} {{translate('product_Name')}} {{translate('customer_Name')}} {{translate('store_Name')}} {{translate('item_Price')}} {{translate('rating')}} {{translate('review')}}
{{++$key}} {{$item?->product?->name ?? translate('product_not_found')}} {{ucwords(($item->customer?->f_name ?? translate('customer_not_found')).' '.$item->customer?->l_name)}} {{ucwords($item?->product?->seller?->shop->name ?? translate('store_not_found'))}} {{$item?->product ? setCurrencySymbol(amount: usdToDefaultCurrency(amount: $item?->product->unit_price ?? 0)) : translate('not_found')}} {{$item?->rating}} {{$item?->comment}}