@extends('layouts.master') @section('title') @lang('translation.Dashboard') @endsection @section('content') @component('common-components.breadcrumb') @slot('pagetitle') Minible @endslot @slot('title') Dashboard @endslot @endcomponent

{{ $order->total_price ?? 0 }}

Total Revenue

{{ $order->number ?? 0 }}

Orders

{{ $user ?? 0 }}

Customers

+ {{ $products ?? 0 }}

Products

Top Users

@isset($users) @foreach ($users as $us ) @endforeach @endisset
...
{{ $us->name }}

{{ $us->email }}

Show Order Send

Last invoices

@isset($invoices) @foreach ($invoices as $or ) @endforeach @endisset
#{{ $or['id'] }} {{ $or['created_at'] }} {{ $or['user']['name'] }} ${{ $or['total_price'] }}
{{ $or['status_id'] }}

Last Product

@isset($allproducts) @foreach($allproducts as $item) @endforeach @endisset
{{ $item->title }} {{ $item->title_ar }} {{ $item->price }}

Best selling products

@isset($totopProductsp) @foreach($topProducts as $item) @endforeach @endisset
{{ $item->title }} {{ $item->title_ar }} {{ $item->price }}
@isset($invoices) @foreach ($invoices as $or) @endforeach @endisset
Invoice ID Date Billing Name Amount Status Action
#{{ $or['id'] }} {{ $or['created_at'] }} {{ $or['user']['name'] }} ${{ $or['total_price'] }}
{{ $or['status_id'] }}
@endsection @section('script') @endsection