@extends('admin.layout.admin') @section('content')

Dashboard

Total Order Amount

{{-- ${{$reports['total_orders_amount']}} --}}

My Total Commission

{{-- ${{$reports['total_invoice_commision']}} --}}

Pending Invoices of Vendors

{{-- ${{$reports['pending_invoice_amount']}} --}}

Total Unpaid Invoices

{{-- {{$reports['unpaid_invoice_count']}} --}}

New Users

{{-- @foreach($users as $user) @endforeach --}}
Name Email Stripe Account ID Phone Country Address
{{$user->name ?? ' - '}} {{$user->email ?? ' - '}} {{$user->stripe_account_id ?? ' - '}} {{$user->phone ?? '-'}} {{$user->country ?? '-'}} {{$user->address ?? '-'}}

Latest Orders

{{-- @foreach($orders as $order) @endforeach --}}
Order # Customer Shipping Address Total Items Total Price Status Transaction ID
{{$order->order_number ?? '-'}} {{$order->user->name ?? '-'}} {{$order->shipping_address ?? '-'}} {{$order->total_items ?? '-'}} {{$order->total_price ?? '-'}} {{$order->status ?? '-'}} {{$order->transaction_id ?? '-'}}
@endsection