| @endcanany | Supplier | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| @endcanany |
{{ $product->name }}
@if ($product->brandRelation)
{{ $product->brandRelation->name }}
@endif
|
{{ $product->sku }} | {{ $product->category?->name ?? '—' }} | {{ $product->supplierLinks->firstWhere('pivot.is_preferred', true)?->name ?? '—' }} | {{ $product->mrp !== null ? number_format($product->mrp, 2) : '—' }} | {{ $product->selling_price !== null ? number_format($product->selling_price, 2) : '—' }} | @php $qtyAvailable = (int) ($product->stock_balances_sum_quantity ?? 0); @endphp$qtyAvailable === 0, 'text-amber-600 dark:text-amber-400' => $qtyAvailable > 0 && $qtyAvailable <= $product->reorder_level, 'text-gray-800 dark:text-gray-100' => $qtyAvailable > $product->reorder_level, ])> {{ number_format($qtyAvailable) }} |
|
View @can('products.update') @endcan @can('products.delete') @endcan |
|
@if ($filtersActive)
|
|||||||||