@foreach ($reviews as $item)
@php
$attrs = $item->getAttrs();
$attrData = [];
foreach ($attrs as $attr) {
$attrData[] = $attr->text_value;
}
$attrStr = implode('/', $attrData);
@endphp
{{ $item->name }}
{{ $product->name }} {{ $attrStr }}
@for ($i = 0; $i < $item->rating; $i++)
-
@endfor
{{ $item->timeFormat('H:i d-m-Y') }}
@endforeach
@endif