@extends('layouts.student') @section('title', __('student.withdrawal.details_title')) @section('content')
@if($withdrawal->status === 'pending') {{ __('student.withdrawal.pending') }} @elseif($withdrawal->status === 'completed') {{ __('student.withdrawal.completed') }} @elseif($withdrawal->status === 'rejected') {{ __('student.withdrawal.rejected') }} @endif

{{ __('student.withdrawal.amount') }}

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

points
{{ __('student.withdrawal.general_info') }}
{{ __('student.withdrawal.request_date') }}
{{ $withdrawal->created_at->format('d F Y, H:i') }}
{{ __('student.withdrawal.payment_info') }}
{{ __('student.withdrawal.payment_method') }}
@php $method = \App\Enums\PaymentMethod::from($withdrawal->payment_method); @endphp {{ $method->label }}
{{ __('student.withdrawal.phone_number') }}
{{ $withdrawal->phone_number ?? 'N/A' }}
@if($withdrawal->notes)
{{ __('student.withdrawal.notes') }}

{{ $withdrawal->notes }}

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

{{ $withdrawal->rejection_reason }}

@endif @if($withdrawal->processed_at)
Informations de traitement
{{ __('student.withdrawal.processed_at') }}
{{ $withdrawal->processed_at->format('d F Y, H:i') }}
@if($withdrawal->processor)
{{ __('student.withdrawal.processed_by') }}
{{ $withdrawal->processor->full_name }}
@endif
@endif
@endsection