@extends('layouts.app') @section('content')

{{trans('lang.dispatcher_user_edit')}}

{{--
@if ($rides[0]->rides == "")

0

@else

{{$rides[0]->rides}}

@endif
{{trans('lang.completed_rides')}}

0

{{trans('lang.average_ratings')}}
--}}
@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method("PUT")
{{trans('lang.dispatcher_user_edit')}}
{{ trans("lang.user_first_name_help") }}
{{ trans("lang.user_last_name_help") }}
{{ trans("lang.user_email_help") }}
{{ trans("lang.user_phone_help") }}
@if (file_exists(public_path('assets/images/dispatcher_users'.'/'.$user->profile_picture_path)) && !empty($user->profile_picture_path)) image @else image @endif
@if ($user->status === "yes") @else @endif
{{ trans('lang.cancel')}}
@endsection @section('scripts') @endsection