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

Dashboard

Total Customers

{{ $totalCustomers }}

Total Order

{{ $totalOrders }}

Total Order Amount

${{ number_format($totalOrderAmount, 2) }}

{{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
Total Unpaid Invoices
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}}

New Users

@foreach($orders as $order) @endforeach
Name Email Account ID Phone City Address
{{ ($order->first_name ?? '') . ' ' . ($order->last_name ?? '') }} {{ $order->email ?? '-' }} {{ $order->tracking_no ?? ' - ' }} {{ $order->phone_number ?? '-' }} {{ $order->city ?? '-' }} {{ $order->address ?? '-' }}

Latest Orders

@foreach($orders as $order) @endforeach
Order # Customer Shipping Address Total Items Total Price Status Transaction ID
{{ $order->tracking_no ?? '-' }} {{ ($order->first_name ?? '') . ' ' . ($order->last_name ?? '') }} {{ $order->address ?? '-' }} {{ $order->total_items ?? '-' }} ${{ number_format($order->total_price, 2) ?? '-' }} {{ $order->order_status ?? '-' }} {{ $order->payment_id ?? '-' }}
@endsection