-
Notifications
You must be signed in to change notification settings - Fork 0
/
nomina.html
87 lines (83 loc) · 4.14 KB
/
nomina.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
<!DOCTYPE html>
<html lang="es">
<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" />
<title>Nómina</title>
<link rel="shortcut icon" href="img/Logo programa.ico" type="image/x-icon">
<link href="https://cdn.datatables.net/buttons/1.7.0/css/buttons.dataTables.min.css" rel="stylesheet">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" />
<!-- Datatables -->
<link href="https://cdn.datatables.net/1.10.24/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
<link rel="stylesheet" href="css/estilos.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img src="img/Logo programa.png" alt="" width="50" height="50">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="desarrolladores.html">Desarrolladores</a>
</li>
</ul>
<form class="d-flex">
<button type="button" id="exportar-pdf">
<i class="far fa-file-pdf" title="Exportar a pdf"></i>
</button>
<span class="badge bg-light text-dark ms-5" role="button">
<a class="nav-link" href="login.html">Cerrrar sesión</a></span>
</form>
</div>
</div>
</nav>
<div class="mt-5 contenedor-tabla">
<h2 class="text-center">Sistema de Nómina</h2>
<div id="elementos-para-convertir">
<table id="example" class="table table-dark table-striped mt-2" style="width:100%">
<thead>
<tr>
<th>Nombre completo</th>
<th>Sueldo básico</th>
<th>Devengado</th>
<th>Deducciones</th>
<th>Neto a pagar</th>
<th>Seguridad social</th>
<th>Aportes parafiscales</th>
<th>Prestaciones sociales</th>
<th>Neto apropiaciones</th>
<th>Total nómina</th>
</tr>
</thead>
<tbody id="fila-mostrar-datos">
</tbody>
<tfoot id="mostrar-totales">
</tfoot>
</table>
</div>
</div>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script src="https://cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.10.24/js/dataTables.bootstrap5.min.js"></script>
<!-- botones -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/pdfmake.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/vfs_fonts.js"></script>
<script
src="https://cdn.datatables.net/v/dt/jszip-2.5.0/dt-1.10.24/b-1.7.0/b-html5-1.7.0/b-print-1.7.0/datatables.min.js"></script>
<script src="https://kit.fontawesome.com/ff77c957bf.js" crossorigin="anonymous"></script>
<script src="https://cdn.tutorialjinni.com/html2pdf.js/0.9.2/html2pdf.bundle.min.js"></script>
<script src="js/nomina.js"></script>
</body>
</html>