@extends($activeTemplate . 'layouts.master') @section('content')
@forelse($withdraws as $withdraw) @php $details = []; foreach ($withdraw->withdraw_information ?? [] as $key => $info) { $details[] = $info; if ($info->type == 'file' && @$details[$key]) { $details[$key]->value = route('user.download.attachment', encrypt(getFilePath('verify') . '/' . $info->value)); } } @endphp @empty @endforelse
@lang('TRX No.') @lang('Amount') @lang('Charge') @lang('After Charge') @lang('Initiated At') @lang('Method') @lang('Status') @lang('Action')
#{{ $withdraw->trx }} {{ showAmount($withdraw->amount) }} {{ showAmount($withdraw->charge) }} {{ showAmount($withdraw->after_charge) }} {{ showDateTime($withdraw->created_at) }} @if ($withdraw->branch) {{ __(@$withdraw->branch->name) }} @else {{ __(@$withdraw->method->name) }} @endif @php echo $withdraw->statusBadge @endphp @lang('Details')
{{ __($emptyMessage) }}
@if ($withdraws->hasPages()) @endif
@endsection @push('style') @endpush