@extends('backend.layouts.app') @section('content')
{{ translate('Product Queries') }}
@foreach ($queries as $key => $query) @endforeach
# {{ translate('User Name') }} {{ translate('Product Name') }} {{ translate('Question') }} {{ translate('Reply') }} {{ translate('status') }} {{ translate('Options') }}
{{ translate($key + 1) }} {{ $query->user->name ?? translate('Customer Not Found') }} {{ $query->product != null ? $query->product->getTranslation('name') : translate('Product Not Found') }} {{ Str::limit($query->question, 100) }} {{ Str::limit($query->reply, 100) }} {{ $query->reply == null ? translate('Not Replied') : translate('Replied')}}
{{ $queries->appends(request()->input())->links() }}
@endsection @section('modal') @include('modals.delete_modal') @endsection