@extends('layouts.admin') @section('title', 'Inventory Management') @section('content')
Total Products
Low Stock Items
Out of Stock
On Sale
| Image | Product Name | Brand | SKU | Category | Aisle | Price (AED) | Stock | Status | Actions |
|---|---|---|---|---|---|---|---|---|---|
|
@if($product->image)
|
{{ $product->name }}{{ $product->barcode ?? 'No barcode' }} |
@if($product->brand) {{ $product->brand }} @else No brand @endif | {{ $product->sku }} |
@if($product->mainCategory)
{{ $product->mainCategory->name }}
@endif
@if($product->subCategory)
{{ $product->subCategory->name }} @endif @if(!$product->mainCategory && !$product->subCategory) Uncategorized @endif |
@if($product->aisle) {{ $product->aisle->aisle_number }}: {{ $product->aisle->aisle_name }} @else No aisle @endif |
AED {{ number_format($product->price, 2) }}
@if($product->sale_price && $product->sale_price < $product->price)
Sale: AED {{ number_format($product->sale_price, 2) }} @endif |
{{ $product->stock_quantity }} @if($product->minimum_stock) / min: {{ $product->minimum_stock }} @endif |
@if($product->stock_quantity <= 0)
Out of Stock
@elseif($product->stock_quantity <= $product->minimum_stock)
Low Stock
@else
In Stock
@endif
@if($product->on_sale)
On Sale @endif @if($product->is_featured) Featured @endif |
|
No products foundAdd some products to get started. |
|||||||||