@extends($appPath) @section('content')

{{$title}}

@include('backend.layouts.alert')
@if(user()->isStaff())
@else @endif @csrf @method('PUT')
Profile
isTransporter() || $user->isAdmin() ? 'disabled' : ''}}> @if ($errors->has('name')) {{ $errors->first('name') }} @endif
isTransporter() || $user->isAdmin() ? 'disabled' : ''}}> @if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if($user->isAdmin())
@if ($errors->has('customer_type')) {{ $errors->first('customer_type') }} @endif
@endif @if($user->isTransporter())
@if ($errors->has('emergency_contact_name')) {{ $errors->first('emergency_contact_name') }} @endif
@if ($errors->has('emergency_contact_number')) {{ $errors->first('emergency_contact_number') }} @endif
@endif
@if(user()->isStaff())
@else @endif @csrf @method('PUT')
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('new_password')) {{ $errors->first('new_password') }} @endif
@if ($errors->has('confirm_password')) {{ $errors->first('confirm_password') }} @endif
@endsection