@extends('layouts.head') @section('content')

Today's Sale

£ {{$total_sale_price_today}}

£ {{$total_sale_price}} this month

Today's Profits

{{$total_sale_price_today - $total_cost_price_today}}

£ {{$total_sale_price - $total_cost_price}} this month

Today's Users

{{$todaysNewMembers}}

{{$MonthNewMembers}} new added this month.

Products

{{$todaysNewProduct}}

{{$MonthNewProduct}} new added this month.

Sales overview

Sales data.

Latest Orders (5)
@php $counter = 1; // Initialize the counter variable @endphp @foreach($orderhistory as $orders) @endforeach
Sr. No. Order No. Amount Date
{{ $counter++ }}
{{$orders->id}}
{{$orders->total_price}} {{ $orders->created_at->format('d/m/y') }} Order Details
Latest Products (5)
    @foreach($latestproducts as $product)
  • {{$product->name}}
    £ {{$product->sale_price}}
  • @endforeach
@if(!empty($monthlySales) && count($monthlySales) > 0) @push('scripts') @endpush @endif @endsection