ID @if($sortBy === 'id') @if($sortDirection === 'asc') @else @endif @endif | From | Date @if($sortBy === 'created_at') @if($sortDirection === 'asc') @else @endif @endif | Amount @if($sortBy === 'created_at') @if($sortDirection === 'asc') @else @endif @endif | Status | Action | |
---|---|---|---|---|---|---|
{{ $withdrawal['id'] }} | {{ User::where('id', $withdrawal['user_id'])->first()->name}} | {{ \Carbon\Carbon::parse($withdrawal['created_at'])->format('Y-m-d') }} | {{ $withdrawal['amount'] }} | @if($withdrawal['withdrawal_status'] == 1) Approved @elseif($withdrawal['withdrawal_status'] == 2) Rejected @else Pending @endif | ||
No transactions found. |