show selling costs transparently in tooltip and label on result card

This commit is contained in:
Johannes
2026-03-20 02:48:30 +01:00
parent db4a25ece9
commit 767a2e4cfc
3 changed files with 4 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ function run_simulation(p) {
cum_rent_arr.push(0);
detail_arr.push({
house_value: Math.round(home_value),
selling_costs: Math.round(selling_costs_0),
mortgage_balance: Math.round(balance),
buyer_portfolio: Math.round(buyer_portfolio),
yr_interest: 0,
@@ -143,6 +144,7 @@ function run_simulation(p) {
cum_rent_arr.push(Math.round(cum_rent_cost));
detail_arr.push({
house_value: Math.round(home_value),
selling_costs: Math.round(selling_costs),
mortgage_balance: Math.round(balance),
buyer_portfolio: Math.round(buyer_portfolio),
yr_interest: Math.round(yr_interest),