@extends('layouts.admin-layout')
@section('content')
@section('title')
Dashboard
@endsection
Pending Orders
{{ $get_pending_order_count ?? '0' }}
Completed Orders
{{ $get_completed_order_count ?? '0'}}
Total Sale
$ {{$get_total_Sale ?? 0 }}
Total Orders
{{$get_total_Orders ?? 0 }}
Today Orders
{{ $today_order_count ?? '0' }}
Total Users
{{ $userCount ?? '0' }}
{{-- top selling product--}}
Top Selling Products
| S.N. |
Product Name |
No of Orders |
@forelse($get_top_selling_products as $top_selling_product)
| {{ $loop->iteration }} |
{{$top_selling_product->product_name ? : '---'}} |
{{$top_selling_product->total_quantity ? : '---'}} |
@empty
| Top Selling Products Data Not Available |
@endforelse
{{-- restock product--}}
Restock Products
| S.N. |
Product Name |
Stock |
Action |
@forelse($get_restock_products as $restock_product)
| {{ $loop->iteration }} |
{{$restock_product->product_name ? : '---'}} |
{{$restock_product->product_stock ? : '---'}} |
|
@empty
| Restock Products Data Not available |
@endforelse
@endsection