@extends('admin.layout.app', ['title' => 'Dashboard']) @section('preload-section') {{-- You must include files that need to be preloaded: Syncronous scripts and Stylesheets mostly --}} @endsection @section('content')
{{ __('keywords.Pending Orders') }}

{{ $this_week_pen }}

@if ($diff_pen >= 0)
@else
@endif
@if ($diff_pen >= 0) @else @endif{{ round($diff_pen, 2) }} % @if ($diff_pen >= 0) {{ __('keywords.increase') }} @else {{ __('keywords.decrease') }} @endif
{{ __('keywords.compare to last week') }}
{{--
{{ __('keywords.This Week') }} {{ __('keywords.App Users') }}

{{ $this_week_usr }}

@if ($diff_usr >= 0)
@else
@endif
@if ($diff_usr >= 0) @else @endif{{ round($diff_usr, 2) }} % @if ($diff_usr >= 0) {{ __('keywords.increase') }} @else {{ __('keywords.decrease') }} @endif
{{ __('keywords.compare to last week') }}
--}}
{{ __('keywords.New Orders') }}

{{ $this_week_ord }}

@if ($diff_ord >= 0)
@else
@endif
@if ($diff_ord >= 0) @else @endif{{ round($diff_ord, 2) }} % @if ($diff_ord >= 0) {{ __('keywords.increase') }} @else {{ __('keywords.decrease') }} @endif
{{ __('keywords.compare to last week') }}
{{ __('keywords.Cancelled Orders') }}

{{ $this_week_can }}

@if ($diff_can >= 0)
@else
@endif
@if ($diff_can >= 0) @else @endif{{ round($diff_can, 2) }} % @if ($diff_can >= 0) {{ __('keywords.increase') }} @else {{ __('keywords.decrease') }} @endif
{{ __('keywords.compare to last week') }}
{{ __('keywords.Orders') }}
{{ __('keywords.Latest order history') }}
@if (count($ongoin) > 0) @php $i=1; @endphp @foreach ($ongoin as $ongoing) @php $i++; @endphp @endforeach @else @endif
# {{ __('keywords.Cart_id') }} User Details {{ __('keywords.Status') }} Amount Details
{{ $i }}
{{ $ongoing->cart_id }}
{{ $ongoing->delivery_date }}
{{ $ongoing->name }}
{{ $ongoing->user_phone }}
@if ($ongoing->order_status == 'Pending') @endif @if ($ongoing->order_status == 'Confirmed') @endif @if ($ongoing->order_status == 'Completed') @endif @if ($ongoing->order_status == 'Cancelled') @endif @if ($ongoing->order_status == 'Out_For_Delivery') @endif {{ $ongoing->order_status }} {{ $ongoing->total_price }}
{{ __('keywords.No data found') }}
@foreach ($ongoin as $ords)
@endforeach @endsection @section('postload-section') {{-- You must include files that have no direct efect on the load of the page and can be loaded meanwhile other tasks can be performed by user --}} @endsection