done
This commit is contained in:
parent
4b04d687b2
commit
6c3f66fd35
|
@ -66,11 +66,11 @@ const propertySchema = mongoose.Schema({
|
|||
type: Number,
|
||||
default: new Date().getFullYear(),
|
||||
},
|
||||
closeDataAtoB:{
|
||||
closeDateAtoB:{
|
||||
type: Date,
|
||||
required: true,
|
||||
},
|
||||
closeDataBtoB:{
|
||||
closeDateBtoC:{
|
||||
type: Date,
|
||||
required: true,
|
||||
},
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -45,7 +45,7 @@
|
|||
|
||||
|
||||
|
||||
<script type="module" crossorigin src="/assets/index-5cAVQFqo.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-BMPA1Ced.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-iEl-il0E.css">
|
||||
</head>
|
||||
|
||||
|
|
|
@ -588,8 +588,8 @@ const Addproperty = () => {
|
|||
formData.totalSqft &&
|
||||
formData.totalcashsurplus &&
|
||||
formData.sellpricebtoc &&
|
||||
formData.closeDataAtoB &&
|
||||
formData.closeDataBtoC
|
||||
formData.closeDateAtoB &&
|
||||
formData.closeDateBtoC
|
||||
) {
|
||||
const totalCostsAtoB = calculateTotalCosts();
|
||||
const totalCostsAtoBaftercredits = calculateTotalCostsWithCredits();
|
||||
|
@ -1574,12 +1574,13 @@ const Addproperty = () => {
|
|||
<input
|
||||
type="date"
|
||||
className="form-control"
|
||||
value={formData.closeDataAtoB}
|
||||
name="closeDateAtoB"
|
||||
value={formData.closeDateAtoB}
|
||||
onChange={(e) => {
|
||||
const value = e.target.value;
|
||||
setFormData({
|
||||
...formData,
|
||||
closeDataAtoB: value,
|
||||
closeDateAtoB: value,
|
||||
});
|
||||
}}
|
||||
placeholder="Close Date A to B"
|
||||
|
@ -1606,12 +1607,13 @@ const Addproperty = () => {
|
|||
<input
|
||||
type="date"
|
||||
className="form-control"
|
||||
value={formData.closeDataBtoC}
|
||||
name="closeDateBtoC"
|
||||
value={formData.closeDateBtoC}
|
||||
onChange={(e) => {
|
||||
const value = e.target.value;
|
||||
setFormData({
|
||||
...formData,
|
||||
closeDataBtoC: value,
|
||||
closeDateBtoC: value,
|
||||
});
|
||||
}}
|
||||
placeholder="Close Date B to C"
|
||||
|
|
Loading…
Reference in New Issue