@extends('admin.layouts.app') @section('panel')
@if(request()->routeIs('admin.withdraw.pending')) @elseif(request()->routeIs('admin.withdraw.log') || request()->routeIs('admin.withdraw.search')) @endif @php $now = \Carbon\Carbon::now(); @endphp @forelse($withdrawals as $withdraw) @php $payable = $withdraw->amount + $withdraw->charge; @endphp @if(request()->routeIs('admin.withdraw.pending')) @elseif(request()->routeIs('admin.withdraw.log') || request()->routeIs('admin.withdraw.search')) @endif @empty @endforelse
Date Withdrawal Code Username Withdrawal Method Withdrawal Type Amount Charge Payable Amount User Will GetActionStatus
{{ show_datetime($withdraw->created_at) }} {{ strtoupper($withdraw->trx) }} {{ $withdraw->user->username }} {{ $withdraw->method->name }} {{ $withdraw->method->type }} @if($withdraw->method->type == 'money') {{ $general->cur_sym}} @endif{{ formatter_money($withdraw->amount) }} {{ $general->cur_sym}} {{ formatter_money($withdraw->charge) }} @if($withdraw->method->type == 'money') {{ $general->cur_sym}} @endif {{ formatter_money($payable) }} {{ formatter_money($withdraw->rate * $withdraw->amount) }} @if($withdraw->method->type == 'money') {{ $withdraw->currency }} @endif @php $details = ($withdraw->detail != null) ? $withdraw->detail : ''; $proveImg = "verify_image)."' alt=''>"; @endphp @if($withdraw->status == 0) Pending @elseif($withdraw->status == 1) Approved @elseif($withdraw->status == 2) Rejected @endif
{{ $empty_message }}
{{-- View MODAL --}} {{-- APPROVE MODAL --}} {{-- REJECT MODAL --}} @endsection @push('script') @endpush @push('breadcrumb-plugins') @if(request()->routeIs('admin.users.withdrawals'))
@else
@endif @endpush