@extends('layouts.app') @section('title','Tableau de bord') @section('page-title','Tableau de bord') @section('topbar-actions') {{ now()->isoFormat('dddd D MMMM YYYY') }} @endsection @section('content') {{-- ── Stats row ──────────────────────────────────────────── --}}
| Référence | Client | Montant | Statut |
|---|---|---|---|
| {{ $sale->reference }} | {{ $sale->client?->name ?? '—' }} | {{ number_format($sale->amount,0,',',' ') }} XAF | {{ $sale->status_label }} |
Aucune vente | |||
| Produit | Réf. | Stock | Seuil |
|---|---|---|---|
| {{ $p->name }} | {{ $p->reference }} | {{ $p->stock }} | {{ $p->alert_stock }} |
Stocks OK ✓ | |||
| Produit | Type | Qté | Par | Date |
|---|---|---|---|---|
| {{ $mv->product?->name ?? '—' }} | {{ $mv->type_label }} | {{ $mv->type==='out' ? '-' : '+' }}{{ $mv->quantity }} | {{ $mv->user?->name ?? '—' }} | {{ $mv->created_at->format('d/m H:i') }} |
Aucun mouvement | ||||