done
This commit is contained in:
parent
3148ade7c0
commit
0a0c54f761
|
@ -67,10 +67,12 @@ const propertySchema = mongoose.Schema({
|
|||
default: new Date().getFullYear(),
|
||||
},
|
||||
closeDataAtoB:{
|
||||
type: Number,
|
||||
type: Date,
|
||||
required: true,
|
||||
},
|
||||
closeDataBtoC:{
|
||||
type: Number,
|
||||
closeDataBtoB:{
|
||||
type: Date,
|
||||
required: true,
|
||||
},
|
||||
purchaseCost: {
|
||||
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">
|
||||
</head>
|
||||
|
||||
|
|
|
@ -1575,6 +1575,13 @@ const Addproperty = () => {
|
|||
type="date"
|
||||
className="form-control"
|
||||
value={formData.closeDataAtoB}
|
||||
onChange={(e) => {
|
||||
const value = e.target.value;
|
||||
setFormData({
|
||||
...formData,
|
||||
closeDataAtoB: value,
|
||||
});
|
||||
}}
|
||||
placeholder="Close Date A to B"
|
||||
style={{ textAlign: "right" }}
|
||||
required
|
||||
|
@ -1600,6 +1607,13 @@ const Addproperty = () => {
|
|||
type="date"
|
||||
className="form-control"
|
||||
value={formData.closeDataBtoC}
|
||||
onChange={(e) => {
|
||||
const value = e.target.value;
|
||||
setFormData({
|
||||
...formData,
|
||||
closeDataBtoC: value,
|
||||
});
|
||||
}}
|
||||
placeholder="Close Date B to C"
|
||||
style={{ textAlign: "right" }}
|
||||
required
|
||||
|
|
Loading…
Reference in New Issue