@if (!empty($productData['items']))
@foreach ($productData['items'] as $index => $item)
@php
$cate = $item['detail'] ?? '';
$price = $item['price'] ?? '';
$status = $item['status'] ?? '';
@endphp
@endforeach
@if ($productData['page']['lastPage'] > 0)
{{-- -
--}}
@if ($productData['page']['currentPage'] > 1)
-
@else
-
@endif
{{-- -
-
-
--}}
@php $page = 1; @endphp
@while ($page <= $productData['page']['lastPage'])
@if ($page > $productData['page']['currentPage'] + 5)
@break
@endif
@if ($page > $productData['page']['currentPage'] - 6)
@if ($productData['page']['currentPage'] == $page)
@else
-
@endif
@endif
@php $page++; @endphp
@endwhile
@if ($productData['page']['currentPage'] < $productData['page']['lastPage'])
-
@else
-
@endif
@endif
@endif
@script
@endscript
{{-- --}}