@extends('layouts.app') @section('title', 'Tableau de bord') @section('content')
Vue d'ensemble de votre activité
Aujourd'hui
{{ number_format($todayRevenue, 0, ',', ' ') }} FCFA
Cette semaine
{{ number_format($weekRevenue, 0, ',', ' ') }} FCFA
Ce mois
{{ number_format($monthRevenue, 0, ',', ' ') }} FCFA
Dépenses aujourd'hui
{{ number_format($todayExpenses, 0, ',', ' ') }} FCFA
Clients
{{ $stats['total_customers'] }}
Dépôts
{{ $stats['total_deposits'] }}
Chiffre d'affaires
{{ number_format($stats['total_revenue'], 0, ',', ' ') }} FCFA
Dépenses
{{ number_format($stats['total_expenses'], 0, ',', ' ') }} FCFA
| Client | {{--Téléphone | --}}Nombre de dépôts | Actions |
|---|---|---|---|
|
{{ strtoupper(substr($customer->full_name, 0, 1)) }}
{{ $customer->full_name }}
@if($customer->email)
{{ $customer->email }}
@endif
|
{{-- {{ $customer->phone }} | --}}{{ $customer->deposits_count }} dépôt(s) | Voir |
Aucun client
{{ $deposit->customer->full_name }}
{{ $deposit->date_of_deposit->format('d/m/Y') }}
{{ number_format($deposit->total, 0, ',', ' ') }} FCFA
{{ ucfirst($deposit->wash_type) }}Aucun dépôt en attente
{{ $deposit->customer->full_name }}
{{ $deposit->created_at->format('d/m/Y H:i') }}
{{ number_format($deposit->total, 0, ',', ' ') }} FCFA
@if($deposit->withdrawal_date) ✓ Récupéré @else ⏱ En attente @endifAucun dépôt récent