@if (session()->has('alert'))
@php
$coment = \App\Models\ProductComment::where('product_id', $data->id)->get();
@endphp
--}}
{{ session()->get('alert') }}
@elseif(session()->has('error'))
{{ session('error') }}
@endif
{{-- --}}
{{-- Danh sách bình luận
| ID | Họ tên | Nội dung | Bình luận Sản phẩm | Trạng thái | Thời gian | Hành động | |
|---|---|---|---|---|---|---|---|
| {{ $productstar->id }} | {{ $productstar->name }} | {{ $productstar->email }} | {{ $productstar->content }} | {{ $productstar->origin->name }} | @include('admin.components.load-change-hot1', [ 'data' => $productstar, 'type' => 'bình luận', ]) | {{ $productstar->created_at }} |