{{-- resources/views/admin/dashboard.blade.php --}} @extends('layouts.admin') @section('title', 'Admin Dashboard - Chingu Bite') @section('content')

Dashboard

{{ now()->format('l, F j, Y') }}
Today's Revenue
Rp {{ number_format($todayRevenue ?? 0, 0, ',', '.') }}
Today's Orders
{{ $todayOrders ?? 0 }}
Pending Payments
{{ $pendingPayments ?? 0 }}
Career Applications
{{ $pendingApplications ?? 0 }}
Revenue Overview (Last 7 Days)
Quick Stats
Total Menu Items
{{ $totalMenus ?? 0 }}
Active Promotions
{{ $activePromos ?? 0 }}
Registered Users
{{ $totalUsers ?? 0 }}
System Health
85%
Recent Orders
View All
@forelse($recentOrders as $order) @empty @endforelse
Order # Customer Type Amount Status Date Action
#{{ $order['order_number'] }} {{ $order['customer']['name'] ?? 'N/A' }} {{ ucfirst(str_replace('_', ' ', $order['order_type'])) }} Rp {{ number_format($order['final_amount'], 0, ',', '.') }} {{ ucfirst($order['status']) }} {{ \Carbon\Carbon::parse($order['created_at'])->format('M d, H:i') }}

No recent orders

@endsection @section('scripts') @endsection