@extends('backend.layouts.app') @section('content')

{{ count(App\Models\Order::where('slug', null)->get()) }}

Orders

More info

{{ count(App\Models\Order::where('order_status', 'For Shipped')->get()) }}

Shipped

More info

{{ count(App\Models\Order::where('order_status', 'For Confirmation')->get()) }}

Confirmation

More info

{{ count(App\Models\Order::where('order_status', 'Received')->get()) }}

Received

More info

{{ count(App\Models\Order::where('order_status', 'Complete')->get()) }}

Complete

More info
@foreach ($shipped as $shippeds) @php $items = json_decode($shippeds->items); $quantities = json_decode($shippeds->quantity); @endphp @endforeach
Order # Customer Info Items Total Amount Payment Status Order Status
{{$shippeds->reference}} {{$shippeds->personalFirstname}} @if ($items && $quantities) @foreach ($items as $index => $item) {{ $item }} x {{ $quantities[$index] }}
@endforeach @endif
{{$shippeds->total_amount}} {{$shippeds->payment_status}} {{$shippeds->order_status}}
@foreach ($confirm as $confirms) @php $items = json_decode($confirms->items); $quantities = json_decode($confirms->quantity); @endphp @endforeach
Order # Customer Info Items Total Amount Payment Status Order Status
{{$confirms->reference}} {{$confirms->personalFirstname}} @if ($items && $quantities) @foreach ($items as $index => $item) {{ $item }} x {{ $quantities[$index] }}
@endforeach @endif
{{$confirms->total_amount}} {{$confirms->payment_status}} {{$confirms->order_status}}
@foreach ($recivedd as $recivedds) @php $items = json_decode($recivedds->items); $quantities = json_decode($recivedds->quantity); @endphp @endforeach
Order # Customer Info Items Total Amount Payment Status Order Status
{{$recivedds->reference}} {{$recivedds->personalFirstname}} @if ($items && $quantities) @foreach ($items as $index => $item) {{ $item }} x {{ $quantities[$index] }}
@endforeach @endif
{{$recivedds->total_amount}} {{$recivedds->payment_status}} {{$recivedds->order_status}}
@foreach ($compl as $compls) @php $items = json_decode($compls->items); $quantities = json_decode($compls->quantity); @endphp @endforeach
Order # Customer Info Items Total Amount Payment Status Order Status
{{$compls->reference}} {{$compls->personalFirstname}} @if ($items && $quantities) @foreach ($items as $index => $item) {{ $item }} x {{ $quantities[$index] }}
@endforeach @endif
{{$compls->total_amount}} {{$compls->payment_status}} {{$compls->order_status}}
@endsection