@extends('layouts.app') @section('title', 'Product Master Catalog') @section('content')

Central Product Master

Unified agricultural product catalog, SKU governance, tax tiers, and pricing.

@can('create', App\Models\Product::class) Register New Product @endcan
@if($searchTerm || $categoryId || $statusFilter) @endif
@forelse($products as $product) @empty @endforelse
Product SKU & Code Category Packaging Base Price Tax Total Price Retail Barcode Status Actions
@if($product->image_url) {{ $product->name }} @else
@endif
{{ $product->name }}
ID #{{ $product->id }}
{{ $product->sku }}
{{ $product->product_code }}
{{ $product->category->name }}
{{ $product->size_or_weight ?? 'Standard' }}
Unit: {{ $product->unit_of_measurement }}
{{ $product->formatted_price }} {{ (float)$product->tax_rate }}% ₹{{ number_format($product->total_price, 2) }} @if($product->barcode) {{ $product->barcode }} @else — @endif @if($product->isActive()) Active @else Inactive @endif
@can('update', $product) @endcan @can('toggleStatus', $product)
@csrf @if($product->isActive()) @else @endif
@endcan
No product records found

Try altering your search keywords or category filters.

@can('create', App\Models\Product::class) Register New Product @endcan
@if($products->hasPages())
{{ $products->links('pagination::bootstrap-5') }}
@endif
@endsection