{!! Form::label('legacy_file_number', Lang::get('property.legacy_file_number')) !!} : {!! Form::text('legacy_file_number', null, ['class' => 'form-control','onkeypress' => 'return isNumberKey(event)']) !!}
{!! Form::label('ParcelId', Lang::get('property.parcel_id')) !!} : {!! Form::text('parcel_id', null, ['class' => 'form-control']) !!}
* :
@if(isset($property->city))
* : {!! Form::select('city',$cities, null, ['class' => 'form-control','id' => 'city','required'=>'true','placeholder' => Lang::get('general.select_value')]) !!}
@else
* :
@endif @if(isset($property->district))
{!! Form::label('district', Lang::get('property.district')) !!} * : {!! Form::select('district',$districts, null, ['class' => 'form-control','required'=>'true','placeholder' => Lang::get('general.select_value')]) !!}
@else
{!! Form::label('district', Lang::get('property.district')) !!} * :
@endif @if(isset($property->sub_division))
{!! Form::label('sub_division', Lang::get('property.sub_division')) !!} * : @if (Sentinel::inRole('admin') || (Sentinel::hasAccess('admin.properties.subdivision_edit'))) {!! Form::select('sub_division',$sub_divisions, null, ['class' => 'form-control','required'=>'true','placeholder' => Lang::get('general.select_value')]) !!} @else {!! Form::select('sub_division',$sub_divisions, null, ['class' => 'form-control','required'=>'true','placeholder' => Lang::get('general.select_value')]) !!} @endif
@else
{!! Form::label('sub_division', Lang::get('property.sub_division')) !!} * :
@endif
{!! Form::label('down_town', Lang::get('property.down_town')) !!} : {!! Form::select('down_town', $down_towns, null, ['placeholder' => Lang::get('general.please_select'), 'class' => 'form-control']) !!}
{!! Form::label('street_number', Lang::get('property.street_number')) !!} : {!! Form::text('street_number', null, ['class' => 'form-control']) !!}
{!! Form::label('street_name', Lang::get('property.street_name')) !!} : {!! Form::text('street_name', null, ['class' => 'form-control']) !!}
{!! Form::label('address', Lang::get('property.address')) !!} : {!! Form::text('address', null, ['class' => 'form-control']) !!}
{!! Form::label('Area', Lang::get('property.area')) !!} : {!! Form::text('area', null, ['class' => 'form-control']) !!}
{!! Form::label('Zone', Lang::get('property.zone')) !!} : {!! Form::text('zone', null, ['class' => 'form-control']) !!}
{!! Form::label('North', Lang::get('property.north')) !!} * : {!! Form::text('north', null, ['class' => 'form-control','required'=>'true']) !!}
{!! Form::label('South', Lang::get('property.south')) !!} * : {!! Form::text('south', null, ['class' => 'form-control','required'=>'true']) !!}
{!! Form::label('East', Lang::get('property.east'))!!} * : {!! Form::text('east', null, ['class' => 'form-control','required'=>'true']) !!}
{!! Form::label('West', Lang::get('property.west')) !!} * : {!! Form::text('west', null, ['class' => 'form-control', 'required'=>'true']) !!}
{{-- PropertySize --}}
{!! Form::label('property_size',Lang::get('property.property_size')) !!} * : {!! Form::text('property_size', null, ['class' => 'form-control','required'=>'true','onkeypress' => 'return isNumberStarKey(event)','onkeyup' => 'calcPropertySize(event)']) !!}
{!! Form::label('size', Lang::get('property.size')) !!} * : {!! Form::text('size', null, ['class' => 'form-control','required'=>'true','id'=>'parcel_area','readonly'=>'readonly','onkeypress' => 'return isNumberKey(event)']) !!}
{!! Form::label('building', Lang::get('property.building')) !!} : @if (Sentinel::inRole('admin') || (Sentinel::hasAccess('admin.properties.building_edit'))) {!! Form::select('building', $building,null, ['class' => 'form-control','placeholder'=>Lang::get('general.please_select') ,'onchange'=>"validateError()"]) !!} @else {!! Form::select('building', $building,null, ['class' => 'form-control','placeholder'=>Lang::get('general.please_select') , 'readonly'=>'readonly','onchange'=>"validateError()"]) !!} @endif
{!! Form::label('no_of_buildings', Lang::get('property.no_of_buildings')) !!} : {!! Form::number('no_of_buildings', null, ['class' => 'form-control',"maxlength"=>"20"]) !!}
{!! Form::label('number_of_stories', Lang::get('property.floors')) !!} : {!! Form::select('number_of_stories', $number_of_stories, null, ['placeholder' => Lang::get('general.please_select'), 'class' => 'form-control']) !!}
{!! Form::label('building_area', Lang::get('property.building_area')) !!} : {!! Form::text('building_area', null, ['class' => 'form-control',"maxlength"=>"20",'onkeypress' => 'return isNumberKey(event)', 'onkeyup'=>"validateError()"]) !!}
{!! Form::label('property_usage', Lang::get('property.usage')) !!} : {!! Form::select('property_usage', $usages,null, ['class' => 'form-control','placeholder'=>Lang::get('general.please_select')]) !!}
{!! Form::label('property_wall', Lang::get('property.property_wall')) !!} : {!! Form::select('property_wall',$property_wall, null, ['class' => 'form-control','placeholder' => Lang::get('general.select_value')]) !!}
{!! Form::label('farm', Lang::get('property.farm')) !!} : {!! Form::select('farm_id', $farm, null, ['class' => 'form-control','placeholder'=>Lang::get('general.please_select'),'id'=>'farm','onchange'=>"validateFarm()"]) !!}
{{-- Farm --}}
{!! Form::submit(Lang::get('general.save'), ['class' => 'btn btn-primary btn-sm']) !!} {{Lang::get('general.cancel')}}