@extends('fleet.layout.base') @section('title', 'Providers ') @section('content')
Providers @if(Setting::get('demo_mode', 0) == 1) (*personal information hidden in demo) @endif
Add New Provider @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 Full Name Email Mobile Total / Accepted / Cancelled Request Documents / Service Type Online Action
{{ $index + 1 }} {{ $provider->first_name }} {{ $provider->last_name }}{{ substr($provider->email, 0, 3).'****'.substr($provider->email, strpos($provider->email, "@")) }}{{ $provider->email }}+{{ substr($provider->mobile, 0, 5).'****' }}{{ $provider->mobile }}{{ $provider->accepted->count() + $provider->cancelled->count() }} / {{ $provider->accepted->count() }} / {{ $provider->cancelled->count() }} @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') Disable @else Enable @endif --}}
ID Full Name Email Mobile Total / Accepted / Cancelled Request Documents / Service Type Online Action
@endsection