@extends('fleet.layout.base') @section('title', 'Providers ') @section('content')
  Drivers @if(Setting::get('demo_mode', 0) == 1) (*personal information hidden in demo) @endif

Add New Driver @foreach($providers as $index => $provider) @if(Setting::get('demo_mode', 0) == 1) @else @endif @if(Setting::get('demo_mode', 0) == 1) @else @endif @endforeach
ID Name Email Mobile All Ride Accepted Ride Cancelled Ride Documents Online Action
{{ $index + 1 }} {{ $provider->first_name }}{{ substr($provider->email, 0, 3).'****'.substr($provider->email, strpos($provider->email, "@")) }}{{ $provider->email }}+919876543210{{ $provider->mobile }}{{ $provider->total_requests }} {{ $provider->accepted_requests }} {{ $provider->total_requests - $provider->accepted_requests }} @if($provider->pending_documents() > 0 || $provider->service == null) Attention! {{ $provider->pending_documents() }} @else All Set! @endif @if($provider->service) @if($provider->service->status == 'active') @else @endif @else @endif
@if($provider->status == 'approved') @else @endif
ID Full Name Email Mobile All Ride Accepted Ride Cancelled Ride Documents Online Action
@endsection