@if(session('success'))

{{ session('success') }}

@endif

My Products

Manage your product inventory and pricing

Add Product
Clear
@if($products->count() > 0)
@foreach($products as $product)
@if($product->images && count($product->images) > 0) {{ $product->product_name }} @else @endif

{{ $product->product_name }}

{{ $product->product_code }}

{{ $product->category->name ?? 'Uncategorized' }}

₹{{ number_format($product->price_per_unit, 2) }} per {{ $product->unit }}
Stock: @if($product->available_quantity > 0) @if($product->available_quantity <= $product->minimum_order_quantity) Low Stock @else In Stock @endif @else Out of Stock @endif

{{ number_format($product->available_quantity) }} {{ $product->unit }} available

Min Order: {{ number_format($product->minimum_order_quantity) }} {{ $product->unit }}

Edit
@csrf
@endforeach
{{ $products->links() }}
@else

No Products Found

You haven't added any products yet or no products match your criteria.

Add Your First Product
@endif