{{ Form::label('first_name',__('messages.user.first_name').(':'), ['class' => 'form-label ']) }}
{{ Form::text('first_name', null, ['class' => 'form-control','required']) }}
{{ Form::label('last_name',__('messages.user.last_name').(':'), ['class' => 'form-label ']) }}
{{ Form::text('last_name', null, ['class' => 'form-control','required']) }}
{{ Form::label('email',__('messages.user.email').(':'), ['class' => 'form-label ']) }}
{{ Form::email('email', null, ['class' => 'form-control','required']) }}
{{ Form::label('phone',__('messages.user.phone').(':'), ['class' => 'form-label ']) }}
{{ Form::tel('phone', isset($user->phone) ? $user->region_code.$user->phone : null , ['class' => 'form-control iti phoneNumber','id' => 'phoneNumber', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")']) }}
{{ Form::hidden('prefix_code',null,['class' => 'prefix_code']) }}
{!! Form::hidden('country_iso', null, ['class' => 'country_iso']) !!}
✓ {{__('messages.valid')}}
{{ Form::label('blood_group',__('messages.user.blood_group').(':'), ['class' => 'form-label ']) }}
{{ Form::select('blood_group', $bloodGroup, null, ['class' => 'form-select', 'id' => 'editAccountantBloodGroup','placeholder'=>__('messages.user.select_blood_group')]) }}
{{ Form::label('designation', __('messages.user.designation').':', ['class' => 'form-label ']) }}
{{ Form::text('designation', null, ['class' => 'form-control','required']) }}
{{ Form::label('qualification', __('messages.user.qualification').':', ['class' => 'form-label ']) }}
{{ Form::text('qualification', null, ['class' => 'form-control','required']) }}
{{ Form::label('dob', __('messages.user.dob').':', ['class' => 'form-label ']) }}
{{ Form::text('dob', null, ['class' => (getLoggedInUser()->theme_mode) ? 'form-control bg-light' : 'form-control bg-white','id' => 'editAccountantBirthDate','autocomplete' => 'off']) }}
{{__('messages.user.address_details')}}
{{ Form::label('address1',__('messages.user.address1').(':'), ['class' => 'form-label ']) }}
{{ Form::text('address1', isset($accountant->address->address1) ? $accountant->address->address1 : null, ['class' => 'form-control ']) }}
{{ Form::label('address2',__('messages.user.address2').(':'), ['class' => 'form-label ']) }}
{{ Form::text('address2', isset($accountant->address->address2) ? $accountant->address->address2 : null, ['class' => 'form-control ']) }}
{{ Form::label('city',__('messages.user.city').(':'), ['class' => 'form-label ']) }}
{{ Form::text('city', isset($accountant->address->city) ? $accountant->address->city : null, ['class' => 'form-control ']) }}
{{ Form::label('zip',__('messages.user.zip').(':'), ['class' => 'form-label ']) }}
{{ Form::text('zip', isset($accountant->address->zip) ? $accountant->address->zip : null, ['class' => 'form-control ', 'maxlength' => '6','minlength' => '6']) }}
{{ Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary me-2']) }}
{{__('messages.common.cancel')}}