@extends('layouts.app-admin') @section('content')
| ID | User | Amount | Bank Account | Date Requested | Status | Actions |
|---|---|---|---|---|---|---|
| WD-{{ 1000 + $i }} |
User {{ $i }}
|
Rp. {{ number_format(rand(100000, 5000000), 0, ',', '.') }} | {{ ['BCA', 'Mandiri', 'BNI', 'BRI'][rand(0, 3)] }} - {{ rand(1000000000, 9999999999) }} | {{ date('Y-m-d H:i', strtotime('-' . rand(1, 30) . ' days')) }} | @php $statuses = ['pending', 'approved', 'rejected']; $status = $statuses[rand(0, 2)]; $badgeClass = [ 'pending' => 'bg-warning text-dark', 'approved' => 'bg-success', 'rejected' => 'bg-danger', ][$status]; @endphp {{ ucfirst($status) }} |