-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·364 lines (362 loc) · 27.2 KB
/
index.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
<!doctype html>
<html lang="en" ng-app="TTRApp">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, minimum-scale=1">
<meta name="description" content="Calculator 1">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<title>Insurance Adequacy Calculator</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-select.min.css">
<link rel="stylesheet" href="css/custom.css">
<link rel="stylesheet" href="css/font-awesome.css">
<link rel="stylesheet" href="css/nouislider.min.css">
<!-- <link rel="stylesheet" href="bower_components/angularPrint/angularPrint.css"> -->
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
</head>
<body ng-cloak>
<div class="otrp-calculator container-fluid " ng-controller="TTRController">
<div class=" row title ">
<div class="col-xs-8 col-sm-9 col-lg-9">
<h1>Insurance Adequacy Calculator</h1>
</div>
<div class=" button-wrapper col-xs-4 col-sm-3 col-md-3">
<button type="button" class="button print-icon" onclick="window.print()"></button>
<button type="button" class="buttons button save-button" id="download" title="Save as PDF" role="button" aria-controls="email-overlay"><i class="fa fa-floppy-o" aria-hidden="true"></i></button>
<button type="button" class="button info-icon" ng-click="infoShow(true)" title="Information"></button>
</div>
</div>
<div class="row content">
<div class="col-xs-12 col-sm-12 col-lg-12">
<div class="row result-div">
<div class="col-xs-12 col-sm-12 col-md-12">
<div class="row secondChart">
<div class="col-xs-12 col-sm-7 col-md-7">
<div class="row">
<div class="col-xs-12" id="chartBox">
<div id="containerS" style="margin:0 auto;width: 327px; height: 220px; margin-top:15px;"></div>
<div id="containerB" style="margin:0 auto;width: 327px; height: 320px; margin-top:15px;"></div>
<div id="containerR" style="display:none;margin:0 auto;width: 327px; height: 300px; margin-top:15px;"></div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-5 col-md-5">
<!-- ng-class="!buyOption ? 'mTop40' : 'any'" -->
<div class="row res-2">
<div class="col-xs-12">
<div class="row res-head"><strong>Death cover</strong></div>
<div class="row divider"></div>
<div class="row" ng-show="!buyOption">
<div class="col-xs-6 res-des">Estimated Cover</div>
<div class="col-xs-6 res-value">{{ resultS1.life | currency }}</div>
</div>
<div class="row" ng-show="buyOption">
<div class="col-xs-6 res-des">Estimated cover Scenario One</div>
<div class="col-xs-6 res-value">{{ resultS1.life | currency }}</div>
</div>
<div class="row divider" ng-show="buyOption"></div>
<div class="row" ng-show="buyOption">
<div class="col-xs-6 res-des">Estimated cover Scenario Two</div>
<div class="col-xs-6 res-value">{{ resultS2.life | currency }}</div>
</div>
<div class="row divider"></div>
<div class="row">
<div class="col-xs-6 res-des">Existing cover</div>
<div class="col-xs-6 res-value">{{ecL | currency}}</div>
</div>
</div>
</div>
<div class="row res-1">
<div class="col-xs-12">
<div class="row dd" ng-show="needLife1 && !buyOption">
<div class="col-xs-6 col-sm-12 res-head">Estimated shortfall</div>
<div class="col-xs-6 col-sm-12 res-head-value">{{ sfLife1 | currency }}</div>
</div>
<div class="row dd" ng-show="!needLife1 && !buyOption">
<div class="col-xs-6 col-sm-12 res-head">Estimated excess</div>
<div class="col-xs-6 col-sm-12 res-head-value">{{ sfLife1 | currency }}</div>
</div>
<div class="row res-head" ng-show="buyOption"><strong>Excess(E) / Shortfall(S)</strong></div>
<div class="row divider" ng-show="buyOption"></div>
<div class="row dd" ng-show="!needLife1 && buyOption">
<div class="col-xs-6 res-head">Scenario One(E)</div>
<div class="col-xs-6 res-head value2">{{ sfLife1 | currency }}</div>
</div>
<div class="row dd" ng-show="needLife1 && buyOption">
<div class="col-xs-6 res-head">Scenario One(S)</div>
<div class="col-xs-6 res-head value2">{{ sfLife1 | currency }}</div>
</div>
<div class="row divider" ng-show="buyOption"></div>
<div class="row dd" ng-show="buyOption && (resultS2.life<ecL)">
<div class="col-xs-6 res-head">Scenario Two(E)</div>
<div class="col-xs-6 res-head value2">{{ sfLife2 | currency }}</div>
</div>
<div class="row dd" ng-show="buyOption && (resultS2.life>ecL)">
<div class="col-xs-6 res-head">Scenario Two(S)</div>
<div class="col-xs-6 res-head value2">{{ sfLife2 | currency }}</div>
</div>
</div>
</div>
</div>
</div>
<div class="row secondChart">
<div class="col-xs-12 col-sm-7 col-md-7">
<div class="row">
<div class="col-xs-12" id="chartBox">
<div id="containerS2" style="margin:0 auto;width: 327px; height: 220px; margin-top:15px;"></div>
<div id="containerB2" style="margin:0 auto;width: 327px; height: 320px; margin-top:15px;"></div>
<div id="containerR2" style="display:none;margin:0 auto;width: 327px; height: 300px; margin-top:15px;"></div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-5 col-md-5">
<div class="row res-2">
<div class="col-xs-12">
<div class="row res-head"><strong>TPD cover</strong></div>
<div class="row divider"></div>
<div class="row" ng-show="!buyOption">
<div class="col-xs-6 res-des">Estimated Cover</div>
<div class="col-xs-6 res-value">{{ resultS1.TPD | currency }}</div>
</div>
<div class="row" ng-show="buyOption">
<div class="col-xs-6 res-des">Estimated cover Scenario One</div>
<div class="col-xs-6 res-value">{{ resultS1.TPD | currency }}</div>
</div>
<div class="row divider" ng-show="buyOption"></div>
<div class="row" ng-show="buyOption">
<div class="col-xs-6 res-des">Estimated cover Scenario Two</div>
<div class="col-xs-6 res-value">{{ resultS2.TPD | currency }}</div>
</div>
<div class="row divider"></div>
<div class="row">
<div class="col-xs-6 res-des">Existing cover</div>
<div class="col-xs-6 res-value">{{ ecT | currency }}</div>
</div>
</div>
</div>
<div class="row res-1">
<div class="col-xs-12">
<div class="row dd" ng-show="needTPD1 && !buyOption">
<div class="col-xs-6 col-sm-12 res-head">Estimated shortfall</div>
<div class="col-xs-6 col-sm-12 res-head-value">{{ sfTPD1 | currency }}</div>
</div>
<div class="row dd" ng-show="!needTPD1 && !buyOption">
<div class="col-xs-6 col-sm-12 res-head">Estimated excess</div>
<div class="col-xs-6 col-sm-12 res-head-value">{{ sfTPD1 | currency }}</div>
</div>
<div class="row res-head" ng-show="buyOption"><strong>Excess(E) / Shortfall(S)</strong></div>
<div class="row divider" ng-show="buyOption"></div>
<div class="row dd" ng-show="!needTPD1 && buyOption">
<div class="col-xs-6 res-head">Scenario One(E)</div>
<div class="col-xs-6 res-head value2">{{ sfTPD1 | currency }}</div>
</div>
<div class="row dd" ng-show="needTPD1 && buyOption">
<div class="col-xs-6 res-head">Scenario One(S)</div>
<div class="col-xs-6 res-head value2">{{ sfTPD1 | currency }}</div>
</div>
<div class="row divider" ng-show="buyOption"></div>
<div class="row dd" ng-show="buyOption && (resultS2.TPD<ecT)">
<div class="col-xs-6 res-head">Scenario Two(E)</div>
<div class="col-xs-6 res-head value2">{{ sfTPD2 | currency }}</div>
</div>
<div class="row dd" ng-show="buyOption && (resultS2.TPD>ecT)">
<div class="col-xs-6 res-head">Scenario Two(S)</div>
<div class="col-xs-6 res-head value2">{{ sfTPD2 | currency }}</div>
</div>
</div>
</div>
</div>
</div>
<div class="row secondChart">
<div class="col-xs-12 col-sm-7 col-md-7">
<div class="row">
<div class="col-xs-12" id="chartBox">
<div id="containerS3" style="margin:0 auto;width: 327px; height: 220px; margin-top:15px;"></div>
<div id="containerB3" style="margin:0 auto;width: 327px; height: 320px; margin-top:15px;"></div>
<div id="containerR3" style="display:none;margin:0 auto;width: 327px; height: 300px; margin-top:15px;"></div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-5 col-md-5">
<div class="row res-2">
<div class="col-xs-12">
<div class="row res-head"><strong>Income Protection cover</strong></div>
<div class="row divider"></div>
<div class="row" ng-show="!buyOption">
<div class="col-xs-6 res-des">Estimated Cover</div>
<div class="col-xs-6 res-value">{{ resultS1.IP | currency }}</div>
</div>
<div class="row" ng-show="buyOption">
<div class="col-xs-6 res-des">Estimated cover Scenario One</div>
<div class="col-xs-6 res-value">{{ resultS1.IP | currency }}</div>
</div>
<div class="row divider" ng-show="buyOption"></div>
<div class="row" ng-show="buyOption">
<div class="col-xs-6 res-des">Estimated cover Scenario Two</div>
<div class="col-xs-6 res-value">{{ resultS2.IP | currency }}</div>
</div>
<div class="row divider"></div>
<div class="row">
<div class="col-xs-6 res-des">Existing cover</div>
<div class="col-xs-6 res-value">{{ ecI | currency }}</div>
</div>
</div>
</div>
<div class="row res-1">
<div class="col-xs-12">
<div class="row dd" ng-show="needIP1 && !buyOption">
<div class="col-xs-6 col-sm-12 res-head">Estimated shortfall</div>
<div class="col-xs-6 col-sm-12 res-head-value">{{ sfIP1 | currency }}</div>
</div>
<div class="row dd" ng-show="!needIP1 && !buyOption">
<div class="col-xs-6 col-sm-12 res-head">Estimated excess</div>
<div class="col-xs-6 col-sm-12 res-head-value">{{ sfIP1 | currency }}</div>
</div>
<div class="row res-head" ng-show="buyOption"><strong>Excess(E) / Shortfall(S)</strong></div>
<div class="row divider" ng-show="buyOption"></div>
<div class="row dd" ng-show="!needIP1 && buyOption">
<div class="col-xs-6 res-head">Scenario One(E)</div>
<div class="col-xs-6 res-head value2">{{ sfIP1 | currency }}</div>
</div>
<div class="row dd" ng-show="needIP1 && buyOption">
<div class="col-xs-6 res-head">Scenario One(S)</div>
<div class="col-xs-6 res-head value2">{{ sfIP1 | currency }}</div>
</div>
<div class="row divider" ng-show="buyOption"></div>
<div class="row dd" ng-show="buyOption && (resultS2.IP<ecI)">
<div class="col-xs-6 res-head">Scenario Two(E)</div>
<div class="col-xs-6 res-head value2">{{ sfIP2 | currency }}</div>
</div>
<div class="row dd" ng-show="buyOption && (resultS2.IP>ecI)">
<div class="col-xs-6 res-head">Scenario Two(S)</div>
<div class="col-xs-6 res-head value2">{{ sfIP2 | currency }}</div>
</div>
</div>
</div>
</div>
</div>
<div class="row secondChart">
<div class="col-xs-12 col-sm-7 col-md-7">
<div class="row">
<div class="col-xs-12" id="chartBox">
<div id="containerS4" style="margin:0 auto;width: 327px; height: 220px; margin-top:15px;"></div>
<div id="containerB4" style="margin:0 auto;width: 327px; height: 320px; margin-top:15px;"></div>
<div id="containerR4" style="display:none;margin:0 auto;width: 327px; height: 300px; margin-top:15px;"></div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-5 col-md-5">
<div class="row res-2">
<div class="col-xs-12">
<div class="row res-head"><strong>Trauma cover</strong></div>
<div class="row divider"></div>
<div class="row" ng-show="!buyOption">
<div class="col-xs-6 res-des">Estimated Cover</div>
<div class="col-xs-6 res-value">{{ resultS1.trauma | currency }}</div>
</div>
<div class="row" ng-show="buyOption">
<div class="col-xs-6 res-des">Estimated cover Scenario One</div>
<div class="col-xs-6 res-value">{{ resultS1.trauma | currency }}</div>
</div>
<div class="row divider" ng-show="buyOption"></div>
<div class="row" ng-show="buyOption">
<div class="col-xs-6 res-des">Estimated cover Scenario Two</div>
<div class="col-xs-6 res-value">{{ resultS2.trauma | currency }}</div>
</div>
<div class="row divider"></div>
<div class="row">
<div class="col-xs-6 res-des">Existing cover</div>
<div class="col-xs-6 res-value">{{ ecTr | currency }}</div>
</div>
</div>
</div>
<div class="row res-1">
<div class="col-xs-12">
<div class="row dd" ng-show="needTrauma1 && !buyOption">
<div class="col-xs-6 col-sm-12 res-head">Estimated shortfall</div>
<div class="col-xs-6 col-sm-12 res-head-value">{{ sfTrauma1 | currency }}</div>
</div>
<div class="row dd" ng-show="!needTrauma1 && !buyOption">
<div class="col-xs-6 col-sm-12 res-head">Estimated excess</div>
<div class="col-xs-6 col-sm-12 res-head-value">{{ sfTrauma1 | currency }}</div>
</div>
<div class="row res-head" ng-show="buyOption"><strong>Excess(E) / Shortfall(S)</strong></div>
<div class="row divider" ng-show="buyOption"></div>
<div class="row dd" ng-show="!needTrauma1 && buyOption">
<div class="col-xs-6 res-head">Scenario One(E)</div>
<div class="col-xs-6 res-head value2">{{ sfTrauma1 | currency }}</div>
</div>
<div class="row dd" ng-show="needTrauma1 && buyOption">
<div class="col-xs-6 res-head">Scenario One(S)</div>
<div class="col-xs-6 res-head value2">{{ sfTrauma1 | currency }}</div>
</div>
<div class="row divider" ng-show="buyOption"></div>
<div class="row dd" ng-show="buyOption && (resultS2.trauma<ecTr)">
<div class="col-xs-6 res-head">Scenario Two(E)</div>
<div class="col-xs-6 res-head value2">{{ sfTrauma2 | currency }}</div>
</div>
<div class="row dd" ng-show="buyOption && (resultS2.trauma>ecTr)">
<div class="col-xs-6 res-head">Scenario Two(S)</div>
<div class="col-xs-6 res-head value2">{{ sfTrauma2 | currency }}</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 wpText">
The Waiting Period For Income Protection is {{waitingPeriod }} days.
</div>
</div>
<div class="row" ng-show="buyOption">
<div class="col-xs-12">
<span class="scenerio-info">Scenario One : The scenario that your spouse does not intend to move to a smaller property if an insured event occurs.<br>Scenario Two : The scenario that your spouse would like to move to a smaller property if an insured event occurs.</span>
</div>
</div>
<div class="row disclaimer">
<div class="col-xs-12">
<span class="calculator-disclaimer">Information provided by Financial Choice Pty Ltd is general financial advice only. General advice is defined under the new regulations to include information about financial products and financial markets and our current views and outlook for those products and markets. The general advice we provide includes the information you have requested from us directly or via our web site.</span>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<img src="images/client-logo.png" class="comp-logo" />
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery-2.2.4.min.js" type="text/javascript"></script>
<script src="js/angular.min.js" type="text/javascript"></script>
<script src="js/bootstrap-select.min.js" type="text/javascript"></script>
<script src="js/ui-bootstrap-tpls-1.3.3.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/app.js" type="text/javascript"></script>
<script src="js/controller.js" type="text/javascript"></script>
<script src="js/AgeCalculatorService.js" type="text/javascript"></script>
<!-- <script src="js/TaxRateCalculatorService.js" type="text/javascript"></script> -->
<!-- <script src="js/SGCRateCalculator.js" type="text/javascript"></script> -->
<!-- <script src="js/WithoutSSCalculatorService.js" type="text/javascript"></script> -->
<!-- <script src="js/WithSSCalculatorService.js" type="text/javascript"></script> -->
<script src="js/nouislider.min.js" type="text/javascript"></script>
<script src="js/wNumb.js" type="text/javascript"></script>
<!-- <script src="bower_components/angularPrint/angularPrint.js" type="text/javascript"></script> -->
<script src="js/hc/highcharts.js" type="text/javascript"></script>
<script src="js/hc/highcharts-3d.js" type="text/javascript"></script>
<script src="js/hc/data.js" type="text/javascript"></script>
<script src="js/hc/exporting.js" type="text/javascript"></script>
<script src="js/hc/sand-signika.js" type="text/javascript"></script>
<!-- <script src="js/hc/donutChartService.js" type="text/javascript"></script> -->
<script src="js/hc/chartService.js" type="text/javascript"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.2.61/jspdf.min.js"></script> -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf-autotable/2.0.16/jspdf.plugin.autotable.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.5.0-beta1/html2canvas.js"></script>
<script src="js/rgbcolor.js" type="text/javascript"></script>
<script src="js/StackBlur.js" type="text/javascript"></script>
<script src="js/canvg.min.js" type="text/javascript"></script>
<script src="js/PdfMaker.js" type="text/javascript"></script>
</body>
</html>