@extends('layouts.driver')
@section('title','Driver Overview') @section('heading','Welcome back, '.auth()->user()->name)
@section('content')
Active deliveries{{ $activeJobs }}
Active rides{{ $activeRides }}
Delivery earningsINR {{ number_format($deliveryNet,2) }}
Ride earningsINR {{ number_format($rideNet,2) }}
Work status
Control whether dispatch can offer you new assignments.
{{ $driver->is_online ? 'You are accepting work' : 'You are currently offline' }}
Status: {{ ucfirst($driver->status) }} · {{ ucfirst($driver->service_type) }}
Subscription:
@if($currentSubscription)
{{ $currentSubscription->plan->name }} until {{ $currentSubscription->ends_at->format('d M Y H:i') }}
@elseif($subscriptionEligible)
Optional
@else
Required — activate in the Driver app
@endif
@endsection