{!! Form::label('title', __('models/tblPropertyDetails.fields.title') . ':') !!} {!! Form::text('title', null, [ 'class' => 'form-control', 'maxlength' => 128, 'maxlength' => 128, 'maxlength' => 128, ]) !!}
@if (auth()->user()->hasRole('systemAdmin'))
{!! Form::label('created_by_id', __('models/tblPropertyResorts.fields.created_by_id') . ':') !!} {!! Form::select('created_by_id', $usersHost, null, ['class' => 'select2 form-control ']) !!} {{-- {{ Form::select('created_by_id', $usersHost, null, ['class' => ' select2 form-control']) }} --}}
@endif {{--
{!! Form::label('staff_id', __('models/tblPropertyDetails.fields.staff_id') . ':') !!} {!! html()->number('staff_id', null)->class('form-control') !!}
--}}
{{--
{!! Form::label('location', __('models/tblPropertyDetails.fields.location') . ':') !!} {!! Form::text('location', null, [ 'class' => 'form-control','required' => 'required', 'maxlength' => 255, 'maxlength' => 255, 'maxlength' => 255, ]) !!}
--}} {{--
{!! Form::label('no_of_chalets', __('models/tblPropertyDetails.fields.no_of_chalets') . ':') !!} {!! html()->number('no_of_chalets', null)->class('form-control') !!}
--}}
{!! Form::label('description', __('models/tblPropertyDetails.fields.description') . ':') !!} {!! html()->textarea('description', null)->class('form-control') !!}
@isset($tblPropertyResort->is_near_see) is_near_see == 1 ? 'checked' : '' }} onchange ='toggleMetersField(this)' name="is_near_see" class="custom-control-input" id="customSwitch3"> @else @endisset
@isset($tblPropertyResort->is_near_see)
{!! Form::label('meter_distance', __('models/tblPropertyDetails.fields.meter_distance') . ':') !!} {!! html()->number('meter_distance', null)->class('form-control') !!}
@else @endisset
@isset($tblPropertyResort->type_id) type_id == 1 ? 'checked' : '' }} name="type_id" class="custom-control-input" id="customSwitch4"> @else @endisset
{!! html()->label('cities :', 'cities') !!} {!! Form::select('tbl_city_id', $cities, null, ['class' => 'form-control', 'id' => 'city']) !!}
{!! html()->label('zones :', 'zones') !!} {!! Form::select('tbl_zone_id', [], null, ['class' => 'form-control', 'id' => 'zones', 'disable' => 'disable']) !!}
{{--
{!! Form::label('is_favorite', __('models/tblPropertyDetails.fields.is_favorite').':') !!} {!! html()->number('is_favorite', null)->class('form-control') !!}
--}} @push('page_scripts') @endpush {{--
{!! Form::label('created_by_id', __('models/tblPropertyDetails.fields.created_by_id') . ':') !!} {!! html()->number('created_by_id', null)->class('form-control') !!}
--}} {{--
{!! Form::label('host_token', __('models/tblPropertyDetails.fields.host_token') . ':') !!} {!! Form::text('host_token', null, [ 'class' => 'form-control', 'maxlength' => 250, 'maxlength' => 250, 'maxlength' => 250, ]) !!}
--}}