@extends('layouts.admin-modern') @section('title', 'Retraits') @section('content')
Total demandes: {{ $withdrawals->total() ?? 0 }}
@csrf
@forelse($withdrawals as $w) @empty @endforelse
ID Utilisateur Montant Statut Date Actions
{{ $w->id }} {{ $w->user_name ?? '—' }} {{ number_format($w->amount, 2, ',', ' ') }} € {{ ucfirst($w->status) }} {{ $w->created_at }} @if($w->status === 'pending') @csrf
@csrf
@else @endif
Aucun retrait trouvé.
{{ $withdrawals->appends(request()->query())->links() }}
@push('scripts') @endpush @endsection