Commit 2fa866a6 by Billy Larru

agregando checkbox al th

parent 2dc73cc3
...@@ -83,6 +83,14 @@ ...@@ -83,6 +83,14 @@
<th class="text-center">Tiempo extra</th> <th class="text-center">Tiempo extra</th>
<th class="text-center">Monto extras(S/.)</th> <th class="text-center">Monto extras(S/.)</th>
<th class="text-center">Estado extras</th> <th class="text-center">Estado extras</th>
<th class="text-center">
<div>
<label style="font-weight: 500;" class="checkbox-inline checkbox-right">
Aprobar extras
<input type="checkbox" class="checker border-primary-600 text-primary-800">
</label>
</div>
</th>
<th class="text-center">Monto total(S/.)</th> <th class="text-center">Monto total(S/.)</th>
</tr> </tr>
...@@ -107,6 +115,9 @@ ...@@ -107,6 +115,9 @@
<td class="text-center"> <td class="text-center">
<span class="label label-danger border-danger-700" title="ANULADO">DESAPROBADO</span> <span class="label label-danger border-danger-700" title="ANULADO">DESAPROBADO</span>
</td> </td>
<td class="text-center">
<input type="checkbox" class="checker border-primary-600 text-primary-800">
</td>
<td class="text-center">85.00</td> <td class="text-center">85.00</td>
</tr> </tr>
...@@ -129,6 +140,9 @@ ...@@ -129,6 +140,9 @@
<td class="text-center"> <td class="text-center">
<span class="label label-success border-success-700" title="ANULADO">APROBADO</span> <span class="label label-success border-success-700" title="ANULADO">APROBADO</span>
</td> </td>
<td class="text-center">
<input type="checkbox" class="checker border-primary-600 text-primary-800">
</td>
<td class="text-center">85.00</td> <td class="text-center">85.00</td>
</tr> </tr>
...@@ -151,102 +165,8 @@ ...@@ -151,102 +165,8 @@
<td class="text-center"> <td class="text-center">
<span class="label label-success border-success-700" title="APROBADO">APROBADO</span> <span class="label label-success border-success-700" title="APROBADO">APROBADO</span>
</td> </td>
<td class="text-center">85.00</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- <div class="col-md-12">
<div class="panel panel-primary card-3" style="margin-top: 30px">
<div class="panel-heading" style="padding: 8px 15px">
<h6 class="panel-title" style="font-size: 15px; font-family: inherit"><i class="icon icon-user"></i>&nbsp;DELGADO ACEVEDO, JUAN JOSE</h6>
</div>
<div>
<table class="table dataTable table-striped table-hover table-sm table-bordered display" id="tblAsistenciaPolicias">
<thead>
<tr>
<th class="text-center">N°</th>
<th class="text-center">Sede</th>
<th class="text-center">Fecha de entrada base</th>
<th class="text-center">Fecha de salida base</th>
<th class="text-center">Marcación de entrada</th>
<th class="text-center">Marcación de salida</th>
<th class="text-center">Tipo de horario</th>
<th class="text-center">Costo hora(S/.)</th>
<th class="text-center">Tiempo laborado</th>
<th class="text-center">Monto(S/.)</th>
<th class="text-center">Tiempo extra</th>
<th class="text-center">Monto extras(S/.)</th>
<th class="text-center">Estado extras</th>
<th class="text-center">Monto total(S/.)</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center">1</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">12/07/2018 07:00</td>
<td class="text-center">12/07/2018 17:00</td>
<td class="text-center">12/07/2018 07:00</td>
<td class="text-center">12/07/2018 17:00</td>
<td class="text-center">
<span class="label bg-slate border-slate-700" title="REGULAR">REGULAR</span>
</td>
<td class="text-center">8.50</td>
<td class="text-center">10:00</td>
<td class="text-center">85.00</td>
<td class="text-center">00:00</td>
<td class="text-center">0.00</td>
<td class="text-center">
<span class="label label-danger border-danger-700" title="ANULADO">DESAPROBADO</span>
</td>
<td class="text-center">85.00</td>
</tr>
<tr>
<td class="text-center">2</td>
<td class="text-center">LINCE</td>
<td class="text-center">12/07/2018 07:00</td>
<td class="text-center">12/07/2018 17:00</td>
<td class="text-center">12/07/2018 07:00</td>
<td class="text-center">12/07/2018 17:00</td>
<td class="text-center">
<span class="label bg-teal border-teal-700" title="REGULAR">AMANECIDA 24H</span>
</td>
<td class="text-center">8.50</td>
<td class="text-center">24:00</td>
<td class="text-center">200.00</td>
<td class="text-center">00:00</td>
<td class="text-center">0.00</td>
<td class="text-center">
<span class="label label-success border-success-700" title="ANULADO">APROBADO</span>
</td>
<td class="text-center">85.00</td>
</tr>
<tr>
<td class="text-center">3</td>
<td class="text-center">MONTESORI</td>
<td class="text-center">12/07/2018 07:00</td>
<td class="text-center">12/07/2018 17:00</td>
<td class="text-center">12/07/2018 07:00</td>
<td class="text-center">12/07/2018 17:00</td>
<td class="text-center">
<span class="label bg-brown border-brown-700" title="AMANECIDA 24H">AMANECIDA 12H</span>
</td>
<td class="text-center">8.50</td>
<td class="text-center">10:00</td>
<td class="text-center">85.00</td>
<td class="text-center">00:00</td>
<td class="text-center">0.00</td>
<td class="text-center"> <td class="text-center">
<span class="label label-success border-success-700" title="APROBADO">APROBADO</span> <input type="checkbox" class="checker border-primary-600 text-primary-800">
</td> </td>
<td class="text-center">85.00</td> <td class="text-center">85.00</td>
...@@ -257,31 +177,130 @@ ...@@ -257,31 +177,130 @@
</div> </div>
</div> </div>
</div> </div>
-->
<!-- <div class="col-md-12">
<div class="panel panel-primary card-3" style="margin-top: 30px">
<div class="panel-heading" style="padding: 8px 15px">
<h6 class="panel-title" style="font-size: 15px; font-family: inherit"><i class="icon icon-user"></i>&nbsp;DELGADO ACEVEDO, JUAN JOSE</h6>
</div>
<div>
<table class="table dataTable table-striped table-hover table-sm table-bordered display" id="tblAsistenciaPolicias">
<thead>
<tr>
<th class="text-center">N°</th>
<th class="text-center">Sede</th>
<th class="text-center">Fecha de entrada base</th>
<th class="text-center">Fecha de salida base</th>
<th class="text-center">Marcación de entrada</th>
<th class="text-center">Marcación de salida</th>
<th class="text-center">Tipo de horario</th>
<th class="text-center">Costo hora(S/.)</th>
<th class="text-center">Tiempo laborado</th>
<th class="text-center">Monto(S/.)</th>
<th class="text-center">Tiempo extra</th>
<th class="text-center">Monto extras(S/.)</th>
<th class="text-center">Estado extras</th>
<th class="text-center">Monto total(S/.)</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center">1</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">12/07/2018 07:00</td>
<td class="text-center">12/07/2018 17:00</td>
<td class="text-center">12/07/2018 07:00</td>
<td class="text-center">12/07/2018 17:00</td>
<td class="text-center">
<span class="label bg-slate border-slate-700" title="REGULAR">REGULAR</span>
</td>
<td class="text-center">8.50</td>
<td class="text-center">10:00</td>
<td class="text-center">85.00</td>
<td class="text-center">00:00</td>
<td class="text-center">0.00</td>
<td class="text-center">
<span class="label label-danger border-danger-700" title="ANULADO">DESAPROBADO</span>
</td>
<td class="text-center">85.00</td>
</tr>
<tr>
<td class="text-center">2</td>
<td class="text-center">LINCE</td>
<td class="text-center">12/07/2018 07:00</td>
<td class="text-center">12/07/2018 17:00</td>
<td class="text-center">12/07/2018 07:00</td>
<td class="text-center">12/07/2018 17:00</td>
<td class="text-center">
<span class="label bg-teal border-teal-700" title="REGULAR">AMANECIDA 24H</span>
</td>
<td class="text-center">8.50</td>
<td class="text-center">24:00</td>
<td class="text-center">200.00</td>
<td class="text-center">00:00</td>
<td class="text-center">0.00</td>
<td class="text-center">
<span class="label label-success border-success-700" title="ANULADO">APROBADO</span>
</td>
<td class="text-center">85.00</td>
</tr>
<tr>
<td class="text-center">3</td>
<td class="text-center">MONTESORI</td>
<td class="text-center">12/07/2018 07:00</td>
<td class="text-center">12/07/2018 17:00</td>
<td class="text-center">12/07/2018 07:00</td>
<td class="text-center">12/07/2018 17:00</td>
<td class="text-center">
<span class="label bg-brown border-brown-700" title="AMANECIDA 24H">AMANECIDA 12H</span>
</td>
<td class="text-center">8.50</td>
<td class="text-center">10:00</td>
<td class="text-center">85.00</td>
<td class="text-center">00:00</td>
<td class="text-center">0.00</td>
<td class="text-center">
<span class="label label-success border-success-700" title="APROBADO">APROBADO</span>
</td>
<td class="text-center">85.00</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
-->
<!-- / content --> <!-- / content -->
<%@include file="templates/footer-body.jsp"%> <%@include file="templates/footer-body.jsp"%>
<script src="../plantilla/assets/js/plugins/tables/datatables/datatables.min.js" type="text/javascript"></script>
<!--js de la pagina--> <!--js de la pagina-->
<script src="../plantilla/assets/js/plugins/tables/datatables/datatables.min.js" type="text/javascript"></script>
<script type="text/javascript" src="../plantilla/assets/js/plugins/forms/styling/switch.min.js"></script>
<script> <script>
$('#tblAsistenciaPolicias').DataTable({
"language": { $('#tblAsistenciaPolicias').DataTable({
"lengthMenu": "Mostrar: _MENU_", "language": {
"zeroRecords": "&nbsp;&nbsp;&nbsp; No se encontraron resultados", "lengthMenu": "Mostrar: _MENU_",
"info": "&nbsp;&nbsp;&nbsp; Mostrando del _START_ al _END_ de un total de _TOTAL_ registros", "zeroRecords": "&nbsp;&nbsp;&nbsp; No se encontraron resultados",
"infoEmpty": "&nbsp;&nbsp;&nbsp; Mostrando 0 de 0 registros", "info": "&nbsp;&nbsp;&nbsp; Mostrando del _START_ al _END_ de un total de _TOTAL_ registros",
"search": "Filtrar:", "infoEmpty": "&nbsp;&nbsp;&nbsp; Mostrando 0 de 0 registros",
"loadingRecords": "Cargando...", "search": "Filtrar:",
"processing": '<span style="width:100%;"><img src="http://www.snacklocal.com/images/ajaxload.gif"></span>', "loadingRecords": "Cargando...",
"paginate": { "processing": '<span style="width:100%;"><img src="http://www.snacklocal.com/images/ajaxload.gif"></span>',
"first": "First", "paginate": {
"last": "Last", "first": "First",
"next": "Siguiente", "last": "Last",
"previous": "Anterior" "next": "Siguiente",
} "previous": "Anterior"
}, }
},
// dom: '<"datatable-scroll"t>r<"datatable-footers"ip>', // dom: '<"datatable-scroll"t>r<"datatable-footers"ip>',
// "ajax": { // "ajax": {
// type: 'POST', // type: 'POST',
...@@ -291,33 +310,33 @@ ...@@ -291,33 +310,33 @@
// } // }
// }, // },
// "bSort": false, // "bSort": false,
"bFilter": false, "bFilter": false,
// "serverSide": true, // "serverSide": true,
// "processing": true, // "processing": true,
// "aaSorting": [], // "aaSorting": [],
"ordering": false, "ordering": false,
"bLengthChange": false, "bLengthChange": false,
"bInfo": false, "bInfo": false,
"paging": false, "paging": false,
// "iDisplayLength": 20, // "iDisplayLength": 20,
"columnDefs": [ "columnDefs": [
{targets: 0, orderable: false, width: "3%", className: "text-center"}, {targets: 0, orderable: false, width: "3%", className: "text-center"},
{targets: 1, orderable: false, width: "15%", className: "text-center"}, {targets: 1, orderable: false, width: "15%", className: "text-center"},
{targets: 2, orderable: false, width: "8%", className: "text-center"}, {targets: 2, orderable: false, width: "8%", className: "text-center"},
{targets: 3, orderable: false, width: "8%", className: "text-center"}, {targets: 3, orderable: false, width: "8%", className: "text-center"},
{targets: 4, orderable: false, width: "8%", className: "text-center"}, {targets: 4, orderable: false, width: "8%", className: "text-center"},
{targets: 5, orderable: false, width: "10%", className: "text-center"}, {targets: 5, orderable: false, width: "10%", className: "text-center"},
{targets: 6, orderable: false, width: "5%", className: "text-center"}, {targets: 6, orderable: false, width: "5%", className: "text-center"},
{targets: 7, orderable: false, width: "5%", className: "text-center"}, {targets: 7, orderable: false, width: "5%", className: "text-center"},
{targets: 8, orderable: false, width: "5%", className: "text-center"}, {targets: 8, orderable: false, width: "5%", className: "text-center"},
{targets: 9, orderable: false, width: "5%", className: "text-center"}, {targets: 9, orderable: false, width: "5%", className: "text-center"},
{targets: 10, orderable: false, width: "5%", className: "text-center"}, {targets: 10, orderable: false, width: "5%", className: "text-center"},
{targets: 11, orderable: false, width: "5%", className: "text-center"}, {targets: 11, orderable: false, width: "5%", className: "text-center"},
{targets: 12, orderable: false, width: "10%", className: "text-center"}, {targets: 12, orderable: false, width: "10%", className: "text-center"},
{targets: 13, orderable: false, width: "10%", className: "text-center"}, {targets: 13, orderable: false, width: "10%", className: "text-center"},
{targets: 14, orderable: false, width: "5%", className: "text-center"} {targets: 14, orderable: false, width: "5%", className: "text-center"}
] ]
}); });
</script> </script>
<!--js--> <!--js-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment