@extends('admin.layouts.app') @section('panel')
@if (request()->routeIs('admin.withdraw.log') || request()->routeIs('admin.withdraw.method') || request()->routeIs('admin.users.withdrawals') || request()->routeIs('admin.users.withdrawals.method'))
@endif
@can('admin.withdraw.details') @endcan @forelse($withdrawals as $withdraw) @php $details = $withdraw->withdraw_information != null ? json_encode($withdraw->withdraw_information) : null; @endphp @can('admin.withdraw.details') @endcan @empty @endforelse
@lang('Method | Transaction') @lang('Branch') @lang('User') @lang('Initiated') @lang('Amount') @lang('Conversion') @lang('Status')@lang('Action')
@if ($withdraw->branch) @lang('From Branch') @else {{ __(@$withdraw->method->name) }} @endif
{{ $withdraw->trx }}
@if ($withdraw->branch) @can('admin.branch.details') {{ __(@$withdraw->branch->name) }} @else {{ __(@$withdraw->branch->name) }} @endcan
@can('admin.branch.staff.details') {{ __(@$withdraw->branchStaff->name) }} @else {{ __(@$withdraw->branchStaff->name) }} @endcan
@else @lang('Online') @endif
{{ $withdraw->user->fullname }}
@{{ $withdraw->user->username }}
{{ showDateTime($withdraw->created_at) }}
{{ diffForHumans($withdraw->created_at) }}
{{ __($general->cur_sym) }}{{ showAmount($withdraw->amount) }} - {{ showAmount($withdraw->charge) }}
{{ showAmount($withdraw->amount - $withdraw->charge) }} {{ __($general->cur_text) }}
1 {{ __($general->cur_text) }} = {{ showAmount($withdraw->rate) }} {{ __($withdraw->currency) }}
{{ showAmount($withdraw->final_amount) }} {{ __($withdraw->currency) }}
@php echo $withdraw->statusBadge @endphp @lang('Details')
{{ __($emptyMessage) }}
@if ($withdrawals->hasPages()) @endif
@endsection @push('breadcrumb-plugins') @if (request()->routeIs('admin.withdraw.log'))
@endif @endpush