{{ Form::label('full_name_kh', Trans('customers.full_name_kh')) }} * {{ Form::text('full_name_kh', null, [ 'class' => 'form-control', 'placeholder' => Trans('customers.full_name_kh'), ]) }} {{ $errors->first('full_name_kh') }}
{{ Form::label('full_name_en', Trans('customers.full_name_en')) }} * {{ Form::text('full_name_en', null, [ 'class' => 'form-control', 'placeholder' => Trans('customers.full_name_en'), ]) }} {{ $errors->first('full_name_en') }}
{{ Form::label('gender', Trans('customers.sex')) }} {{ Form::select('gender', [ 'm' => trans('customers.gender.m'), 'f' => trans('customers.gender.f') ], null, ['class' => 'form-control select2']) }}
{{ Form::label('marital_status', Trans('customers.marital_status.label')) }} {{ Form::select('marital_status', [ 'single' => trans('customers.marital_status.single'), 'married' => trans('customers.marital_status.married') ], null, ['class' => 'form-control select2']) }}
{{ Form::label('nationality', Trans('customers.nationality.label')) }} {{ Form::select('nationality', [ 'khmer' => trans('customers.nationality.khmer'), 'others' => trans('customers.nationality.others') ], null, ['class' => 'form-control select2']) }}
{{ Form::label('dob',Trans("users.dob")) }}
{{ Form::text('dob', $selected, [ 'class' => 'form-control', 'id' => "dob", 'placeholder' => trans('customers.dob') ]) }}
{{ Form::label('id_card_no', Trans('customers.id_card')) }} * {{ Form::text('id_card_no', null, [ 'class' => 'form-control', 'placeholder' => Trans('customers.id_card'), ]) }} {{ $errors->first('id_card_no') }}
{{ Form::label('tel', Trans('customers.tel')) }} * {{ Form::text('tel', null, [ 'class' => 'form-control', 'placeholder' => Trans('customers.tel'), ]) }} {{ $errors->first('tel') }}
{{ trans('customers.education.label') }}
{{ trans('customers.address') }}
{{ Form::label('house_number', Trans('customers.location.home_number')) }} {{ Form::text('house_number', null, [ 'class' => 'form-control', 'placeholder' => Trans('customers.location.home_number'), ]) }}
{{ Form::label('road_number', Trans('customers.location.road_number')) }} {{ Form::text('road_number', null, [ 'class' => 'form-control', 'placeholder' => Trans('customers.location.road_number'), ]) }}
{{ Form::label('group_number', Trans('customers.location.group_numner')) }} {{ Form::text('group_number', null, [ 'class' => 'form-control', 'placeholder' => Trans('customers.location.group_numner'), ]) }}
{{ Form::label('village', Trans('customers.location.village')) }} {{ Form::text('village', null, [ 'class' => 'form-control', 'placeholder' => Trans('customers.location.village'), ]) }}
{{ Form::label('commune', Trans('customers.location.commune')) }} {{ Form::text('commune', null, [ 'class' => 'form-control', 'placeholder' => Trans('customers.location.commune'), ]) }}
{{ Form::label('district', Trans('customers.location.district')) }} {{ Form::text('district', null, [ 'class' => 'form-control', 'placeholder' => Trans('customers.location.district'), ]) }}
{{ Form::label('province', Trans('customers.location.province')) }} {{ Form::text('province', null, [ 'class' => 'form-control', 'placeholder' => Trans('customers.location.province'), ]) }}
{{ Form::label('property', Trans('customers.property.label')) }} {{ Form::select('property', [ 'owner' => trans('customers.property.owner'), 'parents' => trans('customers.property.parents'), 'sibling' => trans('customers.property.sibling'), 'rent_house' => trans('customers.property.rent_house'), 'others' => trans('customers.property.others') ], null, ['class' => 'form-control select2']) }}
{{ Form::label('date_of_stay',Trans("customers.date_of_stay")) }}
{{ Form::text('date_of_stay', $selected, [ 'class' => 'form-control', 'id' => 'date_of_stay', 'placeholder' => trans('customers.date_of_stay') ]) }}
{{ Form::label('live_with', Trans('customers.live_with.label')) }} {{ Form::select('live_with', [ 'parents' => trans('customers.live_with.parents'), 'wife' => trans('customers.live_with.wife'), 'sibling' => trans('customers.live_with.sibling'), 'friend' => trans('customers.live_with.friend'), 'single' => trans('customers.live_with.single'), 'others' => trans('customers.live_with.others') ], null, ['class' => 'form-control select2']) }}
@if (isset($loanCustomer->id)) {{ $loanCustomer->full_name_kh }}

@endif
{{ Form::label('photo', Trans('customers.photo')) }} {{ Form::file('photo', [ 'class' => "form-control", ]) }}