@extends('admin.layout') @section('title', 'Dashboard') @section('content')
Welcome back, {{ Auth::user()->name }}! Here's what's happening with your MLM system.
| Order ID | User | Amount | Status | Action |
|---|---|---|---|---|
| #{{ $order->order_number ?? 'N/A' }} |
{{ $order->user->name ?? 'N/A' }}
{{ $order->user->user_code ?? 'N/A' }}
|
₹{{ number_format($order->total_amount ?? 0) }} | {{ ucfirst(str_replace('_', ' ', $order->status ?? 'pending')) }} |
|
| No pending orders found | ||||
| User | Type | Amount | Date |
|---|---|---|---|
| {{ $commission->user->name ?? 'N/A' }} | {{ ucfirst(str_replace('_', ' ', $commission->commission_type ?? 'Unknown')) }} | ₹{{ number_format($commission->amount ?? 0) }} | {{ $commission->created_at->format('Y-m-d H:i') ?? 'N/A' }} |
| No commission records found | |||
| Request ID | User | Amount | Request Date | Status | Action |
|---|---|---|---|---|---|
| #{{ str_pad($payout->id ?? 0, 6, '0', STR_PAD_LEFT) }} |
{{ $payout->user->name ?? 'N/A' }}
{{ $payout->user->user_code ?? 'N/A' }}
|
₹{{ number_format($payout->amount ?? 0) }} | {{ $payout->created_at->format('Y-m-d H:i') ?? 'N/A' }} | {{ ucfirst($payout->status ?? 'pending') }} |
|
| No pending payout requests found | |||||