@extends('admin.layout.template') @section('title','Dashboard') @section('content')
{{-- TOTAL ORDERS --}}

Total Orders

{{ $totalOrders }}

{{-- PRODUCTS --}}

Products

{{ $totalProducts }}

{{-- USERS --}}

Users

{{ $totalUsers }}

{{-- PROJECTS --}}

Projects

{{ $totalProjects }}

{{-- REVENUE + CHART --}}
Total Revenue

₹ {{ number_format($totalRevenue,2) }}

Pending Role request

{{ number_format($totalPendingRoleRequest) }}

Sales Performance

{{-- RECENT ORDERS --}}

Recent Orders

@foreach($recentOrders as $order) @endforeach
# Customer Total Status Date
#{{ $order->order_number }} {{ $order->user->name ?? '-' }} ₹ {{ number_format($order->total,2) }} {{ ucfirst($order->status) }} {{ $order->created_at->format('d M Y') }}
{{-- CHART --}} @endsection