@extends('layouts.app') @section('title', 'Product Inventory') @section('page_title', 'Products & Stock Inventory') @section('content')
@if(request()->hasAny(['search', 'category_id', 'low_stock'])) Clear @endif
@forelse($products as $product) @empty @endforelse
Product Details Category HSN Code GST Rate Purchase Price Selling Price Current Stock Stock Status Actions
{{ $product->name }}
SKU: {{ $product->sku }}
{{ $product->category ? $product->category->name : 'General' }} {{ $product->hsn_code }} {{ number_format($product->gst_rate, 0) }}% GST ₹{{ number_format($product->purchase_price, 2) }} ₹{{ number_format($product->selling_price, 2) }} {{ number_format($product->current_stock, 0) }} {{ $product->unit ? $product->unit->short_code : '' }} @if($product->current_stock <= 0) Out of Stock @elseif($product->is_low_stock) Reorder @else Healthy @endif
No products found matching your filters.
@if($products->hasPages()) @endif
@endsection