@extends('admin.layouts.app') @section('title') Dashboard @endsection @push('css') @endpush @section('content') @if (Auth::user()->user_type === 'admin' && Auth::user()->status === "active")

Total Order

{{ $orderCount }}

Pending Order

{{ $pending }}

Delivered Order

{{ $delivery }}

Shipping Order

{{ $shipping }}

Cancelled Order

{{ $cancelled }}

Total Delivery amount

{{ $totalDeliveredAmount }}

Total Pending amount

{{ $totalPendingAmount }}

Total Product

{{ $product }}

Total Custmer

{{ $customer }}

@else

Unauthorized User Type

Ask the developer for add you as a admin

@endif @endsection @push('js') @endpush