109 lines
No EOL
4.8 KiB
PHP
Executable file
109 lines
No EOL
4.8 KiB
PHP
Executable file
|
|
<div class="card mb-2">
|
|
<div class="card-body">
|
|
|
|
<div class="form-row">
|
|
<div class="form-group col-sm-4">
|
|
<label class="form-label">{{ __('Salutation') }}*</label>
|
|
<select class="selectpicker" data-style="btn-light" name="salutation_id" required>
|
|
{!! HTMLHelper::getSalutationOptions($travel_user->salutation_id) !!}
|
|
</select>
|
|
</div>
|
|
<div class="form-group col-sm-8">
|
|
<label class="form-label" for="title">{{ __('Title') }}</label>
|
|
{{ Form::text('title', $travel_user->title, array('placeholder'=>__('Title'), 'class'=>'form-control')) }}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<div class="form-group col-sm-6">
|
|
<label class="form-label" for="first_name">{{ __('First name') }}*</label>
|
|
{{ Form::text('first_name', $travel_user->first_name, array('placeholder'=>__('First name'), 'class'=>'form-control', 'required'=>true)) }}
|
|
|
|
</div>
|
|
<div class="form-group col-sm-6">
|
|
<label class="form-label" for="last_name">{{ __('Last Name') }}*</label>
|
|
{{ Form::text('last_name', $travel_user->last_name, array('placeholder'=>__('Last Name'), 'class'=>'form-control', 'required'=>true)) }}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label" for="company">{{ __('Firma') }}</label>
|
|
{{ Form::text('company', $travel_user->company, array('placeholder'=>__('Firma'), 'class'=>'form-control')) }}
|
|
</div>
|
|
<hr>
|
|
|
|
|
|
<div class="form-group">
|
|
<label class="form-label" for="street">{{ __('Street') }} / {{ __('House number') }}</label>
|
|
{{ Form::text('street', $travel_user->street, array('placeholder'=>__('Street'), 'class'=>'form-control')) }}
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<div class="form-group col-sm-3">
|
|
<label class="form-label" for="zipcode">{{ __('Postcode') }}</label>
|
|
{{ Form::text('zipcode', $travel_user->zipcode, array('placeholder'=>__('Postcode'), 'class'=>'form-control')) }}
|
|
|
|
</div>
|
|
<div class="form-group col-sm-5">
|
|
<label class="form-label" for="city">{{ __('City') }}</label>
|
|
{{ Form::text('city', $travel_user->city, array('placeholder'=>__('City'), 'class'=>'form-control')) }}
|
|
|
|
</div>
|
|
<div class="form-group col-sm-4 {{ $errors->has('travel_nationality_id') ? 'has-error' : '' }}">
|
|
<label class="form-label">{{ __('Country') }}*</label>
|
|
<select class="selectpicker" name="travel_nationality_id" id="travel_nationality_id" data-style="btn-light" data-live-search="true" required>
|
|
{!! HTMLHelper::getTravelNationalityOptions($travel_user->travel_nationality_id) !!}
|
|
</select>
|
|
@if ($errors->has('travel_nationality_id'))
|
|
<span class="help-block">
|
|
<strong>{{ $errors->first('travel_nationality_id') }}</strong>
|
|
</span>
|
|
@endif
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
<div class="form-row">
|
|
<div class="form-group col-sm-6">
|
|
<label class="form-label" for="phone">{{ __('Phone') }}</label>
|
|
{{ Form::text('phone', $travel_user->phone, array('placeholder'=>__('Phone'), 'class'=>'form-control')) }}
|
|
</div>
|
|
<div class="form-group col-sm-6">
|
|
<label class="form-label" for="mobil">{{ __('Mobile Phone') }}</label>
|
|
{{ Form::text('mobil', $travel_user->mobil, array('placeholder'=>__('Mobile Phone'), 'class'=>'form-control')) }}
|
|
</div>
|
|
|
|
<div class="form-group col-sm-6">
|
|
<label for="birthday" class="form-label">{{ __('Geburtstag') }}</label>
|
|
{{ Form::text('birthday', $travel_user->birthday, array('placeholder'=>Util::formatDate(), 'data-date-format'=>Util::formatDate(), 'data-start_view'=>2, 'class'=>'form-control datepicker-birthday')) }}
|
|
</div>
|
|
|
|
<div class="form-group col-sm-6">
|
|
<label class="form-label" for="fax">{{ __('Fax') }}</label>
|
|
{{ Form::text('fax', $travel_user->fax, array('placeholder'=>__('Fax'), 'class'=>'form-control')) }}
|
|
</div>
|
|
</div>
|
|
|
|
<hr>
|
|
<div class="form-row">
|
|
<div class="form-group col-sm-12">
|
|
<label class="form-label" for="email">{{ __('E-Mail Address') }}*</label>
|
|
{{ Form::text('email', $travel_user->email, array('placeholder'=>'E-Mail', 'class'=>'form-control', 'required'=>true)) }}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div> |