@foreach($products as $key=> $row)
|
|
{{ $row->id }} |
{{ $row->title }} |
{{ $row->category->currentDescription->title }} |
{{ $row->subCategory->currentDescription->title }} |
{{ $row->purchased() }} |
{{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} |
|
@endforeach
@if(count($products) && $products->hasPages())
@endif