@extends('layouts.app') @section('title', 'Products') @section('page', 'Products') @section('content')
Manage your product inventory
| Product | Category | Batch | Cost | Sell | Promo | Stock | Expiry | Status | @canany(['edit_products', 'delete_products'])Actions | @endcanany
|---|---|---|---|---|---|---|---|---|---|
| {{ $product->category->name }} | {{ $product->batch_no ?? '-' }} | ${{ number_format($product->cost_price, 2) }} | ${{ number_format($product->selling_price, 2) }} | @if($product->isOnPromo()) ${{ number_format($product->promo_price, 2) }} @else - @endif | @if($product->isLowStock()) {{ $product->quantity }} @else {{ $product->quantity }} @endif | {{ displayDate($product->expiry_date) }} @if($product->isExpired()) Expired @endif | @if($product->is_active) Active @else Inactive @endif | @canany(['edit_products', 'delete_products'])@endcanany | |
|
No products found | |||||||||
CSV Format Required
Required columns: name, selling_price, unit, category_name