-
Notifications
You must be signed in to change notification settings - Fork 0
/
indexTTR.ejs
executable file
·121 lines (118 loc) · 6.96 KB
/
indexTTR.ejs
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
<!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">
<title>TTR Calculator</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-select.min.css">
<link rel="stylesheet" href="css/customTTR.css">
<link rel="stylesheet" href="css/font-awesome.css">
<!-- <link rel="stylesheet" href="bower_components/angularPrint/angularPrint.css" > -->
<link rel="stylesheet" href="css/nouislider.min.css">
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
</head>
<body print-section ng-cloak>
<div class="otrp-calculator container-fluid " ng-controller="TTRController" >
<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-7 col-md-7">
<div class="row">
<div class="col-xs-12" id="chartBox">
<div id="container" style="margin:0 auto;width: 327px; height: 365px;" ng-class="{largeWidth: needSS}" ></div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<img src="images/client-logo.png" class="comp-logo"/>
</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>Your take home money</strong></div>
<div class="row">
<div class="col-xs-6">Without Salary Sacrifice</div>
<div class="col-xs-6 res-value" >{{ resultWithoutSS[0] | currency }}</div>
</div>
<div class="row">
<div class="col-xs-6">With Salary Sacrifice</div>
<div class="col-xs-6 res-value">{{ resultWithSS[0] | currency }}</div>
</div>
<div class="row divider"></div>
<div class="row res-head"><strong>Accumulation End Balance</strong></div>
<div class="row">
<div class="col-xs-6">Without Salary Sacrifice</div>
<div class="col-xs-6 res-value">{{ resultWithoutSS[1] | currency }}</div>
</div>
<div class="row">
<div class="col-xs-6">With Salary Sacrifice</div>
<div class="col-xs-6 res-value">{{ resultWithSS[1] | currency }}</div>
</div>
<div class="row divider">
</div>
<div class="row res-head"><strong>Final amount</strong></div>
<div class="row">
<div class="col-xs-6">Without Salary Sacrifice</div>
<div class="col-xs-6 res-value">{{ resultWithoutSS[2] | currency }}</div>
</div>
<div class="row">
<div class="col-xs-6">With Salary Sacrifice</div>
<div class="col-xs-6 res-value">{{ resultWithSS[2] | currency }}</div>
</div>
</div>
</div>
<div class="row res-1">
<div class="col-xs-12">
<div class="row"><strong>Final Result</strong></div>
<div class="row dd" ng-show="needSS">
<div class="col-xs-8 col-sm-12 res-head">With Salary Sacrifice,you save</div>
<div class="col-xs-4 col-sm-12 res-value" >{{ resultWithSS[2] -resultWithoutSS[2] | currency }}</div>
</div>
<div class="row dd" ng-show="!needSS">
<div class="col-xs-8 col-sm-12 res-head">Without Salary Sacrifice,you save</div>
<div class="col-xs-4 col-sm-12 res-value" >{{ resultWithoutSS[2] -resultWithSS[2] | currency }}</div>
</div>
<div class="row dd" ng-show="needSS">
<div class="col-xs-8 col-sm-12 res-head">Salary Sacrifice Amount</div>
<div class="col-xs-4 col-sm-12 res-value">{{favourableSS | currency}}</div>
</div>
<div class="row dd" ng-show="needSS">
<div class="col-xs-8 col-sm-12 res-head">Drawdown Percentage</div>
<div class="col-xs-4 col-sm-12 res-value">{{(favourableDD * 100).toFixed(2)}} %</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
var ttrObj =<%-JSON.stringify(data)%>
</script>
<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/controllerTTR.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/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/hcTTR/chartService.js" type="text/javascript"></script>
</body>
</html>