@php $fmt = fn ($n) => number_format((int) $n, 0, ',', ' '); $field = 'mt-1 block w-full rounded-lg border-slate-300 text-sm shadow-sm'; $label = 'block text-xs font-semibold text-slate-600'; @endphp @if (session('status'))

{{ session('status') }}

@endif @if ($errors->any())

{{ $errors->first() }}

@endif

{{ $fmt($space->wallet_balance) }} FCFA

{{ $audit['ok'] ? 'Journal cohérent : le solde est exactement la somme des mouvements.' : 'INCOHÉRENCE : solde '.$fmt($audit['balance']).' FCFA, journal '.$fmt($audit['ledger']).' FCFA.' }}

@if ($subscription)

Forfait « {{ $subscription->plan_name }} » : {{ $subscription->status === 'active' ? 'actif jusqu\'au '.$subscription->ends_at->format('d/m/Y') : 'terminé le '.$subscription->ends_at->format('d/m/Y') }}{{ $subscription->auto_renew ? ' · renouvellement automatique' : '' }}

@if ($subscription->last_renewal_error)

{{ $subscription->last_renewal_error }}

@endif @else

Aucun forfait souscrit.

@endif
@csrf
Ajouter au portefeuille
Retirer de l'argent (correction)
@csrf
Retirer

Journal

@forelse ($transactions as $t) @empty @endforelse
DateOpérationMontantSolde
{{ $t->created_at->timezone(config('app.timezone'))->format('d/m/Y H:i') }} {{ $t->description ?: $t->reasonLabel() }}{{ $t->reasonLabel() }} · {{ $t->reference }} {{ $t->isCredit() ? '+' : '−' }}{{ $fmt($t->amount) }} {{ $fmt($t->balance_after) }}
Aucun mouvement.
{{ $transactions->links() }}

← Tous les portefeuilles