@extends('admin.layout.base') @section('title', $page) @section('content')

{{$page}}

Over All Earning : {{currency($revenue[0]->overall)}}
Over All Commission : {{currency($revenue[0]->commission)}}

Total No. of Rides

{{$rides->count()}}

% down from cancelled Request
Revenue

{{currency($revenue[0]->overall)}}

from {{$rides->count()}} Rides
Cancelled Rides

{{$cancel_rides}}

for @if($cancel_rides == 0) 0.00 @else {{round($cancel_rides/$rides->count(),2)}}% @endif Rides
Earnings
@if(count($rides) != 0) @foreach($rides as $index => $ride) @endforeach
Booking ID Dated on Provider Name User Name Trip Amount GST User Paid Commission Driver Earning Status Mode Request Details
{{$ride->booking_id}} {{date('d M Y',strtotime($ride->created_at))}} {{@$ride->provider->first_name}}{{@$ride->provider->last_name}} {{@$ride->user->first_name}}{{@$ride->user->last_name}} {{currency($ride->payment['total'])}} {{currency($ride->payment['tax'])}} {{currency($ride->payment['payable'])}} {{currency($ride->payment['provider_commission'])}} {{currency($ride->payment['provider_pay'])}} @if($ride->status == "COMPLETED") {{$ride->status}} @elseif($ride->status == "CANCELLED") {{$ride->status}} @else {{$ride->status}} @endif {{$ride->payment_mode}} @if($ride->status != "CANCELLED") View Ride Details @else No Details Found @endif
Booking ID Dated on Provider Name User Name Trip Amount GST User Paid Commission Driver Earning Status Mode Request Details
@else
No results found
@endif
@endsection