{{ Form::label('Name',__('messages.visitor.purpose').':', ['class' => 'form-label']) }}
{{ Form::select('purpose', $purpose, null, ['class' => 'form-select', 'id' => 'visitorPurpose','placeholder' => 'Select Purpose']) }}
{{ Form::label('Name',__('messages.visitor.name').':', ['class' => 'form-label']) }}
{{ Form::text('name', null, ['class' => 'form-control','required']) }}
{{ Form::label('Phone',__('messages.visitor.phone').':', ['class' => 'form-label']) }}
{!! Form::tel('phone', null, ['class' => 'form-control 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','id'=>'visitorPrefixCode']) !!}
{!! Form::hidden('country_iso', null, ['class' => 'country_iso']) !!}
✓ {{__('messages.valid')}}
{{ Form::label('Id Card',__('messages.visitor.id_card').':', ['class' => 'form-label']) }}
{{ Form::text('id_card', null, ['class' => 'form-control','id' => 'visitorIdCard']) }}
{{ Form::label('Number Of Person',__('messages.visitor.number_of_person').':', ['class' => 'form-label']) }}
{{ Form::number('no_of_person', null, ['class' => 'form-control','id' => 'no_of_visitor','min'=>'1']) }}
{{ Form::label('Date',__('messages.visitor.date').':', ['class' => 'form-label']) }}
{{ Form::text('date', null, ['class' => (getLoggedInUser()->thememode ? 'bg-light form-control' : 'bg-white form-control'),'autocomplete' => 'off','id' => 'visitorDate']) }}
{{ Form::label('In Time',__('messages.visitor.in_time').':', ['class' => 'form-label']) }}
{{ Form::text('in_time', null, ['class' => (getLoggedInUser()->thememode ? 'bg-light form-control' : 'bg-white form-control'),'id' => 'visitorInTime']) }}
{{ Form::label('Out Time',__('messages.visitor.out_time').':', ['class' => 'form-label']) }}
{{ Form::text('out_time', null, ['class' => (getLoggedInUser()->thememode ? 'bg-light form-control' : 'bg-white form-control'),'autocomplete' => 'off','id' => 'visitorOutTime']) }}
{{ Form::label('Note',__('messages.visitor.note').':', ['class' => 'form-label']) }}
{{ Form::textarea('note', null, ['class' => 'form-control','autocomplete' => 'off','id' => 'visitorNote','rows' => 5,'cols' => 5]) }}
{!! Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary me-3','id' => 'visitorSave']) !!}
{!! __('messages.common.cancel') !!}