Skip to content

Commit

Permalink
Feature/UI fixes (#31)
Browse files Browse the repository at this point in the history
* 401k -> Retirement, fix currency character total income

* update docs/

* fix net income

* update docs/
  • Loading branch information
zcarroll4 authored Jan 19, 2025
1 parent b6ccb6a commit c088a66
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
<link rel="stylesheet" href="styles.ef46db3751d8e999.css"></head>
<body>
<app-root></app-root>
<script src="runtime.be747780a686e7cd.js" type="module"></script><script src="polyfills.76d5513bb096a376.js" type="module"></script><script src="main.a079a0e11a72fa26.js" type="module"></script></body>
<script src="runtime.be747780a686e7cd.js" type="module"></script><script src="polyfills.76d5513bb096a376.js" type="module"></script><script src="main.b7a75b2d26ffed24.js" type="module"></script></body>
</html>
6 changes: 5 additions & 1 deletion docs/main.a079a0e11a72fa26.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions docs/main.b7a75b2d26ffed24.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ export class AppComponent implements OnInit {
if (!this.gross_income) return;
// this.estimated_total_taxes = (this.estimated_state_taxes ?? 0) + (this.estimated_social_security_taxes ?? 0) + (this.estimated_medicare_taxes ?? 0) + (this.estimated_taxes ?? 0) - (this.estimated_employer_fica_contribution ?? 0);
this.estimated_total_taxes = (this.estimated_state_taxes ?? 0) + (this.estimated_social_security_taxes ?? 0) + (this.estimated_medicare_taxes ?? 0) + (this.estimated_taxes ?? 0);
this.estimated_net_income = this.gross_income - this.estimated_total_taxes - (this.hsa_contributions ?? 0) - (this.traditional_retirement_contributions ?? 0) - (this.roth_retirement_contributions ?? 0);
this.estimated_net_income = this.gross_income + (this.self_employment_income ?? 0) - this.estimated_total_taxes - (this.hsa_contributions ?? 0) - (this.traditional_retirement_contributions ?? 0) - (this.roth_retirement_contributions ?? 0);
}


Expand Down

0 comments on commit c088a66

Please sign in to comment.