@if (isset($products) && count($products) > 0) @foreach ($products as $product) {{-- --}} @endforeach @endif
Name Price in USD Price in MMK Status Created at Featured Actions
{{ $product->name }} {{ $product->price_in_usd }} {{ $product->price_in_mmk }} {{ basicStatusesDisplay($product->status) }} {{ dateInList($product->created_at) }} @if ((int) $product->is_featured === 1) Featured @else --No @endif Active @canany(['delete-product', 'edit-product', 'show-product']) @endcanany
{!! pageInfo($products) !!}
{!! $products->links('pagination::bootstrap-4') !!}