@extends('admin.layouts.app') @section('title', 'Penarikan Dana Pending') @section('content')

Daftar Penarikan Dana Pending

@if (session('success')) @endif @if (session('error')) @endif @if(empty($withdrawals))

Tidak ada penarikan dana pending

Semua penarikan dana sudah diproses.

@else
@foreach($withdrawals as $withdrawal) @endforeach
ID Nama Penjahit Bank No. Rekening Jumlah Status Tanggal Aksi
{{ $withdrawal['id'] }} {{ $withdrawal['wallet']['user']['name'] }} {{ $withdrawal['bank_account']['bank_name'] }} {{ $withdrawal['bank_account']['account_number'] }} Rp {{ number_format($withdrawal['amount'], 0, ',', '.') }} {{ ucfirst($withdrawal['status']) }} {{ \Carbon\Carbon::parse($withdrawal['created_at'])->format('d M Y') }} @if($withdrawal['status'] == 'pending') Proses @endif
@endif
@endsection