@extends($activeTemplate . 'layouts.master') @section('content')
@if (count($withdraws) > 0)
@forelse($withdraws as $withdraw) @php $details = []; foreach ($withdraw->withdraw_information as $key => $info) { $details[] = $info; if ($info->type == 'file') { $details[$key]->value = route('user.download.attachment',encrypt(getFilePath('verify').'/'.$info->value)); } } @endphp @empty @endforelse
@lang('Transaction') @lang('Initiated') @lang('Amount') @lang('Status') @lang('Action')
{{ $withdraw->trx }} {{ showDateTime($withdraw->created_at) }}
{{ diffForHumans($withdraw->created_at) }}
{{ showAmount($withdraw->amount) }} - {{ showAmount($withdraw->charge) }}
{{ showAmount($withdraw->amount - $withdraw->charge) }}
@php echo $withdraw->statusBadge @endphp
{{ __($emptyMessage) }}
@if ($withdraws->hasPages()) {{ $withdraws->links() }} @endif @else @include($activeTemplate . 'partials.empty', ['message' => 'Withdrawals not found!']) @endif
@endsection @push('script') @endpush