@extends('layouts.user') @section('contents')
Withdrawal History New withdrawal @if (site('auto_withdraw') == 1) Withdrawal Wallets @endif

Withdrawal History

search
@forelse ($withdrawals as $withdrawal)

{{ date('d-m-y H:i:s', strtotime($withdrawal->created_at)) }}

{{ formatAmount($withdrawal->amount - $withdrawal->fee) }}

{{ $withdrawal->depositCoin->name }}

@if ($withdrawal->status == 'pending') {{ $withdrawal->status }} @elseif ($withdrawal->status == 'approved') {{ $withdrawal->status }} @elseif ($withdrawal->status == 'rejected' || $withdrawal->status == 'failed' || $withdrawal->status == 'refunded') {{ $withdrawal->status }} @else {{ $withdrawal->status }} @endif

{{ $withdrawal->converted_amount . ' ' . $withdrawal->depositCoin->code }} /{{ $withdrawal->depositCoin->network ?? $withdrawal->depositCoin->code }}

{{-- --}} {{ $withdrawal->wallet_address }}

Txn Ref:

{{ $withdrawal->ref }}
@empty
Empty Record. No withdrawal found!
@endforelse
{{ $withdrawals->links('paginations.simple') }}
@if (site('auto_withdraw')) @endif
@endsection @section('scripts') @endsection