@extends('admin.layouts.app') @section('page-title', 'Product List') @section('body-class', 'inventory-preview') @push('styles') @endpush @section('content')
| Product | Category | Variants | Stock | Price (BDT) | Status | Actions |
|---|---|---|---|---|---|---|
@if($row->images->first()) {{ $row->name }}{{ $row->code }} | {{ $row->category->name }} | {{ $row->variants_count }} | {{ number_format($row->stock_total ?? 0) }} units@if($row->low_stock_count){{ $row->low_stock_count }} low / out variants@endif | @if($row->price_min !== null){{ number_format((float) $row->price_min, 2) }}@if($row->price_min != $row->price_max) – {{ number_format((float) $row->price_max, 2) }}@endif @else Not set @endif | {{ ucfirst($row->status) }} | Details@if(auth()->user()->hasPermission('products.stock')) + Stock@endif @if(auth()->user()->hasPermission('products.edit')) Edit @endif @if(auth()->user()->hasPermission('products.delete'))Delete@endif |
| No saved products match these filters. | ||||||
Stock includes inactive and retired variants holding physical units. Low stock means 3 units or fewer per active variant.