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

{{$page}}

Earnings
@if(count($Providers) != 0) @foreach($Providers as $index => $provider) @if(Setting::get('demo_mode', 0) == 1) @else @endif @endforeach
Provider Name Mobile Status Total Rides Total Earning Commission Joined at Details
{{$provider->first_name}} {{$provider->last_name}} {{ substr($provider->mobile, 0, 5).'****' }}{{ $provider->mobile }} @if($provider->status == "approved") {{$provider->status}} @elseif($provider->status == "banned") {{$provider->status}} @else {{$provider->status}} @endif @if($provider->rides_count) {{$provider->rides_count}} @else - @endif @if($provider->payment) {{currency($provider->payment[0]->overall)}} @else - @endif @if($provider->payment) {{currency($provider->payment[0]->commission)}} @else - @endif @if($provider->created_at) {{$provider->created_at->diffForHumans()}} @else - @endif View by Ride
Provider Name Mobile Status Total Rides Total Earning Commission Joined at Details
@else
No results found
@endif
@endsection