@extends('layouts.admin.app') @section('title', translate('messages.denied') . ' ' . translate('messages.deliverymen')) @push('css_or_js') @endpush @section('content')
{{ translate('messages.deliveryman') }}{{ $delivery_men->total() }}
@foreach ($delivery_men as $key => $dm) @endforeach
{{ translate('messages.sl') }} {{ translate('messages.name') }} {{ translate('messages.contact') }} {{ translate('messages.zone') }} {{ translate('messages.availability') }} {{ translate('messages.status') }} {{ translate('messages.action') }}
{{ $key + $delivery_men->firstItem() }} {{ $dm['f_name'] }} {{ $dm['l_name'] }}
{{ $dm['f_name'] . ' ' . $dm['l_name'] }}
{{ count($dm->rating) > 0 ? number_format($dm->rating[0]->average, 1, '.', ' ') : 0 }}
{{ $dm['phone'] }} @if ($dm->zone) {{ $dm->zone->name }} @else {{ translate('messages.zone') . ' ' . translate('messages.deleted') }} @endif @if ($dm->application_status == 'denied')
{{ translate('messages.denied') }}
@else
{{ translate('messages.denied') }}
@endif
@if ($dm->application_status != 'denied') @endif
@if (count($delivery_men) === 0)
public
{{ translate('no_data_found') }}
@endif
{!! $delivery_men->appends(request()->all())->links() !!}
@endsection @push('script_2') @endpush