done
This commit is contained in:
parent
ec25e4d637
commit
c6bea888ad
|
@ -202,7 +202,19 @@ const propertySchema = mongoose.Schema({
|
||||||
type: Number,
|
type: Number,
|
||||||
required: true, // Set to true if this field is mandatory
|
required: true, // Set to true if this field is mandatory
|
||||||
},
|
},
|
||||||
costPaidOutofClosing:{
|
costPaidOutofClosing:[
|
||||||
|
{
|
||||||
|
title: {
|
||||||
|
type: String,
|
||||||
|
required: true, // Set to true if this field is mandatory
|
||||||
|
},
|
||||||
|
price: {
|
||||||
|
type: Number,
|
||||||
|
required: true, // Set to true if this field is mandatory
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
totalcostPaidOutofClosing:{
|
||||||
type: Number,
|
type: Number,
|
||||||
required: true, // Set to true if this field is mandatory
|
required: true, // Set to true if this field is mandatory
|
||||||
},
|
},
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script type="module" crossorigin src="/assets/index-CKYSXRdS.js"></script>
|
<script type="module" crossorigin src="/assets/index-CJacNAWv.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-iEl-il0E.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-iEl-il0E.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
@ -902,7 +902,7 @@ const Addproperty = () => {
|
||||||
const totalRenovationsandHoldingCost =
|
const totalRenovationsandHoldingCost =
|
||||||
calculatetotalRenovationsandHoldingCost();
|
calculatetotalRenovationsandHoldingCost();
|
||||||
const totalCoststoBuyAtoB = calculatetotalCoststoBuyAtoB();
|
const totalCoststoBuyAtoB = calculatetotalCoststoBuyAtoB();
|
||||||
const costPaidOutofClosing = calculateTotalcostPaidOutofClosing();
|
const totalcostPaidOutofClosing = calculateTotalcostPaidOutofClosing();
|
||||||
const totaladjustments = calculateTotaladjustments();
|
const totaladjustments = calculateTotaladjustments();
|
||||||
const fundsavailablefordistribution =
|
const fundsavailablefordistribution =
|
||||||
calculatefundsavailablefordistribution();
|
calculatefundsavailablefordistribution();
|
||||||
|
@ -933,7 +933,7 @@ const Addproperty = () => {
|
||||||
totalrenovationCost: totalrenovationCost,
|
totalrenovationCost: totalrenovationCost,
|
||||||
totalRenovationsandHoldingCost: totalRenovationsandHoldingCost,
|
totalRenovationsandHoldingCost: totalRenovationsandHoldingCost,
|
||||||
totalCoststoBuyAtoB: totalCoststoBuyAtoB,
|
totalCoststoBuyAtoB: totalCoststoBuyAtoB,
|
||||||
costPaidOutofClosing: costPaidOutofClosing,
|
totalcostPaidOutofClosing: totalcostPaidOutofClosing,
|
||||||
totaladjustments: totaladjustments,
|
totaladjustments: totaladjustments,
|
||||||
fundsavailablefordistribution: fundsavailablefordistribution,
|
fundsavailablefordistribution: fundsavailablefordistribution,
|
||||||
grossproceedsperHUD: grossproceedsperHUD,
|
grossproceedsperHUD: grossproceedsperHUD,
|
||||||
|
@ -3183,7 +3183,7 @@ const Addproperty = () => {
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
className="form-control"
|
className="form-control"
|
||||||
name="costPaidOutofClosing"
|
name="totalcostPaidOutofClosing"
|
||||||
value={calculateTotalcostPaidOutofClosing()}
|
value={calculateTotalcostPaidOutofClosing()}
|
||||||
readOnly
|
readOnly
|
||||||
style={{
|
style={{
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue