-
Notifications
You must be signed in to change notification settings - Fork 7
/
index2.html
141 lines (126 loc) · 6.47 KB
/
index2.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<!-- saved from url=(0050)http://getbootstrap.com/examples/starter-template/ -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="http://getbootstrap.com/favicon.ico">
<title>Pension Calculator</title>
<!-- Bootstrap core CSS -->
<link href="ManhattanInAngular/bootstrap/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="http://getbootstrap.com/examples/starter-template/starter-template.css" rel="stylesheet">
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="ManhattanInAngular/index_files/ie-emulation-modes-warning.js"></script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script src="ManhattanInAngular/angular/angular.js"></script>
<script src="ManhattanInAngular/js/controllers.js"></script>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://getbootstrap.com/examples/starter-template/#">Pension Calculator</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="http://getbootstrap.com/examples/starter-template/#">Home</a></li>
<li><a href="http://getbootstrap.com/examples/starter-template/#about">About</a></li>
<li><a href="http://getbootstrap.com/examples/starter-template/#contact">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<div class="container" ng-app="pensionApp" ng-controller="PensionController">
<div class="starter-template">
<h1>Pension Calculator</h1>
<!-- <p class="lead">Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p> -->
</div>
<dl>
<dt>What is your job/pension?</dt>
<dd><select ng-model="chosenOccupation" ng-options="occupation.label for occupation in occupations"></select></dd>
<dt>When did you start working?</dt>
<dd><input ng-model="hireDate"></dd>
<dt>How old will you be when you retire?</dt>
<dd><input ng-model="ageAtRetirement"></dd>
<dt>How many years of service will you have? </dt>
<dd><input ng-model="yearsOfService"></dd>
<dt>What do you expect your final average salary to be?</dt>
<dd><input ng-model="finalAverageSalary"></dd>
<dt>Calculate Net Present Value of Pension</dt>
<dd><span class="btn btn-info" ng-click="calculate()">Calculate</span></dd>
</dl>
<table class="table table-striped table-condensed">
<tr>
<th>Output</th>
<th>Current SERS Calculations</th>
<th>Proposed Madigan Bill</th>
</tr>
<tr>
<td>Present Value if Male:</td>
<td>{{maleAnnuity|currency:"$":0}}</td>
<td></td>
</tr>
<tr>
<td>Present Value if Female:</td>
<td>{{femaleAnnuity|currency:"$":0}}</td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<p> </p>
<p> </p>
<p>object: {{result}}</p>
object: {"hireDate":{"dateObj":"1984-01-01T06:00:00.000Z"},"yearsOfService":20,"ageAtRetirement":65,"occupation":"policeOfficer","finalAverageSalary":75000,"benefitMultiplier":0.43999999999999995,"benefitReduction":0,"tier":1,"cola":{"start":1,"rate":0.03,"max":false,"compounded":false},"annualPension":32999.99999999999,"annuity":{"male":649060.7574785565,"female":723150.7207641858}}
</div><!-- /.container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="ManhattanInAngular/index_files/jquery.min.js"></script>
<script src="ManhattanInAngular/index_files/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="ManhattanInAngular/index_files/ie10-viewport-bug-workaround.js"></script>
<!-- <script src="./js/bootstrap1.7.0.js"></script>
<script src="./js/systems.states.IL.js"></script> -->
<script type="text/javascript" src="src/test/javascript/lib/boot.js"></script>
<script type="text/javascript" src="src/main/javascript/COLA.js"></script>
<script type="text/javascript" src="src/main/javascript/PensionCalculator.js"></script>
<script type="text/javascript" src="src/main/javascript/PensionVars.js"></script>
<script type="text/javascript" src="src/main/javascript/SERSModel.js"></script>
<script type="text/javascript" src="src/main/javascript/dataItem.js"></script>
<script type="text/javascript" src="src/main/javascript/element_mover.js"></script>
<script type="text/javascript" src="src/main/javascript/systems.mortality.js"></script>
<!-- <script type="text/javascript" src="../src/test/javascript/calc_ind_pension.spec.js"></script> -->
</body></html>