@extends('layouts.admin') @section('content')

Withdrawal List

Start Date
End Date
{{-- --}} @foreach ($transactions as $index=> $transaction) transaction_type=='debt'||$transaction->transaction_type=='withraw') class="no-checked" @endif> {{-- --}} {{-- --}} @endforeach
No. Withdraw Number Withdrawal Code Name Username AmountWithdraw CodeStatus Withdrawal Date Operate
{{$index+1 }} {{$transaction->transaction_id }} {{$transaction->member->withdrawal_code??'' }} @if($transaction->transaction_type=='debt'||$transaction->transaction_type=='withraw') {{$transaction->transaction_type }} @else {{$transaction->transaction_type }} @endif {{$transaction->member->actual_name??'' }} {{$transaction->member->user->phone??'' }} @if($transaction->transaction_type=='debt'||$transaction->transaction_type=='withraw') {{$transaction->amount }} {{$settings_->where('key','currency')->first()->value??''}} @else {{$transaction->amount }} {{$settings_->where('key','currency')->first()->value??''}} @endif {{$transaction->withdraw_code??'' }} {{ $transaction->created_at->format('d/m/Y h:i') }} Checking Data status=='approve') disabled @endif> Confirm Withdrawal status=='reject') disabled @endif> Reject Withdrawal
{{ csrf_field() }}
{{ $transactions->links() }}
@endsection @section('meta') Withdrawal List- {{ config('app.name', 'Dashboard') }} @endsection @section("scripts") @endsection