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

Dashboard

{{$total_order}}

Total Oreder

{{$today_order}}

Today's Order

{{$total_product}}

Products

{{$total_customer}}

Customer

Latest 5 Orders

@foreach($latest_order as $order) @endforeach
Id Invoice Amount Customer Status
{{$loop->iteration}} contact-img {{$order->invoice_id}} {{$order->amount}} {{$order->customer?$order->customer->name:''}} {{$order->order_status}}

Latest Customers

@foreach($latest_customer as $customer) @endforeach
Id Name Phone Date Status
{{$loop->iteration}}
{{$customer->name}} {{$customer->phone}} {{$customer->created_at->format('d-m-Y')}} {{$customer->status}}
@endsection @section('script') @endsection