@extends('layouts.admin') @section('content')

{{__('app.complete_withdrawal')}}

@foreach($withdraws as $withdraw) @if($withdraw->user && $withdraw->user->instructor) @endif @endforeach
#{{__('app.id')}} {{__('app.instructor')}} {{__('app.payment_method')}} {{__('app.request_date')}} {{__('app.note')}} {{__('app.amount')}} {{__('app.status')}}
{{$withdraw->transection_id}}
{{__('app.name')}}: {{$withdraw->user->instructor->name}}
{{__('app.phone')}}: {{$withdraw->user->instructor->phone_number}}
@if($withdraw->payment_method == 'paypal')
{{__('app.payment_method')}}: PayPal
{{__('app.email')}}: {{$withdraw->user->paypal ? $withdraw->user->paypal->email : '' }}
@endif @if($withdraw->payment_method == 'card')
{{__('app.payment_method')}}: Card
@if($withdraw->user->card)
{{__('app.card_number')}}: {{$withdraw->user->card->card_number }}
{{__('app.car_holder')}}: {{$withdraw->user->card->card_holder_name }}
{{__('app.date')}}: {{$withdraw->user->card->month }}/{{$withdraw->user->card->year }}
@endif @endif @if($withdraw->payment_method == 'buy')
{{__('app.payment_method')}}: Buy Course
@endif
{{$withdraw->created_at->format(get_option('app_date_format'))}} {{\Illuminate\Support\Str::words($withdraw->note, 3)}} @if(get_currency_placement() == 'after') {{$withdraw->amount}} {{ get_currency_symbol() }} @else {{ get_currency_symbol() }} {{$withdraw->amount}} @endif Complete
{{$withdraws->links()}}
@endsection @push('style') @endpush @push('script') @endpush