-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
362 lines (334 loc) · 17.1 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
<!DOCTYPE html>
<html lang="it-it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale = 1.0,maximum-scale = 1.0">
<meta name="description"
content="Scopri quanto guadagnerai al netto di tasse in Italia con l'agevolazione Rientro dei Cervelli">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- Primary Meta Tags -->
<meta name="title" content="Calcolatore Rientro dei Cervelli - Stipendio Netto">
<title>Calcolatore Rientro dei Cervelli</title>
<link rel="icon" href="https://i.pinimg.com/originals/c6/ea/fa/c6eafacc17bdd88dbf8c909709dfc7df.png"
type="image/x-icon">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="cervelli.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx"
crossorigin="anonymous"></script>
<script src="cervelli.js"></script>
<script src="calculator.js"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-70BY0Z842Y"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-70BY0Z842Y');
</script>
</head>
<body>
<div class='container'>
<div id="header">
<h1>Calcolatore Tasse Rientro dei Cervelli</h1>
<h2>Scopri qual è il tuo stipendio netto</h2>
</div>
<div id="form">
<form class="row g-3" id="submit-salary">
<div class="col-auto">
<label for="ral">Stipendio lordo annuo</label>
<input type="number" min="0" max="1000000000" class="form-control" id="ral" placeholder="RAL"
value="40000">
</div>
<div class="col-auto">
<label for="region">Regione di residenza</label>
<select class="form-select" id="region">
</select>
</div>
<div class="col-auto">
<label for="comune">Comune di residenza</label>
<select class="form-select" id="comune">
</select>
</div>
<div class="input-group" id="warningComune" style="display:none; text-align:right;max-width: 685px;">
<input type="number" placeholder="0.9" min="0" max="1" step="0.001" id="customComune"
class="form-control form-control-sm" style="width:70px; display:inline-block!important; margin-left: auto; flex:none" value="0.9">
<div class="input-group-append">
<span class="input-group-text">%</span>
</div>
<button id="comuneWarning" type="button" class="btn" data-bs-toggle="tooltip" data-bs-placement="top"
title="Nessuna informazione per questo comune. Inserisci coefficiente Irpef comunale o lascia il nostro valore di default (0.9%).">
<i class="fas fa-exclamation-circle"></i>
</button>
</div>
</form>
</div>
</div>
<div id="body">
<div class="container">
<p style="color:#191970;opacity: 0.9;">Stipendio netto per i primi 5 anni. <a
href="https://www.agenziaentrate.gov.it/portale/web/guest/normativa-e-prassi2-cittadini">Leggi il
Decreto</a></p>
<table class="table nettoMesi mobile-hide"
style="background-color:#deebf7; font-size: 13px; border-color:transparent;"
id="salary-result">
<tr>
<td colspan="3" height="10"></td>
</tr>
<tr>
<td style="padding-left: 20px;"><strong>12 mensilità</strong><br>
Standard: <strong style="font-size: 16px;"><span class="standard12">-</span> €</strong> <br>
Agevolato: <strong style="font-size: 16px;"><span class="rientro12">-</span> €</strong>
<br><br>
Differenza: <strong><span class="dif12">-</span> €</strong>
</td>
<td style="padding-left: 20px;border-left: 1px solid #191970;border-right: 1px solid #191970;
"><strong>13 mensilità</strong><br>
Standard: <strong style="font-size: 16px;"><span class="standard13">-</span> €</strong> <br>
Agevolato: <strong style="font-size: 16px;"><span class="rientro13">-</span> €</strong>
<br><br>
Differenza: <strong><span class="dif13">-</span> €</strong>
</td>
<td style="padding-left: 20px;"><strong>14 mensilità</strong><br>
Standard: <strong style="font-size: 16px;"><span class="standard14">-</span> €</strong> <br>
Agevolato: <strong style="font-size: 16px;"><span class="rientro14">-</span> €</strong>
<br><br>
Differenza: <strong><span class="dif14">-</span> €</strong>
</td>
</tr>
<tr>
<td colspan="3" height="10"></td>
</tr>
</table>
<div id="carouselExampleControls " class="carousel slide mobile-show" data-bs-ride="carousel">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active"
aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1"
aria-label="Slide 2"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2"
aria-label="Slide 3"></button>
</div>
<div class="carousel-inner">
<div class="carousel-item active">
<div><strong>12 mensilità</strong><br>
Standard: <strong style="font-size: 16px;"><span class="standard12">-</span> €</strong>
<br>
Agevolato: <strong style="font-size: 16px;"><span class="rientro12">-</span> €</strong>
<br><br>
Differenza: <strong><span class="dif12">-</span> €</strong></div>
</div>
<div class="carousel-item">
<div><strong>13 mensilità</strong><br>
Standard: <strong style="font-size: 16px;"><span class="standard13">-</span> €</strong>
<br>
Agevolato: <strong style="font-size: 16px;"><span class="rientro13">-</span> €</strong>
<br><br>
Differenza: <strong><span class="dif13">-</span> €</strong></div>
</div>
<div class="carousel-item">
<div><strong>14 mensilità</strong><br>
Standard: <strong style="font-size: 16px;"><span class="standard14">-</span> €</strong>
<br>
Agevolato: <strong style="font-size: 16px;"><span class="rientro14">-</span> €</strong>
<br><br>
Differenza: <strong><span class="dif14">-</span> €</strong></div>
</div>
</div>
</div>
<div style="display: none;">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="flexCheckDefault"
onchange="valueChanged()"/>
<label class="form-check-label" for="flexCheckDefault">
<h6 style="color:#191970;opacity: 0.9;"> Mostra stipendio netto per i 5 anni successivi</h6>
</label>
</div>
<table class="table nettoMesi mobile-hide" id="dopo5anni"
style="background-color:#deebf7; font-size: 13px; border-color:transparent;">
<tr>
<td colspan="3" height="10"></td>
</tr>
<tr>
<td style="padding-left: 20px;"><strong>12 mensilità</strong><br>
Standard: <strong style="font-size: 16px;"><span class="standard12">-</span> €</strong>
<br>
Agevolato: <strong style="font-size: 16px;"><span class="rientro12">-</span> €</strong>
<br><br>
Differenza: <strong><span class="dif12">-</span> €</strong>
</td>
<td style="padding-left: 20px;border-left: 1px solid #191970;border-right: 1px solid #191970;
"><strong>13 mensilità</strong><br>
Standard: <strong style="font-size: 16px;"><span class="standard13">-</span> €</strong>
<br>
Agevolato: <strong style="font-size: 16px;"><span class="rientro13">-</span> €</strong>
<br><br>
Differenza: <strong><span class="dif13">-</span> €</strong>
</td>
<td style="padding-left: 20px;"><strong>14 mensilità</strong><br>
Standard: <strong style="font-size: 16px;"><span class="standard14">-</span> €</strong>
<br>
Agevolato: <strong style="font-size: 16px;"><span class="rientro14">-</span> €</strong>
<br><br>
Differenza: <strong><span class="dif14">-</span> €</strong>
</td>
</tr>
<tr>
<td colspan="3" height="10"></td>
</tr>
</table>
</div>
<table class="table" id="tax">
<thead>
<tr>
<td scope="col" colspan="3" style="text-align:center">
<div class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-outline-secondary btn-sm active" autocomplete="off" ><input type="radio" name="mensilita" id="option1" value="1" autocomplete="off" checked onclick="getMensilita()"> Anno</label>
<label class="btn btn-outline-secondary btn-sm" autocomplete="off" ><input type="radio" name="mensilita" id="option2" value="12" autocomplete="off" onclick="getMensilita()">12 mesi</label>
<label class="btn btn-outline-secondary btn-sm" autocomplete="off" ><input type="radio" name="mensilita" id="option3" value="13" autocomplete="off" onclick="getMensilita()">13 mesi</label>
<label class="btn btn-outline-secondary btn-sm" autocomplete="off" ><input type="radio" name="mensilita" id="option4" value="14" autocomplete="off" onclick="getMensilita()">14 mesi</label>
</div>
</td>
</tr>
<tr>
<td scope="col"></td>
<td scope="col">Standard</td>
<td scope="col" style="width: 182px;">Agevolato</td>
</tr>
</thead>
<tbody>
<tr>
<th>RAL</th>
<td><span id="taxRalS">-</span> €</td>
<td><span id="taxRalC">-</span> €</td>
</tr>
<tr>
<th>INPS</th>
<td><span id="taxInpsS">-</span> €</td>
<td><span id="taxInpsC">-</span> €</td>
</tr>
<tr>
<th>
Imponibile IRPEF
</th>
<td><span id="imponibileIrpefS">-</span> €</td>
<td><span id="imponibileIrpefC">-</span> €
<div id="isMezzogiorno">-<span id="percentualeImponibile">90%</span>
<button id="imponibileInfo" type="button" class="btn"
data-bs-toggle="tooltip" data-bs-placement="top"
title="Abbattimento dell’imponibile del 90% per i residenti nel mezzogiorno, abbattimento del 70% per gli altri rimpatriati.">
<i class="fa fa-info-circle"></i>
</button>
</div>
</td>
</tr>
<tr>
<th id="btnIrpefInfo"> Totale IRPEF
<button type="button" class="btn">
<i class="fa fa-angle-down"></i>
</button>
</th>
<td><span id="irpefTotS">-</span> €</td>
<td><span id="irpefTotC">-</span> €</td>
</tr>
<tr class="collapsemeIrpef" style="display:none;">
<td>IRPEF</td>
<td><span id="taxIrpefS">-</span> €</td>
<td><span id="taxIrpefC">-</span> €</td>
</tr>
<tr class="collapsemeIrpef" style="display:none;">
<td>IRPEF Regionale</td>
<td><span id="taxRegioneS">-</span> €</td>
<td><span id="taxRegioneC">-</span> €</td>
</tr>
<tr class="collapsemeIrpef" style="display:none;">
<td>IRPEF Comunale</td>
<td><span id="taxComuneS">-</span> €</td>
<td><span id="taxComuneC">-</span> €</td>
</tr>
<tr>
<th>Detrazioni</th>
<td><span id="detrazioniTotS">-</span> €</td>
<td><span id="detrazioniTotC">-</span> €</td>
</tr>
<tr>
<th>IRPEF Netto</th>
<td><span id="irpefNettoS">-</span> €</td>
<td><span id="irpefNettoC">-</span> €</td>
</tr>
<tr>
<th>Netto annuale</th>
<td><span id="nettoAnnualeS">-</span> €</td>
<td><span id="nettoAnnualeC">-</span> €</td>
</tr>
<tr>
<th>Totale tasse</th>
<td><span id="tasseTotS">-</span> %</td>
<td><span id="tasseTotC">-</span> %</td>
</tr>
</tbody>
</table>
<table class="table">
<tbody>
<tr>
<td colspan="3">Scaglioni Irpef</td>
<td>Standard</td>
<td>Agevolato</td>
</tr>
<tr>
<td>0 €</td>
<td>15K €</td>
<td>23%</td>
<td><span id="irpefS0">-</span> €</td>
<td><span id="irpefC0">-</span> €</td>
</tr>
<tr>
<td>15K €</td>
<td>28K €</td>
<td>25%</td>
<td><span id="irpefS1">-</span> €</td>
<td><span id="irpefC1">-</span> €</td>
</tr>
<tr>
<td>28K €</td>
<td>50K €</td>
<td>35%</td>
<td><span id="irpefS2">-</span> €</td>
<td><span id="irpefC2">-</span> €</td>
</tr>
<tr>
<td>50K €</td>
<td></td>
<td>43%</td>
<td><span id="irpefS3">-</span> €</td>
<td><span id="irpefC3">-</span> €</td>
</tr>
<tr>
<th colspan="3">Totale</th>
<th><span id="TotIrpefS">-</span> €</th>
<th><span id="TotIrpefC">-</span> €</th>
</tr>
</tbody>
</table>
<div id="disclaimer">Ai fini della semplificazione alcune variabili sono state approssimate (come lo stato
civile e altre).
<br>Questo documento non rappresenta l'autorità legale e deve essere utilizzato solo a fini di
approssimazione.
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
</body>
</html>