@extends('admin.layouts.app') @section('main_content')

{{translate($title)}}

{{translate('Delivery man')}}
@forelse ($deliverymanlist as $deliveryman) @empty @endforelse
# {{translate('Name')}} {{translate('Email - Phone')}} {{translate('Balance')}} {{translate('KYC')}} {{translate('Order - Ratings')}} {{translate('Status')}} {{translate('Action')}}
{{$loop->iteration}} {{$deliveryman->image}}
{{ $deliveryman->username}}
{{$deliveryman->email}} - {{$deliveryman->phone}}
{{round(($deliveryman->balance))}} {{default_currency()->name}}
is_kyc_verified == "1" ? 'checked' : ''}} id="status-switch-is_kyc_verified-{{$deliveryman->id}}" > - @if($deliveryman->is_kyc_verified == 1) {{translate('Verified')}} @else {{translate('unverified')}} @endif
{{$deliveryman->orders->count()}} - {{$deliveryman->ratings->count() > 0 ? short_amount($deliveryman->ratings->avg('rating'),false,true) : 0}}
status == "1" ? 'checked' : ''}} id="status-switch-{{$deliveryman->id}}" >
@include('admin.partials.not_found')
{{$deliverymanlist->appends(request()->all())->links()}}
@include('admin.modal.delete_modal') @endsection @push('script-push') @endpush