@extends('layouts.admin') @section('title', __('Questions')) @section('content')

{{ __('Product questions') }}

@if ($result['items'])
@foreach ($result['items'] as $q)

{{ $q->product }} · {{ $q->first_name ?: __('Guest') }} {{ $q->email }} · {{ $q->created_at }}

{{ $q->question }}

@csrf
{{ $q->answer ? __('Update answer') : __('Answer') }}
@csrf @method('DELETE')
@endforeach
@include('partials.pagination', ['result' => $result]) @else @endif @endsection