@extends('layouts.admin') @section('title', 'Inventory') @section('page-title', 'Mart Inventory') @section('page-subtitle', 'Manage products and stock levels') @section('content')
Total: {{ $products->total() }} products
Add Product
@forelse($products as $p) @empty @endforelse
Barcode Product Name Category Cost Sell Price Margin Stock Reorder Actions
{{ $p->barcode ?? '-' }} {{ $p->name }} {{ $p->category }} ₦{{ number_format($p->cost_price) }} ₦{{ number_format($p->selling_price) }} ₦{{ number_format($p->profit_margin) }} {{ $p->quantity }} {{ $p->unit }} {{ $p->reorder_level }}
@csrf @method('DELETE')
No products in inventory.
{{ $products->links() }}
@endsection