done
This commit is contained in:
parent
ec25e4d637
commit
c6bea888ad
|
@ -202,7 +202,19 @@ const propertySchema = mongoose.Schema({
|
|||
type: Number,
|
||||
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,
|
||||
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">
|
||||
</head>
|
||||
|
||||
|
|
|
@ -902,7 +902,7 @@ const Addproperty = () => {
|
|||
const totalRenovationsandHoldingCost =
|
||||
calculatetotalRenovationsandHoldingCost();
|
||||
const totalCoststoBuyAtoB = calculatetotalCoststoBuyAtoB();
|
||||
const costPaidOutofClosing = calculateTotalcostPaidOutofClosing();
|
||||
const totalcostPaidOutofClosing = calculateTotalcostPaidOutofClosing();
|
||||
const totaladjustments = calculateTotaladjustments();
|
||||
const fundsavailablefordistribution =
|
||||
calculatefundsavailablefordistribution();
|
||||
|
@ -933,7 +933,7 @@ const Addproperty = () => {
|
|||
totalrenovationCost: totalrenovationCost,
|
||||
totalRenovationsandHoldingCost: totalRenovationsandHoldingCost,
|
||||
totalCoststoBuyAtoB: totalCoststoBuyAtoB,
|
||||
costPaidOutofClosing: costPaidOutofClosing,
|
||||
totalcostPaidOutofClosing: totalcostPaidOutofClosing,
|
||||
totaladjustments: totaladjustments,
|
||||
fundsavailablefordistribution: fundsavailablefordistribution,
|
||||
grossproceedsperHUD: grossproceedsperHUD,
|
||||
|
@ -3183,7 +3183,7 @@ const Addproperty = () => {
|
|||
<input
|
||||
type="text"
|
||||
className="form-control"
|
||||
name="costPaidOutofClosing"
|
||||
name="totalcostPaidOutofClosing"
|
||||
value={calculateTotalcostPaidOutofClosing()}
|
||||
readOnly
|
||||
style={{
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue