This commit is contained in:
omkieit 2024-10-14 00:09:27 +05:30
parent ec25e4d637
commit c6bea888ad
6 changed files with 2465 additions and 227 deletions

View File

@ -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
},

85
ef-ui/dist/assets/index-CJacNAWv.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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>

View File

@ -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