@extends('layouts.admin') @section('title', __('admin.withdrawals.details_title')) @section('content') @if(session('success')) @endif @if(session('error')) @endif

Détails de la demande

@if($withdrawal->status === 'pending') {{ __('admin.withdrawals.pending') }} @elseif($withdrawal->status === 'completed') {{ __('admin.withdrawals.completed') }} @elseif($withdrawal->status === 'rejected') {{ __('admin.withdrawals.rejected') }} @endif

{{ __('admin.withdrawals.amount') }}

{{ number_format($withdrawal->amount, 0, ',', ' ') }}

{{ currency() }}
{{ __('admin.withdrawals.customer_name') }}

{{ $withdrawal->user->full_name }}

{{ $withdrawal->user->email }}

Voir le profil
{{ __('admin.withdrawals.payment_info') }}
Méthode @php $method = \App\Enums\PaymentMethod::from($withdrawal->payment_method); @endphp {{ $method->label }}
Numéro {{ $withdrawal->phone_number ?? 'N/A' }}
Informations
Date de demande {{ $withdrawal->created_at->format('d M Y, H:i') }}
Référence #{{ str_pad($withdrawal->id, 6, '0', STR_PAD_LEFT) }}
@if($withdrawal->notes)
Notes du client

{{ $withdrawal->notes }}

@endif @if($withdrawal->status === 'rejected' && $withdrawal->rejection_reason)
{{ __('admin.withdrawals.rejection_reason') }}

{{ $withdrawal->rejection_reason }}

@endif @if($withdrawal->processed_at)
Traitement
Traité le {{ $withdrawal->processed_at->format('d M Y, H:i') }}
@if($withdrawal->processor)
Par {{ $withdrawal->processor->full_name }}
@endif
@endif
@if($withdrawal->isPending())
Actions

Vous pouvez approuver ou rejeter cette demande de retrait.

@endif
Statistiques du client
Solde actuel

{{ format_currency($withdrawal->user->customer->current_balance ?? 0) }}

Membre depuis {{ $withdrawal->user->created_at->diffForHumans() }}
@endsection @push('scripts') @endpush