-
Notifications
You must be signed in to change notification settings - Fork 0
/
unmarried-taxes.html
120 lines (110 loc) · 6.34 KB
/
unmarried-taxes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/unmarried-taxes.css" />
<link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/ui-lightness/jquery-ui.min.css" />
</head>
<body>
<div id="body" ng-app="unmarriedTaxes" ng-controller="UnmarriedTaxesCtrl">
<table>
<tr>
<th colspan="3"></th>
<th>"Adam"</th>
<th>"Steve"</th>
</tr>
<tr>
<td colspan="3">Wage Income</td>
<th><input currency ng-model="incomeFirst.wage" /></th>
<th><input currency ng-model="incomeSecond.wage" /></th>
</tr>
<tr>
<td colspan="3">Undergraduate Loan Interest</td>
<th><input currency ng-model="incomeFirst.undergraduateLoanInterest" /></th>
<th><input currency ng-model="incomeSecond.undergraduateLoanInterest" /></th>
</tr>
<tr>
<td colspan="3">State Tax Withheld</td>
<th><input currency ng-model="incomeFirst.stateTaxWithheld" /></th>
<th><input currency ng-model="incomeSecond.stateTaxWithheld" /></th>
</tr>
<tr>
<td colspan="3">Last Year's State Tax Paid (negative for refund)</td>
<th><input currency ng-model="incomeFirst.lastYearStateTaxPayment" /></th>
<th><input currency ng-model="incomeSecond.lastYearStateTaxPayment" /></th>
</tr>
<tr currency-slidebox id="shortTermCapitalGains" label="Short Term Capital Gains" ng-model="shortTermCapitalGains" />
<tr currency-slidebox id="longTermCapitalGains" label="Long Term Capital Gains" ng-model="longTermCapitalGains" />
<tr currency-slidebox id="ordinaryDividends" label="Ordinary Dividends" ng-model="ordinaryDividends" />
<tr currency-slidebox id="qualifiedDividends" label="Qualified Dividends" ng-model="qualifiedDividends" />
<tr currency-slidebox id="outOfStateInterest" label="Out Of State Interest" ng-model="outOfStateInterest" />
<tr currency-slidebox id="maInterest" label="Massachusetts Interest" ng-model="maInterest" />
<tr currency-slidebox id="dependentCareFsa" label="Dependent Care FSA" ng-model="dependentCareFsa" />
<tr integer-slidebox id="numDependents" label="Number of Dependents" ng-model="numDependents" />
<tr currency-slidebox id="propertyTaxes" label="Property Tax" ng-model="propertyTax" />
<tr currency-slidebox id="mortgageInterest1" label="Mortgage Interest (First House)" ng-model="mortgageInterest1" />
<tr currency-slidebox id="mortgageInterest2" label="Mortgage Interest (Second House)" ng-model="mortgageInterest2" />
<tr currency-slidebox id="mortgageInsurance" label="Mortgage Insurance" ng-model="mortgageInsurance" />
<tr currency-slidebox id="otherHousehold" label="Household Expenses" ng-model="otherHousehold" />
<tr currency-slidebox id="charitableGiving" label="Charitable Giving" ng-model="charitableGiving" />
<tr currency-slidebox id="childCare" label="Child Care Expenses" ng-model="childCare" />
<tr currency-slidebox id="rent" label="Rent" ng-model="rent" />
<tr currency-slidebox id="commute" label="Commuting Expenses" ng-model="commute" />
</table>
<table>
<tr>
<th></th>
<th>"Adam"</th>
<th>"Steve"</th>
<th>Married</th>
</tr>
<tr>
<td>Federal (Regular)</td>
<td>{{GetFederalRegularFirst() | currency}}</td>
<td>{{GetFederalRegularSecond() | currency}}</td>
<td>{{GetFederalRegularMarried() | currency}}</td>
</tr>
<tr>
<td>Federal (AMT)</td>
<td>{{GetFederalAmtFirst() | currency}}</td>
<td>{{GetFederalAmtSecond() | currency}}</td>
<td>{{GetFederalAmtMarried() | currency}}</td>
</tr>
<tr>
<td>Federal (Payroll)</td>
<td>{{GetFederalPayrollFirst() | currency}}</td>
<td>{{GetFederalPayrollSecond() | currency}}</td>
<td>{{GetFederalPayrollFirst() + GetFederalPayrollSecond() | currency}}</td>
</tr>
<tr>
<td>State (MA)</td>
<td>{{GetStateMaFirst() | currency}}</td>
<td>{{GetStateMaSecond() | currency}}</td>
<td>{{GetStateMaMarried() | currency}}</td>
</tr>
<tr>
<td>Total</td>
<td>{{GetOverallFirst() | currency}}</td>
<td>{{GetOverallSecond() | currency}}</td>
<td>{{GetOverallMarried() | currency}}</td>
</tr>
<tr>
<td colspan="4" class="header summary">
Savings over Married: {{ GetOverallMarried() - GetOverallFirst() - GetOverallSecond() | currency }}
</td>
</tr>
</table>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js"></script>
<script src="js/accounting/accounting.min.js"></script>
<script src="js/queue/queue.js"></script>
<script src="js/taxes/income.js"></script>
<script src="js/taxes/Taxes.js"></script>
<script src="js/taxes/TaxCalculator.js"></script>
<script src="js/branchAndBound/src/bnb.js"></script>
<script src="js/taxes/settings.js"></script>
<script src="js/taxes/settings-override.js"></script>
<script src="js/taxes/unmarriedTaxesCtrl.js"></script>
</body>
</html>