@extends('layouts.app') @section('title', 'Products & Services') @section('page-title', 'Products & Services') @section('content')
{{-- Header --}}

Manage your product catalog and pricing

Add Product
{{-- Filters --}}
@if(request()->hasAny(['search','category_id','type','low_stock'])) Clear @endif
{{-- Table --}}
@forelse($products as $product) @empty @endforelse
Product / Service SKU / HSN Category Price (Excl. GST) GST % Stock Status Actions
@if($product->image_url) @else
@endif

{{ $product->name }}

{{ ucfirst($product->type) }} · {{ $product->unit }}
{{ $product->sku ?: '—' }}
@if($product->hsn_sac_code)HSN: {{ $product->hsn_sac_code }}@endif
{{ $product->category?->name ?? '—' }} ₹{{ number_format($product->price_excluding_gst, 2) }} {{ $product->gst_rate }}% @if($product->type === 'service') N/A @elseif($product->isLowStock()) ⚠ {{ number_format($product->stock_quantity, 2) }} @else {{ number_format($product->stock_quantity, 2) }} @endif @if($product->is_active) Active @else Inactive @endif
Edit
@csrf @method('DELETE')

No products found

Add your first product →
@if($products->hasPages())
{{ $products->links() }}
@endif
@endsection