@extends($appPath) @section('content') Profile {{$title}} @include('backend.layouts.alert') Update Profile Change Password @if(user()->isStaff()) @else @endif @csrf @method('PUT') Name isTransporter() || $user->isAdmin() ? 'disabled' : ''}}> @if ($errors->has('name')) {{ $errors->first('name') }} @endif Email isTransporter() || $user->isAdmin() ? 'disabled' : ''}}> @if ($errors->has('email')) {{ $errors->first('email') }} @endif @if($user->isAdmin()) Type @if ($errors->has('customer_type')) {{ $errors->first('customer_type') }} @endif @endif @if($user->isTransporter()) Emergency Contact @if ($errors->has('emergency_contact_name')) {{ $errors->first('emergency_contact_name') }} @endif Emergency Contact Number @if ($errors->has('emergency_contact_number')) {{ $errors->first('emergency_contact_number') }} @endif @endif @if(user()->isStaff()) @else @endif @csrf @method('PUT') Current Password @if ($errors->has('password')) {{ $errors->first('password') }} @endif New Password @if ($errors->has('new_password')) {{ $errors->first('new_password') }} @endif Confirm New Password @if ($errors->has('confirm_password')) {{ $errors->first('confirm_password') }} @endif @endsection