@extends('layouts.app') @section('title', 'Inventaire') @section('content')
L'inventaire vous permet de suivre vos produits et leur rentabilité :
{{ $totalItems ?? 0 }} article(s) en stock
{{ $totalItems ?? 0 }}
Articles
{{ number_format($totalCost ?? 0, 0) }}€
Coût
{{ number_format($totalSellingValue ?? 0, 0) }}€
Vente
+{{ number_format($totalProfit ?? 0, 0) }}€
Bénéfice
{{ number_format($averageMargin ?? 0, 0) }}%
Marge
{{ $lowStockItems }} article(s) en stock faible
| Article | Qté | Vente | Actions |
|---|---|---|---|
|
@if($firstPhoto)
{{ $item->name }}
{{ $item->sku ?? 'N/A' }}
@if($item->urgent_sale_id)
⚡
@endif
|
{{ $item->quantity }} @if($stockStatus === 'low') ⚠@elseif($stockStatus === 'out') ✗ @endif | {{ number_format($sellingPrice, 0) }}€ |