done
This commit is contained in:
parent
57af157957
commit
4e938cd3a4
|
@ -4,6 +4,11 @@ const propertySchema = mongoose.Schema({
|
||||||
address: {type: String, required: true },
|
address: {type: String, required: true },
|
||||||
city: {type: String, required: true },
|
city: {type: String, required: true },
|
||||||
state: {type: String, required: true },
|
state: {type: String, required: true },
|
||||||
|
county: {type: String, required: true },
|
||||||
|
zip: {type: String, required: true },
|
||||||
|
parcel: {type: String, required: true },
|
||||||
|
subdivision: {type: String, required: true },
|
||||||
|
legal: {type: String, required: true },
|
||||||
propertyType: {type: String, required: true },
|
propertyType: {type: String, required: true },
|
||||||
title: {type: String, required: true },
|
title: {type: String, required: true },
|
||||||
yearBuild: {type: String, required: true },
|
yearBuild: {type: String, required: true },
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script type="module" crossorigin src="/assets/index-CfJjKeZO.js"></script>
|
<script type="module" crossorigin src="/assets/index-VmwLz7OH.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-CAj3mSy-.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-CAj3mSy-.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,11 @@ const Addproperty = () => {
|
||||||
address:"",
|
address:"",
|
||||||
city:"",
|
city:"",
|
||||||
state:"",
|
state:"",
|
||||||
|
county:"",
|
||||||
|
zip:"",
|
||||||
|
parcel:"",
|
||||||
|
subdivision:"",
|
||||||
|
legal:"",
|
||||||
propertyType: "",
|
propertyType: "",
|
||||||
title: "",
|
title: "",
|
||||||
yearBuild: "",
|
yearBuild: "",
|
||||||
|
@ -45,6 +50,11 @@ const Addproperty = () => {
|
||||||
formData.address &&
|
formData.address &&
|
||||||
formData.city &&
|
formData.city &&
|
||||||
formData.state &&
|
formData.state &&
|
||||||
|
formData.county &&
|
||||||
|
formData.zip &&
|
||||||
|
formData.parcel &&
|
||||||
|
formData.subdivision &&
|
||||||
|
formData.legal &&
|
||||||
formData.propertyType &&
|
formData.propertyType &&
|
||||||
formData.title &&
|
formData.title &&
|
||||||
formData.yearBuild &&
|
formData.yearBuild &&
|
||||||
|
@ -167,6 +177,86 @@ const Addproperty = () => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className="row gy-3">
|
||||||
|
<div className="col-md-4">
|
||||||
|
<select
|
||||||
|
className="form-floating mb-3 form-control"
|
||||||
|
name="county"
|
||||||
|
value={formData.county}
|
||||||
|
onChange={handleInputChange}
|
||||||
|
required
|
||||||
|
>
|
||||||
|
<option value="">Please Select County</option>
|
||||||
|
<option value="Residential">Residential</option>
|
||||||
|
<option value="Land">Land</option>
|
||||||
|
<option value="Commercial">Commercial</option>
|
||||||
|
<option value="Industrial">Industrial</option>
|
||||||
|
<option value="Water">Water</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div className="col-md-4">
|
||||||
|
<div className="form-floating mb-3">
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
className="form-control"
|
||||||
|
name="zip"
|
||||||
|
value={formData.zip}
|
||||||
|
onChange={handleInputChange}
|
||||||
|
placeholder="zip"
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
<label htmlFor="zip">Zip</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="col-md-4">
|
||||||
|
<div className="form-floating mb-3">
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
className="form-control"
|
||||||
|
name="parcel"
|
||||||
|
value={formData.parcel}
|
||||||
|
onChange={handleInputChange}
|
||||||
|
placeholder="parcel"
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
<label htmlFor="parcel">Parcel</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div className="row gy-3">
|
||||||
|
|
||||||
|
<div className="col-md-4">
|
||||||
|
<div className="form-floating mb-3">
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
className="form-control"
|
||||||
|
name="subdivision"
|
||||||
|
value={formData.subdivision}
|
||||||
|
onChange={handleInputChange}
|
||||||
|
placeholder="subdivision"
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
<label htmlFor="subdivision">Sub division</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="col-md-4">
|
||||||
|
<div className="form-floating mb-3">
|
||||||
|
<textarea
|
||||||
|
type="text"
|
||||||
|
className="form-control"
|
||||||
|
name="legal"
|
||||||
|
value={formData.legal}
|
||||||
|
onChange={handleInputChange}
|
||||||
|
placeholder="legal"
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
<label htmlFor="legal">Legal Description</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div className="row gy-3">
|
<div className="row gy-3">
|
||||||
<div className="col-md-4">
|
<div className="col-md-4">
|
||||||
|
|
Loading…
Reference in New Issue