@extends('layouts.app') @section('title', 'Tableau de bord - Bar & Maquis') @section('content')
Ventes du jour
{{ number_format($todaySales, 0, ',', ' ') }} FCFA
Profit du jour
{{ number_format($todayProfit, 0, ',', ' ') }} FCFA
Transactions
{{ $todayTransactions }}
Ventes du mois
{{ number_format($monthSales, 0, ',', ' ') }} FCFA
{{ $product->name }}
{{ $product->category->name }}
{{ $product->stock_quantity }} {{ $product->unit }}
Seuil: {{ $product->min_stock_alert }}
Aucune alerte de stock
@endif{{ $product->name }}
{{ $product->total_sold }} vendus
Aucune vente enregistrée
@endif{{ $category->name }}
{{ number_format($category->total_sales, 0, ',', ' ') }} FCFA
Aucune vente par catégorie
@endif{{ $sale->invoice_number }}
{{ $sale->customer_name ?: 'Client anonyme' }}
{{ number_format($sale->total_amount, 0, ',', ' ') }} FCFA
{{ $sale->created_at->format('d/m/Y H:i') }}
Aucune vente récente
@endif