-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
211 lines (185 loc) · 9.82 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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head
content must come *after* these tags -->
<meta name="description" content="InvestCalc: Compare rapidamente taxas equivalentes entre aplicações de renda fixa, com ou sem IR">
<meta name="author" content="@RogerioPradoJ">
<meta name="author" content="@PradoJ">
<link rel="icon" sizes="256x256" href="assets/images/favicon.png">
<link rel="apple-touch-icon-precomposed" sizes="256x256" href="assets/images/favicon.png">
<link rel="apple-touch-startup-image" href="assets/images/favicon.png">
<meta name="theme-color" content="#000">
<meta name="msapplication-navbutton-color" content="#000">
<meta name="apple-mobile-web-app-status-bar-style" content="#000">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link href="bower_components/jumbotron-narrow/index.css" rel="stylesheet">
<link href="bower_components/download_webfont/investcalc.css" rel="stylesheet">
<title>InvestCalc - PradoJ.com</title>
<script>
// https://konklone.com/post/github-pages-now-sorta-supports-https-so-use-it
var host = "pradoj.github.io";
if ((host == window.location.host) && (window.location.protocol != "https:")) {
window.location.protocol = "https";
}
</script>
</head>
<body class="bg-info">
<div class="container">
<div class="jumbotron">
<h1>
<span class="investcalc-calculator" aria-hidden="true"></span>
InvestCalc
<span class="investcalc-pay" aria-hidden="true"></span>
</h1>
<p>
<span>...</span>
<br>Taxas equivalentes
<br>em Renda Fixa
<span class="investcalc-search" aria-hidden="true"></span>
</p>
</div>
<div>
<p class="text-center">
<a href="#calc-inputs" class="btn btn-lg btn-primary">comparar »</a>
</p>
<p class="text-center">
<button type="button" data-toggle="modal" data-target="#exemplos-tributacao" class="btn btn-sm btn-default">Exemplos de aplicações com diferentes tributações »</button>
</p>
</div>
<hr>
<div id="calc-table" class="section">
<div class="row">
<div class="col-md-12 table-responsive">
<table class="table table-condensed text-center">
<colgroup>
<col>
<col id="coluna-prazo-0">
<col id="coluna-prazo-6">
<col id="coluna-prazo-12">
<col id="coluna-prazo-24">
</colgroup>
<thead>
<tr>
<th>Prazo <br> IR</th>
<th class="text-center" id="cabecalho-prazo-0">até 6m
<br>22,5%</th>
<th class="text-center" id="cabecalho-prazo-6">até 12m
<br>20%</th>
<th class="text-center" id="cabecalho-prazo-12">até 24m
<br>17,5%</th>
<th class="text-center" id="cabecalho-prazo-24">+ de 24m
<br>15%</th>
</tr>
</thead>
<tbody>
<tr class="bg-warning">
<th><span id="taxa-equivalente">Tributado</span><br>equivalente</th>
<td id="prazo-0">109,68</td>
<td id="prazo-6">106,25</td>
<td id="prazo-12">103,03</td>
<td id="prazo-24">100,00</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<hr>
<div id="calc-inputs" class="section">
<div class="row">
<div class="col-md-12">
<form class="form-horizontal" role="form">
<fieldset>
<!-- Appended Input-->
<div class="form-group text-center">
<label class="col-md-4 control-label" for="taxa">Taxa negociada</label>
<div class="col-md-4">
<div class="input-group">
<input id="taxa" name="taxa" class="form-control text-center input-lg" placeholder="0,00" type="number" lang="pt-BR" value="85.00" step="any">
<span class="input-group-addon">% CDI/SELIC</span>
</div>
</div>
</div>
<div class="form-group text-center">
<label class="col-md-4 control-label" for="imposto-renda">IR</label>
<div class="col-md-4" id="imposto-renda">
<label for="imposto-renda-isento" class="radio-inline btn btn-lg btn-info">
<input type="radio" name="imposto-renda" id="imposto-renda-isento" value="0" checked="checked">Isento</label>
<label for="imposto-renda-tributado" class="radio-inline btn btn-lg btn-warning">
<input type="radio" name="imposto-renda" id="imposto-renda-tributado" value="1">Tributado</label>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<footer class="footer">
<p>© 2017 <a href="https://pradoj.com/">PradoJ.com</a> .
<a href="https://github.com/pradoj/investcalc">Código no GitHub</a> - Some fonts by
<a href="http://www.fontsaddict.com">fontsaddict.com</a> under
<a href="http://creativecommons.org/licenses/by/3.0/">CC BY</a>. - Some icons made by
<a href="http://www.freepik.com" title="Freepik">Freepik</a> from
<a href="http://www.flaticon.com" title="Flaticon">www.flaticon.com</a> is licensed by
<a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a>.</p>
</footer>
</div>
<!-- Modal -->
<div class="modal fade" id="exemplos-tributacao" tabindex="-1" role="dialog" aria-labelledby="exemplos-tributacaoLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="exemplos-tributacaoLabel">Aplicações - Diferentes tipos de tributação</h4>
</div>
<div class="modal-body">
<p>Existem basicamente dois tipos de tributação em aplicações de Renda Fixa:</p>
<dl class="dl-horizontal">
<dt>Isentas</dt>
<dd>
LCI, LCA, CRI, CRA etc.
</dd>
<dt>Tributadas</dt>
<dd>
Tesouro Direto, CDB, LC etc.
</dd>
Fonte: <a href="https://www.receita.fazenda.gov.br/PessoaFisica/IRPF/2015/perguntao/assuntos/aplicacoes-financeiras-renda-fixa-e-renda-variavel.htm">RFB</a></q>
</dl>
<blockquote><small>Mercado de Renda Fixa:</p>
<cite>[...]compõe-se de ativos de renda fixa aqueles cuja remuneração ou retorno de capital pode ser dimensionado no momento da aplicação. Os títulos de renda fixa são públicos ou privados, conforme a condição da entidade ou empresa que os emite. Como títulos de renda fixa públicos citam-se as Notas do Tesouro Nacional (NTN), os Bônus do Banco Central (BBC), os Títulos da Dívida Agrária (TDA), bem como os títulos estaduais e municipais. Como títulos de renda fixa privados, aqueles emitidos por instituições ou empresas de direito privado, citam-se as Letras de Câmbio (LC), os Certificados de Depósito Bancário (CDB), os Recibos de Depósito Bancário (RDB) e as Debêntures.[...]</cite>
<footer>- <a href="https://www.receita.fazenda.gov.br/PessoaFisica/IRPF/2007/Perguntas/AplicFinanRenFixaRenVariavel.htm" target="_blank">Receita Federal do Brasil (RFB)</a></footer>
</small>
</blockquote>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick='' data-dismiss="modal">Ok</button>
</div>
</div>
</div>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-93074119-1', 'auto');
ga('send', 'pageview');
</script>
<script
src="//code.jquery.com/jquery-2.2.4.min.js"
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44="
crossorigin="anonymous"></script>
<script
src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/accounting.js/0.4.1/accounting.min.js"></script>
<script src="index.js" type="text/javascript"></script>
</body></html>