@if( in_array('can_create_product', current_user()->permissions() ) )

Add new book

@endif Manage Books ({{ $products->count() }})
{{-- --}} @forelse ( $products as $index => $product ) {{-- --}} @empty @endforelse
ID Book Category ISBN Price Discount Status Total Orders Total Qty Ordered Action
{{ $product->display_featured_img() }} {{ $product->id }}{{ $product->name }} {{ $product->category ?? '-'}} {{ $product->isbn ?? '-'}} {{ $product->display_price() }} {{ $product->display_discount_price() }} {{ $product->_status() }} {{ $product->orders->count() }} {{ $product->orders->sum('quantity') }} View   @if( in_array('can_edit_product', current_user()->permissions() ) ) Edit   @endif @if( in_array('can_delete_product', current_user()->permissions() ) )
@csrf()
@endif
No Data