@extends('layouts.admin-master') @section('title', 'Dashboard') @section('css') @endsection @section('content')

@if(Auth::guard('admin')->user()->role_id == 'admin' || Auth::guard('admin')->user()->username == 'mahin@woadi')

৳ {{number_format($amtorder)}}

Total Order In Amount

৳ {{number_format($amtorderdeliver)}}

Delivered Order In Amount

৳ {{number_format($amtorderpend)}}

Payment Received But To Be Delivered

৳ {{$amtpending}}

Order Placed But Unpaid In Amount

{{$allProducts}}

Total Products

{{$pendingProducts}}

UnApporve Products

{{$outOfStock}}

Out Of Stock Products

{{$outOfStock}}

Reject Products
Total Orders
Pending Orders
Complete Orders
Reject Orders
@endif

{{$pendingSeller}}

Pending Seller

{{$allSeller}}

Total Seller

{{$newUser}}

Customer 7 Days

{{$allUser}}

All Customer

0

All Ticket

0

Blog Post

0

All Subscriber

0

Withdraw Request
@foreach($category as $cat) @php $tproduct = \App\Models\Product::where('category_id', $cat->id)->count(); @endphp
{{$cat->name}}
@endforeach
Popular Product
@if(count($popularProducts)>0) @foreach($popularProducts as $product) @endforeach @else @endif
Product Stock Price #
Image {{Str::limit($product->title, 30)}} {{($product->stock) ? $product->stock : 0 }} {{Config::get('siteSetting.currency_symble')}}{{$product->purchase_price}}

No products found.

Recent Order
@if(count($recentOrders)>0) @foreach($recentOrders as $order) @endforeach @else @endif
Order Qty Price Status #
#{{$order->order_id}}
{{\Carbon\Carbon::parse($order->created_at)->format(Config::get('siteSetting.date_format'))}}
{{ $order->total_qty }} {{$order->currency_sign . ($order->total_price) }} @if($order->order_status == 'delivered') {{ str_replace('-', ' ', $order->order_status)}} @elseif($order->order_status == 'accepted') {{ str_replace('-', ' ', $order->order_status)}} @elseif($order->order_status == 'cancel') {{ str_replace('-', ' ', $order->order_status)}} @elseif($order->order_status == 'ready-to-ship') {{ str_replace('-', ' ', $order->order_status)}} @else Pending @endif

No orders found.

@endsection @section('js') @endsection