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

Dashboard

@can('users') Orders Received @else Orders Booked @endcan

{{ $totalBookings }}

Completed Orders {{ $totalDelivered }}

@can('user')
Total Services

{{$totalServices}}

Total Couriers{{$totalCouriers}}

@else
Total Couriers

{{$totalCouriers}}

Allowed Couriers{{$allowedCouriers}}

@endcan
New Orders

{{$totalBookingsToday}}

Cancelled Orders{{$totalCancelled}}

@can('users')
@can('users')Total Earnings @else Total Spent @endcan

£{{formatLargeNumber($totalEarnings)}}

@can('users')Unpaid Earnings @else Unpaid Amount @endcan£{{formatLargeNumber($totalUnpaidEarnings)}}

@else
Wallet Balance

£{{ formatLargeNumber(Auth::user()->walletBalance()) }}

@endcan @can('users')
Total Users

{{$totalUsers}}

Inactive Users{{$totalInactiveUsers}}

@endcan @can('users')
@endcan
@endsection @section('script') @endsection