This commit is contained in:
omkieit 2024-10-07 18:37:13 +05:30
parent 7e09043dcb
commit d4170a12d9
3 changed files with 22 additions and 21 deletions

File diff suppressed because one or more lines are too long

View File

@ -45,7 +45,7 @@
<script type="module" crossorigin src="/assets/index-Cn1uia1n.js"></script> <script type="module" crossorigin src="/assets/index-P2J43GlO.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-iEl-il0E.css"> <link rel="stylesheet" crossorigin href="/assets/index-iEl-il0E.css">
</head> </head>

View File

@ -585,8 +585,7 @@ const Addproperty = () => {
formData.extwall && formData.extwall &&
formData.roofing && formData.roofing &&
formData.totalSqft && formData.totalSqft &&
formData.totalcashsurplus && formData.totalcashsurplus
formData.costsAfterPropertyAcquisition
) { ) {
const totalCostsAtoB = calculateTotalCosts(); const totalCostsAtoB = calculateTotalCosts();
const totalCostsAtoBaftercredits = calculateTotalCostsWithCredits(); const totalCostsAtoBaftercredits = calculateTotalCostsWithCredits();
@ -595,6 +594,7 @@ const Addproperty = () => {
const totalcredits = calculateTotalCredits(); const totalcredits = calculateTotalCredits();
const totalutilMaintenanceCost = calculatetotalutilMaintenanceCost(); const totalutilMaintenanceCost = calculatetotalutilMaintenanceCost();
const totalrenovationCost= calculaterenovationCost(); const totalrenovationCost= calculaterenovationCost();
const costsAfterPropertyAcquisition= calculatecostsAfterPropertyAcquisition();
// Add user info to formData, including the propertyTaxInfo array // Add user info to formData, including the propertyTaxInfo array
const formDataWithUserInfo = { const formDataWithUserInfo = {
@ -612,6 +612,7 @@ const Addproperty = () => {
totalincidentalCost: totalincidentalCost, totalincidentalCost: totalincidentalCost,
totalutilMaintenanceCost: totalutilMaintenanceCost, totalutilMaintenanceCost: totalutilMaintenanceCost,
totalrenovationCost:totalrenovationCost, totalrenovationCost:totalrenovationCost,
costsAfterPropertyAcquisition:costsAfterPropertyAcquisition,
}; };
// Check if propertyTaxInfo is an array and has values // Check if propertyTaxInfo is an array and has values