-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
695 lines (694 loc) · 44.7 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
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
<!doctype html>
<html lang="pt-br">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RYVJMV5QYW"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-RYVJMV5QYW');
</script>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>Calculadora do recenseador</title>
<link rel="stylesheet" href="/apps/ibge/css/bootstrap.min.css">
<link rel="stylesheet" href="/apps/ibge/css/bootstrap-icons.css">
<link rel="manifest" href="/apps/ibge/manifest.json">
<link rel="icon" type="image/x-icon" href="/apps/ibge/favicon.ico">
<meta name="msapplication-TileImage" content="/apps/ibge/favicon.ico">
<link rel="apple-touch-icon" href="/apps/ibge/favicon.ico">
<meta content="pt_BR" property="og:locale">
<meta content="website" property="og:type">
<meta content="Calculadora do recenseador" property="og:title">
<meta content="index, follow" name="robots">
<meta content="Leone Oliveira" name="author">
<meta content="Permite o cálculo da remuneração do recenseador, taxa do setor, taxa de ausência e do valor da rescisão de forma precisa com todos os benefícios e descontos. Calcule agora mesmo!"
name="description">
<meta content="Permite o cálculo da remuneração do recenseador, taxa do setor, taxa de ausência e do valor da rescisão de forma precisa com todos os benefícios e descontos. Calcule agora mesmo!"
name="og:description">
<link rel="stylesheet" href="/apps/ibge/css/style.min.css">
<meta name="theme-color" content="#000000">
</head>
<body class="d-flex flex-column min-vh-100 bg-black text-gray">
<header class="d-flex justify-content-center py-3 mb-3 border-bottom bg-dark dark-mode bg-change shadow-sm">
<h1 class="fs-3 text-center">Calculadora do recenseador</h1>
</header>
<main class="container mb-3 px-2">
<ul class="nav nav-tabs bg-black border-bottom-0" role="tablist" aria-label="Calcular">
<li class="nav-item" role="presentation">
<a class="nav-link text-light tab-link" data-bs-toggle="tab" href="#calcIncome" role="tab"
id="btnCalcIncome" aria-selected="false" aria-controls="calcIncome">
Salário
</a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link text-light tab-link" data-bs-toggle="tab" href="#calcTax" id="btnCalcTax" role="tab"
aria-selected="false" aria-controls="calcTax">
Taxa
</a>
</li>
<li class="nav-item" role="presentation">
<a aria-controls="calcAbsence" aria-selected="false" class="nav-link text-light tab-link" data-bs-toggle="tab"
href="#calcAbsence" id="btnCalcAbsence" role="tab">
Ausência
</a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link text-light tab-link" data-bs-toggle="tab" href="#calcTermination" role="tab"
id="btnCalcTermination" aria-selected="false" aria-controls="calcTermination">
Rescisão
</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane fade" id="calcIncome" aria-labelledby="btnCalcIncome" role="tabpanel">
<form id="incomeForm" novalidate>
<div class="shadow-sm rounded bg-dark px-3 py-4">
<div class="title pb-1 border-bottom">
<h2>
Andamento do setor
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title='Acesse a aba "Relatórios" -> "Andamento do setor" em seu DMC.'>
<i class="bi bi-info-circle-fill"></i>
</sup>
</h2>
</div>
<div class="content">
<h3 class="mt-3 text-center">
Unidades
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title="Andamento do setor -> 3 Resumo Unidades">
<i class="bi bi-info-circle-fill"></i>
</sup>
</h3>
<div class="d-flex justify-content-around col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<div class="col-5">
<label for="unitsConfirmed" class="form-label">Confirmadas</label>
<input type="number" class="form-control form-control-dark" id="unitsConfirmed" min="0"
required placeholder="Unidades confirmadas" name="units_confirmed">
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
<div class="col-5">
<label for="unitsIncluded" class="form-label">Incluídas</label>
<input type="number" class="form-control form-control-dark" id="unitsIncluded" min="0"
required placeholder="Unidades incluídas" name="units_included">
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
</div>
<h3 class="mt-3 text-center">
Questionários
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title='Andamento do setor -> 8 Total Questionários'>
<i class="bi bi-info-circle-fill"></i>
</sup>
</h3>
<div class="d-flex justify-content-around col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<div class="col-5">
<label for="quizBasic" class="form-label">Básico</label>
<input class="form-control form-control-dark" id="quizBasic" min="0" required
type="number"
placeholder="Questionários básicos" name="quiz_basic">
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
<div class="col-5">
<label for="quizSample" class="form-label">Amostra</label>
<input class="form-control form-control-dark" id="quizSample" min="0" required
type="number"
placeholder="Questionários amostra" name="quiz_sample">
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
</div>
<h3 class="mt-3 text-center">
Pessoas
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title='Andamento do setor -> 9 Resumo De Pessoas Recenseadas'>
<i class="bi bi-info-circle-fill"></i>
</sup>
</h3>
<div class="d-flex justify-content-around col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<div class="col-5">
<label for="peopleBasic" class="form-label">Básico</label>
<input class="form-control form-control-dark" id="peopleBasic" min="0" required
type="number"
placeholder="Pessoas básico" name="people_basic">
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
<div class="col-5">
<label for="peopleSample" class="form-label">Amostra</label>
<input class="form-control form-control-dark" id="peopleSample" min="0" required
type="number"
placeholder="Pessoas Amostra" name="people_sample">
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
</div>
</div>
</div>
<div class="shadow-sm rounded bg-dark px-3 py-4 mt-4">
<div class="title pb-1 border-bottom">
<h2>Detalhes do setor</h2>
</div>
<div class="content">
<h3 class="text-center mt-3 mb-0">Localização</h3>
<div class="d-flex justify-content-center mt-3">
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="localeUrban" name="locale"
required type="radio" value="urban">
<label for="localeUrban" class="form-check-label">Urbano</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="localeRural" name="locale"
required type="radio" value="rural">
<label for="localeRural" class="form-check-label">Rural ou PCT
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title="Povos e Comunidades Tradicionais (aldeias indígenas e comunidades quilombolas).">
<i class="bi bi-info-circle-fill"></i>
</sup>
</label>
</div>
</div>
<h3 class="text-center my-3">Taxa do setor
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title="Você consegue essa informação com o seu ACS ou ACM.">
<i class="bi bi-info-circle-fill"></i>
</sup>
</h3>
<div class="d-flex justify-content-center">
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe1" name="taxe" required
type="radio" value=1>
<label for="taxe1" class="form-check-label">1</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe2" name="taxe" required
type="radio" value=2>
<label for="taxe2" class="form-check-label">2</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe3" name="taxe" required
type="radio" value=3>
<label for="taxe3" class="form-check-label">3</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe4" name="taxe" required
type="radio" value=4>
<label for="taxe4" class="form-check-label">4</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe5" name="taxe" required
type="radio" value=5>
<label for="taxe5" class="form-check-label">5</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe6" name="taxe" required
type="radio" value=6>
<label for="taxe6" class="form-check-label">6</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe7" name="taxe" required
type="radio" value=7>
<label for="taxe7" class="form-check-label">7</label>
</div>
</div>
<div class="d-flex justify-content-center mt-3">
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe8" name="taxe" required
type="radio" value=8>
<label for="taxe8" class="form-check-label">8</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe9" name="taxe" required
type="radio" value=9>
<label for="taxe9" class="form-check-label">9</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe10" name="taxe" required
type="radio" value=10>
<label for="taxe10" class="form-check-label">10</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe11" name="taxe" required
type="radio" value=11>
<label for="taxe11" class="form-check-label">11</label>
</div>
<div class="form-check form-check-inline">
<label for="taxe12"></label><input class="form-check-input form-check-dark" id="taxe12" name="taxe" required
type="radio" value=12>
<label for="taxe12" class="form-check-label">12</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe13" name="taxe" required
type="radio" value=13>
<label for="taxe13" class="form-check-label">13</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe14" name="taxe" required
type="radio" value=14>
<label for="taxe14" class="form-check-label">14</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxe15" name="taxe" required
type="radio" value=15>
<label for="taxe15" class="form-check-label">15</label>
</div>
</div>
</div>
</div>
<div class="shadow-sm rounded bg-dark px-3 py-4 mt-4">
<div class="title pb-1 border-bottom">
<h2>Benefícios</h2>
</div>
<div class="content">
<h3 class="text-center my-3">Salário família</h3>
<div class="col-5 mx-auto">
<label for="numberSons" class="form-label">Filhos até 14 anos</label>
<div class="input-group">
<input type="number" class="form-control form-control-dark" id="numberSons" min="0"
value="0" required name="number_sons">
<span class="input-group-text input-group-text-dark bg-change bg-dark">filho(s)</span>
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
</div>
</div>
</div>
<div class="row mt-4 pt-4 text-gray px-3 d-none income" id="income">
<h3 class="mb-3">A receber</h3>
<ul class="list-group mb-3 pe-0">
<li class="list-group-item bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0"><span id="units">0</span> unidades visitadas</h6>
<span class="small text-muted">Todas unidades confirmadas ou incluídas.</span>
</div>
<span class="text-muted" id="unitsValue">R$ 0</span>
</li>
<li class="list-group-item bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0"><span id="quiz">0</span> questionários</h6>
<span class="small text-muted">Todos os questionários, básicos e de amostra.</span>
</div>
<span class="text-muted" id="quizValue">R$ 0</span>
</li>
<li class="list-group-item bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0"><span id="people">0</span> pessoas</h6>
<span class="small text-muted">Todas as pessoas recenseadas.</span>
</div>
<span class="text-muted" id="peopleValue">R$ 0</span>
</li>
<li class="list-group-item bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0">Total Bruto</h6>
<span class="small text-muted">Valor total, antes dos descontos e benefícios.</span>
</div>
<span class="text-muted" id="totalGross">R$ 0</span>
</li>
<li class="list-group-item list-group-item-success bg-dark text-gray d-flex justify-content-between">
<div>
<h6 class="my-0">Salário família</h6>
<span class="small text-success" id="familySalary">
<span id="quantitySons">
<span id="quantitySonsValue">0</span> filhos
<span class="text-muted fs-6" data-bs-placement="top"
data-bs-toggle="tooltip"
title="Caso a soma da remuneração recebida no mês seja superior a R$ 1.655,98 não haverá direito a salário família.">
<i class="bi bi-info-circle-fill"></i>
</span>
</span>
<span class="d-none"
id="outRangeSalary">Salário fora da faixa contemplada!</span>
</span>
</div>
<span class="text-success" id="familySalaryValue">+ R$ 0</span>
</li>
<li class="list-group-item list-group-item-danger bg-dark text-gray d-flex justify-content-between">
<div>
<h6 class="my-0">INSS</h6>
<span class="small text-danger">
<span id="percentInss">0</span>%
<span class="text-muted fs-6" data-bs-placement="top" data-bs-toggle="tooltip"
title="Essa porcentagem pode ser maior se você receber o pagamento de dois ou mais setores em único mês.">
<i class="bi bi-info-circle-fill"></i>
</span>
</span>
</div>
<span class="text-danger" id="inssValue">− R$ 0</span>
</li>
<li class="list-group-item list-group-item-danger bg-dark text-gray d-flex justify-content-between">
<div>
<h6 class="my-0">IRRF</h6>
<span class="small text-danger">
<span id="percentIrrf">0</span>%
<span class="text-muted fs-6" data-bs-placement="top" data-bs-toggle="tooltip"
title="Essa porcentagem pode ser maior se você receber o pagamento de dois ou mais setores em único mês.">
<i class="bi bi-info-circle-fill"></i>
</span>
</span>
</div>
<span class="text-danger" id="irrfValue">− R$ 0</span>
</li>
<li class="list-group-item bg-dark text-gray d-flex justify-content-between">
<span>Total</span>
<span id="incomeValue" class="fw-bold">R$ 0</span>
</li>
</ul>
</div>
<div class="d-grid col-7 mx-auto mt-3">
<button class="btn btn-dark btn-lg" id="calculateBtn">Calcular</button>
</div>
</form>
</div>
<div class="tab-pane fade" id="calcTax" aria-labelledby="btnCalcTax" role="tabpanel">
<form id="taxForm" novalidate>
<div class="shadow-sm rounded bg-dark px-3 py-4">
<div class="title pb-1 border-bottom">
<h2>Detalhes</h2>
</div>
<div class="content">
<h3 class="text-center mt-3 mb-0">Localização</h3>
<div class="d-flex justify-content-center mt-3">
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxUrban" name="tax_locale"
required type="radio" value="urban">
<label for="taxUrban" class="form-check-label">Urbano</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input form-check-dark" id="taxRural" name="tax_locale"
required type="radio" value="rural">
<label for="taxRural" class="form-check-label">Rural ou PCT
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title="Povos e Comunidades Tradicionais (aldeias indígenas e comunidades quilombolas).">
<i class="bi bi-info-circle-fill"></i>
</sup>
</label>
</div>
</div>
<h3 class="text-center my-3">Valores pagos
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title="Para identificar a taxa, precisamos que você digite os valores pagos, caso não tenha nenhum contracheque da região você pode perguntar a taxa ao seu ACS ou ACM.">
<i class="bi bi-info-circle-fill"></i>
</sup>
</h3>
<div class="d-flex justify-content-around col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<div class="col-5">
<label for="unitsVisited" class="form-label">Unidades visitadas</label>
<input type="number" class="form-control form-control-dark" id="unitsVisited" min="1"
required placeholder="Unidades visitadas" name="units_visited">
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
<div class="col-5">
<label for="valueUnits" class="form-label">Valor da unidades</label>
<div class="input-group">
<span class="input-group-text input-group-text-dark bg-change bg-dark">R$</span>
<input class="form-control form-control-dark" id="valueUnits" min="0.01"
type="number"
step="0.01" required placeholder="Valor das unidades" name="value_units">
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
</div>
</div>
</div>
</div>
<div class="alert alert-danger text-center mt-3 d-none" id="calcTaxError">
Não foi possível calcular a taxa, verifique os dados e tente novamente.
</div>
<div class="alert alert-success text-center mt-3 d-none" id="calcTaxSuccess">
Pelas informações passadas a taxa desse setor é <span id="taxValue" class="fw-bolder"></span>.
</div>
<div class="d-grid col-7 mx-auto mt-3">
<button class="btn btn-dark btn-lg" id="calculateTaxBtn">Calcular</button>
</div>
</form>
</div>
<div aria-labelledby="btnCalcAbsence" class="tab-pane fade" id="calcAbsence" role="tabpanel">
<form id="absenceForm" novalidate>
<div class="shadow-sm rounded bg-dark px-3 py-4">
<div class="title pb-1 border-bottom">
<h2>Ausências/Recusas</h2>
</div>
<div class="content">
<h3 class="text-center mt-3">Domicílios</h3>
<div class="col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<label class="form-label" for="domicileOccupied">
Domicílios ocupados (DPPO e DPIO)
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title="Andamento do setor -> 4 Resumo Espécies (Espécie 01 + Espécie 05)">
<i class="bi bi-info-circle-fill"></i>
</sup>
</label>
<input class="form-control form-control-dark" id="domicileOccupied" min="1" name="domicile_occupied"
placeholder="Domicílios ocupados" required type="number">
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
<h3 class="text-center mt-3">Questionários</h3>
<div class="col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<label class="form-label" for="quizFinalized">
Questionários finalizados
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title="Andamento do setor -> 8 Total Questionários">
<i class="bi bi-info-circle-fill"></i>
</sup>
</label>
<input class="form-control form-control-dark" id="quizFinalized" min="0" name="quiz_finalized"
placeholder="Questionários finalizados" required type="number">
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
<h3 class="text-center mt-3">Meta</h3>
<div class="col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<label class="form-label" for="goalAbsence">
Máximo de Ausências/Recusas
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title="A meta geral é 5% porém as Unidades Estaduais podem fixar uma meta menor">
<i class="bi bi-info-circle-fill"></i>
</sup>
</label>
<div class="input-group">
<input class="form-control form-control-dark" id="goalAbsence" max="5" min="0"
name="goal_absence" placeholder="Questionários finalizados" required type="number"
value="5">
<span class="input-group-text input-group-text-dark">%</span>
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
</div>
</div>
</div>
<div class="d-grid col-7 mx-auto mt-3">
<button class="btn btn-dark btn-lg" id="calculateAbsenceBtn">Calcular</button>
</div>
<div class="row mt-4 pt-4 text-gray px-3 d-none income" id="absenceDetails">
<h3 class="mb-3">Detalhes</h3>
<ul class="list-group mb-3 pe-0">
<li class="list-group-item bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0">Ausentes</h6>
<span class="small text-muted">Total de domicílios sem questionário.</span>
</div>
<span class="text-muted" id="absenceQuantity">0</span>
</li>
<li class="list-group-item bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0">Taxa de ausência</h6>
<span class="small text-muted">Porcentagem de domicílios sem questionário.</span>
</div>
<span class="text-muted">
<span id="absenceTaxe">0</span>%
</span>
</li>
<li class="list-group-item list-group-item-success bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0">Meta de ausência</h6>
<span class="small text-success">Meta de domicílios sem questionário.</span>
</div>
<span class="text-success" id="goalAbsenceQuantity">0</span>
</li>
<li class="list-group-item list-group-item-danger bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0">Ausências a reverter</h6>
<span class="small text-danger">Questionários que precisam ser realizados.</span>
</div>
<span class="text-danger" id="goalAbsenceDiff">0</span>
</li>
</ul>
</div>
</form>
</div>
<div class="tab-pane fade" id="calcTermination" aria-labelledby="btnCalcTermination" role="tabpanel">
<form id="terminationForm" novalidate>
<div class="shadow-sm rounded bg-dark px-3 py-4">
<div class="title pb-1 border-bottom">
<h2>Trabalho</h2>
</div>
<div class="content">
<h3 class="text-center mt-3">Tempo</h3>
<div class="d-sm-flex justify-content-around col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<div class="col-12 col-sm-5">
<label for="startDay" class="form-label">
Início do contrato
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title="Do dia que o primeiro contrato foi assinado, o dia da sua contratação.">
<i class="bi bi-info-circle-fill"></i>
</sup>
</label>
<div class="mb-3">
<input type="date" class="form-control form-control-dark" id="startDay" required
name="start_day" min="2022-07-25" value="2022-07-25">
<div class="invalid-feedback text-center">
Menor data possível: 25/07/2022
</div>
</div>
</div>
<div class="col-12 col-sm-5">
<label for="endDay" class="form-label">
Fim do contrato
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title="Dia que a rescisão foi assinada, o dia da sua demissão.">
<i class="bi bi-info-circle-fill"></i>
</sup>
</label>
<div class="mb-3">
<input type="date" class="form-control form-control-dark" id="endDay" required
name="end_day" min="2022-07-25">
<div class="invalid-feedback text-center">
Menor data possível: 26/07/2022
</div>
</div>
</div>
</div>
<h3 class="text-center mt-3">Remuneração</h3>
<div class="col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<label for="incomeTotal" class="form-label">
Valores recebidos
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title="Considere o valor bruto (sem descontos) da sua remuneração, desconsiderando auxilio de locomoção e etc.">
<i class="bi bi-info-circle-fill"></i>
</sup>
</label>
<div class="input-group">
<span class="input-group-text input-group-text-dark bg-change bg-dark">R$</span>
<input type="number" class="form-control form-control-dark" id="incomeTotal" min="0.01"
required placeholder="Valores recebidos" step="0.01" name="income_total">
<div class="invalid-feedback text-center">Este campo é obrigatório!</div>
</div>
</div>
</div>
</div>
<div class="d-grid col-7 mx-auto mt-3">
<button class="btn btn-dark btn-lg" id="calculateTerminationBtn">Calcular</button>
</div>
<div class="alert alert-danger text-center mt-3 d-none" id="calcTerminationError">
Para ter direito a rescisão você precisa ter trabalhado pelo menos 15 dias.
</div>
<div class="row mt-4 pt-4 text-gray px-3 d-none income" id="incomeTermination">
<h3 class="mb-3">A receber</h3>
<ul class="list-group mb-3 pe-0">
<li class="list-group-item bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0">Salário médio</h6>
<span class="small text-muted">Sua remuneração média mensal.</span>
</div>
<span class="text-muted" id="salary">R$ 0</span>
</li>
<li class="list-group-item bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0">Dias trabalhados</h6>
<span class="small text-muted">
Dias entre o começo e fim do contrato.
<sup class="text-muted fs-6" data-bs-placement="right" data-bs-toggle="tooltip"
title="O dia do desligamento não é contado como dia trabalhado! Por isso foi descontado um dia do total.">
<i class="bi bi-info-circle-fill"></i>
</sup>
</span>
</div>
<span class="text-muted" id="daysWorked">0 dias</span>
</li>
<li class="list-group-item bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0">13º salário <sup><span id="monthsWorked">x</span>m</sup></h6>
<span class="small text-success">Gratificação natalina proporcional.</span>
</div>
<span class="text-success" id="christmasBonus">+ R$ 0</span>
</li>
<li class="list-group-item bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0">Férias <sup><span class="monthsWorked">x</span>m</sup></h6>
<span class="small text-success">Férias indenizadas proporcionais.</span>
</div>
<span class="text-success" id="vacation">+ R$ 0</span>
</li>
<li class="list-group-item list-group-item-success bg-dark text-gray d-flex justify-content-between">
<div>
<h6 class="my-0">1/3 de férias <sup><span class="monthsWorked">x</span>m/3</sup></h6>
<span class="small text-success">Adicional de 1/3 de férias.</span>
</div>
<span class="text-success" id="vacationBonus">+ R$ 0</span>
</li>
<li class="list-group-item bg-dark text-gray d-flex justify-content-between lh-sm">
<div>
<h6 class="my-0">Total Bruto</h6>
<span class="small text-muted">Valor total, antes dos descontos.</span>
</div>
<span class="text-muted" id="totalGrossTermination">R$ 0</span>
</li>
<li class="list-group-item list-group-item-danger bg-dark text-gray d-flex justify-content-between">
<div>
<h6 class="my-0">INSS</h6>
<span class="small text-danger">
<span id="percentInssTermination">0</span>% sobre o 13º salário.
</span>
</div>
<span class="text-danger" id="inssTermination">− R$ 0</span>
</li>
<li class="list-group-item list-group-item-danger bg-dark text-gray d-flex justify-content-between">
<div>
<h6 class="my-0">IRRF</h6>
<span class="small text-danger">
<span id="percentIrrfTermination">0</span>% sobre o 13º salário.
</span>
</div>
<span class="text-danger" id="irrfTermination">− R$ 0</span>
</li>
<li class="list-group-item bg-dark text-gray d-flex justify-content-between">
<span>Total</span>
<span id="incomeTerminationTotal" class="fw-bold">R$ 0</span>
</li>
</ul>
</div>
</form>
</div>
</div>
<div class="rounded p-3 fixed-bottom bg-dark w-56 text-center dark-mode border ms-auto me-5 mb-5 bg-change"
id="changeMode">
<i class="bi bi-sun"></i>
</div>
</main>
<footer class="container-fluid border-top text-center pt-3 fw-light mt-auto bg-dark dark-mode">
<div>
<p class="fw-bolder">
Essa calculadora tem o objetivo de fornecer estimativas a mais próximas possíveis da realidade. Porém, o
cálculo pode ter divergências, por diversos motivos, incluindo erro humano.
</p>
© 2022 - Leone Oliveira
</div>
<ul class="col-6 col-md-4 col-xl-3 mx-auto d-flex list-unstyled justify-content-around mt-3">
<li>
<a class="text-reset text-decoration-none"
href="https://github.com/leonetecbr/calculadora-recenseador-ibge">
<i class="bi bi-github"></i>
</a>
</li>
<li>
<a class="text-reset text-decoration-none" href="https://link.mercadopago.com.br/leonetecbr">
<i class="bi bi-coin"></i>
</a>
</li>
<li>
<a class="text-reset text-decoration-none" href="https://www.linkedin.com/in/leonetecbr/">
<i class="bi bi-linkedin"></i>
</a>
</li>
</ul>
</footer>
<script src="/apps/ibge/js/jquery.min.js"></script>
<script src="/apps/ibge/js/bootstrap.bundle.min.js"></script>
<script defer src="/apps/ibge/js/app.js"></script>
</body>
</html>