@push('title') Product Management @endpush
@if (session('success')) @endif @if (session('info')) @endif @if (session('warning')) @endif @if (session('danger')) @endif
@can('create_category_management')
@endcan @can('view_product_management')

All products ({{ count($products) }})

Reset
@if (count($products) > 0) @foreach ($products as $product) @endforeach @else @endif
Image Name Category Price @if ($configuration) ({{ $configuration->currancy }}) @else (LKR) @endif Discount @if ($configuration) ({{ $configuration->currancy }}) @else (LKR) @endif Stock Status Creator Created At ACTION
@if ($product->image) {{$product->name}} @else {{$product->name}} @endif {{ $product->name }} {{ $product->category?->name }} {{ number_format($product->price, 2) }} {{ number_format($product->discount_price, 2) }} @if ($product->is_stock_available) Available @else Out Of Stock @endif @if ($product->is_active) Active @else Inactive @endif {{ $product->createdBy->name ?? 'N/A' }} {{ $product->created_at->format('d-m-Y') }} @can('view_product_management') @endcan @can('update_product_management') @endcan @can('delete_product_management') @endcan
No Data Available
{{ $products->appends(request()->query())->links() }}
@endcan