@extends('layouts.app') @section('title', 'Tableau de bord') @section('page-title', 'Tableau de bord') @section('content')
Factures impayées
Montant total des factures impayées : {{ number_format((int) $stats['facturesImpayees'], 0, ',', ' ') }} FCFA. Pensez à relancer les clients ou à enregistrer les paiements.
Total ventes
{{ number_format((int) ($stats['totalVentes'] ?? 0), 0, ',', ' ') }} FCFA
Total achats
{{ number_format((int) ($stats['totalAchats'] ?? 0), 0, ',', ' ') }} FCFA
Net
{{ number_format((int) ($stats['net'] ?? 0), 0, ',', ' ') }} FCFA
Achats impayés
{{ number_format((int) ($stats['achatsImpayes'] ?? 0), 0, ',', ' ') }} FCFA
Retours d'achat
{{ number_format((int) ($stats['retoursAchat'] ?? 0), 0, ',', ' ') }} FCFA
Factures impayées
{{ number_format((int) ($stats['facturesImpayees'] ?? 0), 0, ',', ' ') }} FCFA
Par magasin
Transfert {{ $transfert->reference }}
{{ optional($transfert->magasinOrigine)->nom ?? 'N/A' }} → {{ optional($transfert->magasinDestination)->nom ?? 'N/A' }} • {{ $transfert->quantite }} unités @if($transfert->produit) • {{ $transfert->produit->designation ?? $transfert->produit->reference }} @endif
Vente {{ $vente->reference }}
Client : {{ optional($vente->client)->nom ?? 'N/A' }} • {{ number_format((float) $vente->montant, 0, ',', ' ') }} FCFA
Nouvelle caution client
{{ optional($caution->client)->nom ?? 'Client inconnu' }} • Caution : {{ number_format((float) $caution->montant, 0, ',', ' ') }} FCFA