@extends('layouts.app') @section('title', 'Admin Dashboard - OakTix') @section('content')

Admin Dashboard

Total Events

{{ $stats['total_events'] }}

{{ $stats['published_events'] }} published
Total Orders

{{ $stats['total_orders'] }}

{{ format_currency($stats['total_revenue']) }} revenue
Vendors

{{ $stats['total_vendors'] }}

{{ $stats['pending_vendors'] }} pending
Customers

{{ $stats['total_customers'] }}

Registered users
Sales Trend (Last 30 Days)
Pending Withdrawals
{{ $pendingWithdrawals->count() }}
@forelse($pendingWithdrawals as $withdrawal)
{{ $withdrawal->vendor->business_name }}

{{ format_currency($withdrawal->amount) }}

View
@empty

No pending withdrawals

@endforelse
Recent Vendor Signups
View All
@forelse($recentVendors as $vendor)
@if($vendor->logo) @else
@endif
{{ $vendor->business_name }}

{{ $vendor->created_at->diffForHumans() }}

{{ ucfirst($vendor->status) }}
@empty

No vendors yet

@endforelse
Recent Orders
View All
@forelse($recentOrders as $order)
{{ $order->order_number }}

{{ $order->customer_name }}

{{ format_currency($order->total_amount) }} {{ ucfirst($order->status) }}
@empty

No orders yet

@endforelse
@endsection @push('scripts') @endpush