@extends('layouts.admin') @section('title', 'Admin Dashboard Overview') @section('header_title', 'Dashboard Overview') @section('content')
{{-- Stat Card 1 --}}

Total Products

{{ number_format($productsCount) }}

{{-- Stat Card 2 --}}

Total Customers

{{ number_format($usersCount) }}

↑ 12% from last month
{{-- Stat Card 3 --}}

Total Orders

0

Waiting for orders
{{-- Recent Products Section --}}

Recently Added Products

Add New
@if($recentProducts->count() > 0) @foreach($recentProducts as $product) @endforeach @else @endif
Product Category Price Stock Added
@if($product->image_path) @else
@endif
{{ $product->name }}
{{ $product->category }} ${{ number_format($product->price, 2) }} {{ $product->stock }} {{ $product->created_at->diffForHumans() }}
No products found.
@endsection