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

User Information

User {{ $id }}

user{{ $id }}@example.com
{{ ['Artist', 'Composer', 'Cover Creator'][rand(0, 2)] }}
Member Since: {{ date('F d, Y', strtotime('-' . rand(1, 365) . ' days')) }}
Total Earnings: Rp. {{ number_format(rand(1000000, 50000000), 0, ',', '.') }}
Total Withdrawals: Rp. {{ number_format(rand(500000, 20000000), 0, ',', '.') }}
Available Balance: Rp. {{ number_format(rand(100000, 10000000), 0, ',', '.') }}

Bank Account Information

Bank Name: {{ ['BCA', 'Mandiri', 'BNI', 'BRI'][rand(0, 3)] }}
Account Number: {{ rand(1000000000, 9999999999) }}
Account Holder: User {{ $id }}
Branch: {{ ['Jakarta', 'Bandung', 'Surabaya', 'Yogyakarta'][rand(0, 3)] }}

Withdrawal Details

@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) }}
WD-{{ 1000 + $id }}
{{ date('Y-m-d H:i', strtotime('-' . rand(1, 30) . ' days')) }}
Rp. {{ number_format(rand(100000, 5000000), 0, ',', '.') }}
Rp. {{ number_format(rand(1000, 10000), 0, ',', '.') }}
Rp. {{ number_format(rand(100000, 5000000), 0, ',', '.') }}
Bank Transfer
@if($status === 'approved')
@elseif($status === 'rejected')
@else
@endif

Earnings History

@php $sources = ['Song Sales', 'Cover Royalties', 'Streaming Revenue', 'License Fees']; @endphp @for ($i = 0; $i < 5; $i++) @php $source = $sources[array_rand($sources)]; $description = "Earnings from " . strtolower($source); $amount = rand(50000, 1000000); $date = date('Y-m-d', strtotime('-' . rand(1, 60) . ' days')); @endphp @endfor
Source Description Amount Date
{{ $source }} {{ $description }} Rp. {{ number_format($amount, 0, ',', '.') }} {{ $date }}
@endsection @section('scripts') @endsection