@extends('admin.layouts.app') @push('scripts_header') @endpush @section('content')
New Property
@csrf
{{ Form::select('category_id', get_categories(), old('category_id'), ['class'=>'form-select', 'id'=>'category_id','placeholder' => '---Select--']) }} @if($errors->has('category_id'))
{{ $errors->first('category_id') }}
@endif
{{ Form::select('area_id', get_areas(), old('area_id'), ['class'=>'form-select', 'id'=>'area_id','placeholder' => '---Select--']) }} @if($errors->has('area_id'))
{{ $errors->first('area_id') }}
@endif
@if($errors->has('name'))
{{ $errors->first('name') }}
@endif
{{--
@if($errors->has('property_id'))
{{ $errors->first('property_id') }}
@endif
--}}
@if($errors->has('price'))
{{ $errors->first('price') }}
@endif
{{ Form::select('community_id', get_community(), old('community_id'), ['class'=>'form-select', 'id'=>'community_id','placeholder' => '---Select--']) }} @if($errors->has('community_id'))
{{ $errors->first('community_id') }}
@endif
{{----}}
{{----}}
{{--
@if($errors->has('price'))
{{ $errors->first('price') }}
@endif
@if($errors->has('dollar_price'))
{{ $errors->first('dollar_price') }}
@endif
--}}
@if($errors->has('rooms'))
{{ $errors->first('rooms') }}
@endif
@if($errors->has('beds'))
{{ $errors->first('beds') }}
@endif
@if($errors->has('baths'))
{{ $errors->first('baths') }}
@endif
@if($errors->has('garages'))
{{ $errors->first('garages') }}
@endif
@if($errors->has('year_build'))
{{ $errors->first('year_build') }}
@endif
@if($errors->has('size'))
{{ $errors->first('size') }}
@endif
{{--
@if($errors->has('street_address'))
{{ $errors->first('street_address') }}
@endif
--}}
@if($errors->has('location'))
{{ $errors->first('location') }}
@endif
@if($errors->has('city'))
{{ $errors->first('city') }}
@endif
{{--
@if($errors->has('state'))
{{ $errors->first('state') }}
@endif
@if($errors->has('postal_code'))
{{ $errors->first('postal_code') }}
@endif
--}}
{{ Form::select('country_id', get_countries(), old('country_id'), ['class'=>'form-select', 'id'=>'country_id','placeholder' => '---Select--']) }} @if($errors->has('country_id'))
{{ $errors->first('country_id') }}
@endif
@if($errors->has('geographic_location'))
{{ $errors->first('geographic_location') }}
@endif
{{--
@if($errors->has('property_video'))
{{ $errors->first('property_video') }}
@endif
--}}
@if($errors->has('description'))
{{ $errors->first('description') }}
@endif
{{--
@if($errors->has('plane_details'))
{{ $errors->first('plane_details') }}
@endif
--}}
@if($errors->has('image'))
{{ $errors->first('image') }}
@endif [.png, .jpg, .jpeg files only, Max size: 2MB]
@if($errors->has('image'))
{{ $errors->first('image') }}
@endif [.png, .jpg, .jpeg files only, Max image size: 2MB, Max image no:5]

Agent Information
{{--@include('admin.properties.create.agent')--}}
{{ Form::select('agent_id', get_agents(), old('agent_id'), ['class'=>'form-select', 'id'=>'agent_id','placeholder' => '---Select--']) }} @if($errors->has('agent_id'))
{{ $errors->first('agent_id') }}
@endif

Amenities
@include('admin.properties.create.amenity')
Back
@endsection @push('scripts_footer') {{-- --}} {{--@include('admin.misc.scripts.dropzone_property_image')--}} {{--@include('admin.misc.scripts.dropzone_property_plane') @include('admin.misc.scripts.dropzone_agent_image')--}} @include('admin.properties.create.script') @endpush