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

{{__('Rejected Withdrawal')}}

@foreach($withdraws as $withdraw) @if($withdraw->user && $withdraw->user->instructor) @endif @endforeach
#{{__('ID')}} {{__('Instructor')}} {{__('Payment Method')}} {{__('Request Date')}} {{__('Note')}} {{__('Amount')}} {{__('Status')}}
{{$withdraw->transection_id}}
{{__('Name')}}: {{$withdraw->user->instructor->name}}
{{__('Phone')}}: {{$withdraw->user->instructor->phone_number}}
@if($withdraw->payment_method == 'paypal')
{{__('Payment Method')}}: PayPal
{{__('Email')}}: {{$withdraw->user->paypal ? $withdraw->user->paypal->email : '' }}
@endif @if($withdraw->payment_method == 'card')
{{__('Payment Method')}}: Card
@if($withdraw->user->card)
{{__('Card Number')}}: {{$withdraw->user->card->card_number }}
{{__('Car Holder')}}: {{$withdraw->user->card->card_holder_name }}
{{__('Date')}}: {{$withdraw->user->card->month }}/{{$withdraw->user->card->year }}
@endif @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 {{ __('Invalid Card') }}
{{$withdraws->links()}}
@endsection @push('style') @endpush @push('script') @endpush