done
This commit is contained in:
parent
3148ade7c0
commit
0a0c54f761
|
@ -67,10 +67,12 @@ const propertySchema = mongoose.Schema({
|
||||||
default: new Date().getFullYear(),
|
default: new Date().getFullYear(),
|
||||||
},
|
},
|
||||||
closeDataAtoB:{
|
closeDataAtoB:{
|
||||||
type: Number,
|
type: Date,
|
||||||
|
required: true,
|
||||||
},
|
},
|
||||||
closeDataBtoC:{
|
closeDataBtoB:{
|
||||||
type: Number,
|
type: Date,
|
||||||
|
required: true,
|
||||||
},
|
},
|
||||||
purchaseCost: {
|
purchaseCost: {
|
||||||
type: Number,
|
type: Number,
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script type="module" crossorigin src="/assets/index-BbbEpMBr.js"></script>
|
<script type="module" crossorigin src="/assets/index-BK0rGQq6.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-iEl-il0E.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-iEl-il0E.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
@ -1575,6 +1575,13 @@ const Addproperty = () => {
|
||||||
type="date"
|
type="date"
|
||||||
className="form-control"
|
className="form-control"
|
||||||
value={formData.closeDataAtoB}
|
value={formData.closeDataAtoB}
|
||||||
|
onChange={(e) => {
|
||||||
|
const value = e.target.value;
|
||||||
|
setFormData({
|
||||||
|
...formData,
|
||||||
|
closeDataAtoB: value,
|
||||||
|
});
|
||||||
|
}}
|
||||||
placeholder="Close Date A to B"
|
placeholder="Close Date A to B"
|
||||||
style={{ textAlign: "right" }}
|
style={{ textAlign: "right" }}
|
||||||
required
|
required
|
||||||
|
@ -1600,6 +1607,13 @@ const Addproperty = () => {
|
||||||
type="date"
|
type="date"
|
||||||
className="form-control"
|
className="form-control"
|
||||||
value={formData.closeDataBtoC}
|
value={formData.closeDataBtoC}
|
||||||
|
onChange={(e) => {
|
||||||
|
const value = e.target.value;
|
||||||
|
setFormData({
|
||||||
|
...formData,
|
||||||
|
closeDataBtoC: value,
|
||||||
|
});
|
||||||
|
}}
|
||||||
placeholder="Close Date B to C"
|
placeholder="Close Date B to C"
|
||||||
style={{ textAlign: "right" }}
|
style={{ textAlign: "right" }}
|
||||||
required
|
required
|
||||||
|
|
Loading…
Reference in New Issue