@extends('layouts.admin-layout') @section('content')
Session

21,459

(+29%)

Total Users
Paid Users

4,567

(+18%)

Last week analytics
Active Users

19,860

(-14%)

Last week analytics
Pending Users

237

(+42%)

Last week analytics
Search Filters
@foreach($latestOrder as $order) @endforeach
Order ID Order No User ID Plan ID Expiry Date Amount Discount Total Order Type Payment Status Status
{{$order->order_id}} {{$order->order_no}} {{$order->order_user_id}} {{$order->order_plan_id}} {{$order->order_expiry_date}} @php // $expiryDate = Carbon\Carbon::parse($order->order_expiry_date); $today = Carbon\Carbon::today(); $diffInDays = $today->diffInDays($expiryDate, false); // false means negative values allowed @endphp @if ($diffInDays > 0) {{ $diffInDays }} day(s) remaining @elseif ($diffInDays <= 0) Expired @else {{ $diffInDays }} days remaining @endif ${{$order->order_amount}} ${{$order->order_discount}} ${{$order->order_total}} @if($order->order_type == 1) Web @else Mobile @endif @if ($order->order_payment_status == 1) Success @else Failed @endif @if ($order->order_status == 1) Success @else Failed @endif
@endsection @push('scripts') @endpush