@extends('layouts.app') @section('content')
Track your equipment and supplies
Total Items
{{ $analytics['total_items'] ?? 0 }}
Inventory Value
€{{ number_format($analytics['total_value'] ?? 0, 2) }}
Low Stock Items
{{ $analytics['low_stock_count'] ?? 0 }}
Profit Margin
{{ number_format($analytics['average_profit_margin'] ?? 0, 1) }}%
| Item Name | Category | Quantity | Cost/Unit | Price/Unit | Margin | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{ $item->name }} | {{ $item->category }} | {{ $item->quantity }} {{ $item->unit }} | €{{ number_format($item->cost_per_unit, 2) }} | €{{ number_format($item->selling_price, 2) }} | @php $margin = (($item->selling_price - $item->cost_per_unit) / $item->cost_per_unit) * 100; @endphp {{ number_format($margin, 1) }}% | @if ($item->isLowStock()) ⚠️ Low Stock @else ✓ In Stock @endif |
|
Start by adding your first inventory item.