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

{{count(App\Models\BookingHistory::get())}}

Total Bookings

View Bookings

{{count(App\Models\Partner::where('role','Partner')->get())}}

Total Partners

View Partners

{{count(App\Models\Partner::where('role','Customer')->get())}}

Total Clients

View Clients

{{count(App\Models\Driver::get())}}

Total Drivers

View Drivers

{{count(App\Models\Vehicle::get())}}

Total Vehicles

View Vehicles

{{count(App\Models\Zone::get())}}

Total Zones

View Zones

{{App\Models\BookingHistory::where('payment_status','Paid')->sum('platform_fee')}}

Total Earning

  • Booking Notifications List
    {{count(App\Models\BookingHistory::where('booking_status','Upcoming')->get())}}
  • @foreach(App\Models\BookingHistory::where('booking_status','Upcoming')->get() as $item)
  • order
  • @endforeach
@endsection