Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Asistencia
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Billy Larru
Asistencia
Commits
b92f1fe3
Commit
b92f1fe3
authored
Sep 08, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX proyecciones]
parent
6fd11f13
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
465 additions
and
456 deletions
+465
-456
comparativo_proyeccion_policias.js
src/main/webapp/js/pages/comparativo_proyeccion_policias.js
+14
-12
proyectar_asistencia_policias.js
src/main/webapp/js/pages/proyectar_asistencia_policias.js
+12
-12
comparativoProyeccionPolicias.jsp
src/main/webapp/vistas/comparativoProyeccionPolicias.jsp
+68
-61
controlAsistenciaPolicias.jsp
src/main/webapp/vistas/controlAsistenciaPolicias.jsp
+368
-368
proyectarAsistenciaPolicias.jsp
src/main/webapp/vistas/proyectarAsistenciaPolicias.jsp
+3
-3
No files found.
src/main/webapp/js/pages/comparativo_proyeccion_policias.js
View file @
b92f1fe3
...
@@ -118,17 +118,19 @@ function listarPolicias(selectorName) {
...
@@ -118,17 +118,19 @@ function listarPolicias(selectorName) {
initSelect2
(
selectorName
,
"http://sistem16:666/policias"
,
{
title
:
"nombres"
,
subtitle
:
"dni"
});
initSelect2
(
selectorName
,
"http://sistem16:666/policias"
,
{
title
:
"nombres"
,
subtitle
:
"dni"
});
}
}
function
verReporte
()
{
function
verReporte
()
{
// let policia_nombres = $("#cboPolicias option:selected").text();
// let policia_nombres = $("#cboPolicias option:selected").text();
let
fecha_inicio
=
$
(
"#dpFechaInicio"
).
val
();
let
fecha_inicio
=
$
(
"#dpFechaInicio"
).
val
();
let
fecha_fin
=
$
(
"#dpFechaFin"
).
val
();
let
rango_fechas
=
generarFechas
(
fecha_inicio
,
fecha_fin
);
let
jsonPolicia
=
$
(
'#cboPolicias'
).
select2
(
'data'
)[
0
];
let
jsonPolicia
=
$
(
'#cboPolicias'
).
select2
(
'data'
)[
0
];
let
dni
=
jsonPolicia
?
jsonPolicia
.
dni
:
""
;
let
dni
=
jsonPolicia
?
jsonPolicia
.
dni
:
""
;
let
params
=
cleanQueryParams
({
let
params
=
cleanQueryParams
({
policia_dni
:
dni
,
policia_dni
:
dni
,
fecha_entrada
:
fecha_inicio
fecha_entrada
:
rango_fechas
});
});
...
@@ -140,22 +142,21 @@ function verReporte() {
...
@@ -140,22 +142,21 @@ function verReporte() {
let
classNameForDatatable
=
`display table table-bordered`
;
let
classNameForDatatable
=
`display table table-bordered`
;
makeDatatable
(
wrapsNameDatatable
,
makeDatatable
(
wrapsNameDatatable
,
{
{
data
:
response
.
data
,
data
:
response
.
data
,
columns
,
columns
,
columnDefs
,
columnDefs
,
},
},
classNameForDatatable
classNameForDatatable
)
)
}
}
);
);
}
}
$
().
ready
(
function
()
{
$
().
ready
(
function
()
{
let
nameDatePickers
=
[
"#dpFechaInicio"
,
"#dpFechaFin"
];
initDatePicker
(
"#dpFechaInicio"
,
"#dpFechaFin"
);
initDatePicker
(...
nameDatePickers
);
listarPolicias
(
"#cboPolicias"
);
listarPolicias
(
"#cboPolicias"
);
$
(
"#btnVerReporte"
).
click
(
verReporte
);
$
(
"#btnVerReporte"
).
click
(
verReporte
);
});
});
\ No newline at end of file
src/main/webapp/js/pages/proyectar_asistencia_policias.js
View file @
b92f1fe3
...
@@ -219,17 +219,17 @@ function guardarCambios() {
...
@@ -219,17 +219,17 @@ function guardarCambios() {
if
(
result
.
value
)
{
if
(
result
.
value
)
{
let
promises
=
dataRequest
.
map
(
p
=>
ajaxWebService
.
patch
(
`
${
URI_POLICIA_PROYECCION
}
/
${
p
.
id
}
`
,
p
));
let
promises
=
dataRequest
.
map
(
p
=>
ajaxWebService
.
patch
(
`
${
URI_POLICIA_PROYECCION
}
/
${
p
.
id
}
`
,
p
));
Promise
.
all
(
promises
)
Promise
.
all
(
promises
)
.
then
(
axios
.
spread
(
function
(...
responses
)
{
.
then
(
axios
.
spread
(
function
(...
responses
)
{
swal
(
swal
(
{
{
type
:
'success'
,
type
:
'success'
,
title
:
'¡Se guardaron los cambios correctamente!'
,
title
:
'¡Se guardaron los cambios correctamente!'
,
showConfirmButton
:
false
,
showConfirmButton
:
false
,
timer
:
1500
timer
:
1500
}
}
);
);
}))
}))
}
}
})
})
...
@@ -238,9 +238,9 @@ function guardarCambios() {
...
@@ -238,9 +238,9 @@ function guardarCambios() {
$
().
ready
(
function
()
{
$
().
ready
(
function
()
{
initDatePicker
(
"#dpFechaInicio"
,
"#dpFechaFin"
);
listarPolicias
(
"#cboPoliciasFiltro"
);
listarPolicias
(
"#cboPoliciasFiltro"
);
listarSedes
(
"#cboSedesFiltro"
);
listarSedes
(
"#cboSedesFiltro"
);
initDatePicker
(
"#dpFechaInicio"
,
"#dpFechaFin"
);
defaultConfigHandsonTable
();
defaultConfigHandsonTable
();
$
(
"#btnVer"
).
click
(
ver
);
$
(
"#btnVer"
).
click
(
ver
);
$
(
"#btnGuardarCambios"
).
click
(
guardarCambios
);
$
(
"#btnGuardarCambios"
).
click
(
guardarCambios
);
...
...
src/main/webapp/vistas/comparativoProyeccionPolicias.jsp
View file @
b92f1fe3
...
@@ -2,78 +2,84 @@
...
@@ -2,78 +2,84 @@
<
%@
page
contentType=
"text/html"
pageEncoding=
"UTF-8"
%
>
<
%@
page
contentType=
"text/html"
pageEncoding=
"UTF-8"
%
>
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head>
<head>
<
%@
include
file=
"templates/header.jsp"
%
>
<
%@
include
file=
"templates/header.jsp"
%
>
<!--template-core-->
<!--template-core-->
<!--css de la pagina-->
<!--css de la pagina-->
<link
href=
"../css/lib/sweetalert2.min.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"../css/lib/sweetalert2.min.css"
rel=
"stylesheet"
type=
"text/css"
/>
<!--css-->
<!--css-->
</head>
</head>
<body>
<body>
<
%@
include
file=
"templates/header-body.jsp"
%
>
<
%@
include
file=
"templates/header-body.jsp"
%
>
<!-- content -->
<!-- content -->
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-4 col-md-offset-4"
>
<div
class=
"col-md-4 col-md-offset-4"
>
<div
class=
"panel panel-primary"
>
<div
class=
"panel panel-primary"
>
<div
class=
"panel-heading"
>
<div
class=
"panel-heading"
>
<h5
class=
"panel-title"
>
Reporte comparativo de proyeccion
</h5>
<h5
class=
"panel-title"
>
Reporte comparativo de proyeccion
</h5>
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"panel-body"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-6 form-group"
>
<div
class=
"col-md-6 form-group"
>
<label>
Fecha Inicio:
</label>
<label>
Fecha Inicio:
</label>
<input
type=
"text"
class=
"form-control"
id=
"dpFechaInicio"
>
<div
class=
"input-group"
>
</div>
<span
class=
"input-group-addon"
><i
class=
"icon-calendar"
></i></span>
<div
class=
"col-md-6 form-group"
>
<input
type=
"text"
class=
"form-control"
id=
"dpFechaInicio"
>
<label>
Fecha Fin
</label>
</div>
<input
type=
"text"
class=
"form-control"
id=
"dpFechaFin"
>
</div>
</div>
<div
class=
"col-md-6 form-group"
>
</div>
<label>
Fecha Fin
</label>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"icon-calendar"
></i></span>
<input
type=
"text"
class=
"form-control"
id=
"dpFechaFin"
>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-12 form-group"
>
<div
class=
"col-md-12 form-group"
>
<label>
Policia
</label>
<label>
Policia
</label>
<select
class=
"select-search form-control"
id=
"cboPolicias"
></select>
<select
class=
"select-search form-control"
id=
"cboPolicias"
></select>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"panel-footer"
>
<div
class=
"panel-footer"
>
<div
class=
"text-center"
>
<div
class=
"text-center"
>
<button
class=
"btn btn-primary"
id=
"btnVerReporte"
><i
class=
"icon-eye4"
></i>
Ver reporte
</button>
<button
class=
"btn btn-primary"
id=
"btnVerReporte"
><i
class=
"icon-eye4"
></i>
Ver reporte
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<div
class=
"panel panel-primary card-3"
style=
"margin-top: 30px"
>
<div
class=
"panel panel-primary card-3"
style=
"margin-top: 30px"
>
<div
class=
"panel-heading"
style=
"padding: 8px 15px"
>
<div
class=
"panel-heading"
style=
"padding: 8px 15px"
>
<h6
class=
"panel-title"
style=
"font-size: 15px; font-family: inherit"
><i
class=
"icon icon-search4"
></i>
Comparativo de proyeccion y marcacion
</h6>
<h6
class=
"panel-title"
style=
"font-size: 15px; font-family: inherit"
><i
class=
"icon icon-search4"
></i>
Comparativo de proyeccion y marcacion
</h6>
</div>
</div>
<div
id=
"divDatatable"
></div>
<div
id=
"divDatatable"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- / content -->
<!-- / content -->
<
%@
include
file=
"templates/footer-body.jsp"
%
>
<
%@
include
file=
"templates/footer-body.jsp"
%
>
<!--js de la pagina-->
<!--js de la pagina-->
<script
src=
"../plantilla/assets/js/plugins/ui/moment/moment.min.js"
type=
"text/javascript
"
></script>
<script
src=
"../plantilla/assets/js/core/libraries/jquery_ui/widgets.min.js
"
></script>
<script
src=
"../plantilla/assets/js/plugins/pickers/daterangepicker.js
"
></script>
<script
src=
"../plantilla/assets/js/plugins/ui/moment/moment.min.js"
type=
"text/javascript
"
></script>
<script
src=
"../plantilla/assets/js/core/libraries/jquery_ui/widgets.min
.js"
></script>
<script
src=
"../plantilla/assets/js/plugins/pickers/datepicker
.js"
></script>
<script
src=
"../js/lib/lodash.js"
type=
"text/javascript"
></script>
<script
src=
"../js/lib/lodash.js"
type=
"text/javascript"
></script>
<script
src=
"../js/lib/axios.min.js"
type=
"text/javascript"
></script>
<script
src=
"../js/lib/axios.min.js"
type=
"text/javascript"
></script>
<script
src=
"../js/lib/sweetalert2.min.js"
type=
"text/javascript"
></script>
<script
src=
"../js/lib/sweetalert2.min.js"
type=
"text/javascript"
></script>
<script
src=
"../plantilla/assets/js/plugins/forms/selects/select2.min.js"
></script>
<script
src=
"../plantilla/assets/js/plugins/forms/selects/select2.min.js"
></script>
<script
src=
"../js/pages/comparativo_proyeccion_policias.js"
type=
"text/javascript"
></script>
<script
src=
"../js/pages/comparativo_proyeccion_policias.js"
type=
"text/javascript"
></script>
<!--js-->
<!--js-->
</body>
</body>
</html>
</html>
\ No newline at end of file
src/main/webapp/vistas/controlAsistenciaPolicias.jsp
View file @
b92f1fe3
...
@@ -2,373 +2,372 @@
...
@@ -2,373 +2,372 @@
<
%@
page
contentType=
"text/html"
pageEncoding=
"UTF-8"
%
>
<
%@
page
contentType=
"text/html"
pageEncoding=
"UTF-8"
%
>
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head>
<head>
<
%@
include
file=
"templates/header.jsp"
%
>
<
%@
include
file=
"templates/header.jsp"
%
>
<!--template-core-->
<!--template-core-->
<!--css de la pagina-->
<!--css de la pagina-->
<link
href=
"../css/lib/sweetalert2.min.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"../css/lib/sweetalert2.min.css"
rel=
"stylesheet"
type=
"text/css"
/>
<!--css-->
<!--css-->
</head>
</head>
<body>
<body>
<
%@
include
file=
"templates/header-body.jsp"
%
>
<
%@
include
file=
"templates/header-body.jsp"
%
>
<!-- content -->
<!-- content -->
<div
class=
"col-md-6 col-md-offset-3"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<div
class=
"panel panel-primary"
>
<div
class=
"panel panel-primary"
>
<div
class=
"panel-heading"
>
<div
class=
"panel-heading"
>
<h5
class=
"panel-title"
>
Control de Asistencia de Policias
</h5>
<h5
class=
"panel-title"
>
Control de Asistencia de Policias
</h5>
</div>
</div>
<form
id=
"frmAsistenciaPolicias"
onsubmit=
"return false;"
autocomplete=
"off"
>
<form
id=
"frmAsistenciaPolicias"
onsubmit=
"return false;"
autocomplete=
"off"
>
<div
class=
"panel-body"
>
<div
class=
"panel-body"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-6 form-group"
>
<div
class=
"col-md-6 form-group"
>
<label>
Policia
</label>
<label>
Policia
</label>
<select
class=
"select-search form-control"
id=
"cboPoliciasFiltro"
>
<select
class=
"select-search form-control"
id=
"cboPoliciasFiltro"
>
</select>
</select>
</div>
</div>
<div
class=
"col-md-6 form-group"
>
<div
class=
"col-md-6 form-group"
>
<label>
Sede
</label>
<label>
Sede
</label>
<select
id=
"cboSedesFiltro"
class=
"select-search form-control"
>
<select
id=
"cboSedesFiltro"
class=
"select-search form-control"
>
</select>
</select>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-6 form-group"
>
<div
class=
"col-md-6 form-group"
>
<label>
Fecha Inicio
</label>
<label>
Fecha Inicio
</label>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"icon-calendar"
></i></span>
<span
class=
"input-group-addon"
><i
class=
"icon-calendar"
></i></span>
<input
type=
"text"
class=
"form-control"
id=
"dpFechaInicio"
name=
"dpFechaInicio"
placeholder=
"Fecha inicio …"
>
<input
type=
"text"
class=
"form-control"
id=
"dpFechaInicio"
name=
"dpFechaInicio"
placeholder=
"Fecha inicio …"
>
</div>
</div>
</div>
</div>
<div
class=
"col-md-6 form-group"
>
<div
class=
"col-md-6 form-group"
>
<label>
Fecha Fin
</label>
<label>
Fecha Fin
</label>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"icon-calendar"
></i></span>
<span
class=
"input-group-addon"
><i
class=
"icon-calendar"
></i></span>
<input
type=
"text"
class=
"form-control"
id=
"dpFechaFin"
name=
"dpFechaFin"
placeholder=
"Fecha fin …"
>
<input
type=
"text"
class=
"form-control"
id=
"dpFechaFin"
name=
"dpFechaFin"
placeholder=
"Fecha fin …"
>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-12 form-group"
>
<div
class=
"col-md-12 form-group"
>
<label>
Estado de Asistencia
</label>
<label>
Estado de Asistencia
</label>
<select
class=
"selectpicker form-control"
name=
"cboSedes"
id=
"cboEstadoAsistencia"
multiple
>
<select
class=
"selectpicker form-control"
name=
"cboSedes"
id=
"cboEstadoAsistencia"
multiple
>
</select>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"panel-footer"
>
<div
class=
"panel-footer"
>
<div
class=
"text-center"
>
<div
class=
"text-center"
>
<button
class=
"btn btn-primary"
id=
"btnAplicarFiltro"
><i
class=
"fa fa-search"
></i>
Aplicar filtro
</button>
<button
class=
"btn btn-primary"
id=
"btnAplicarFiltro"
><i
class=
"fa fa-search"
></i>
Aplicar filtro
</button>
<button
class=
"btn btn-primary"
id=
"btnVerTodos"
><i
class=
"fa fa-search"
></i>
Mostrar todos
</button>
<button
class=
"btn btn-primary"
id=
"btnVerTodos"
><i
class=
"fa fa-search"
></i>
Mostrar todos
</button>
</div>
</div>
</div>
</div>
</form>
</form>
</div>
</div>
</div>
</div>
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<div
class=
"panel panel-primary card-3"
style=
"margin-top: 30px"
>
<div
class=
"panel panel-primary card-3"
style=
"margin-top: 30px"
>
<div
class=
"panel-heading"
style=
"padding: 8px 15px"
>
<div
class=
"panel-heading"
style=
"padding: 8px 15px"
>
<h6
class=
"panel-title"
style=
"font-size: 15px; font-family: inherit"
><i
class=
"icon icon-search4"
></i>
LISTADO DE ASISTENCIAS
</h6>
<h6
class=
"panel-title"
style=
"font-size: 15px; font-family: inherit"
><i
class=
"icon icon-search4"
></i>
LISTADO DE ASISTENCIAS
</h6>
</div>
</div>
<div
id=
"divAsistencias"
>
<div
id=
"divAsistencias"
>
<!-- <table class="table dataTable table-striped table-hover table-sm table-bordered display" id="tblAsistenciaPolicias">
<!-- <table class="table dataTable table-striped table-hover table-sm table-bordered display" id="tblAsistenciaPolicias">
<thead>
<thead>
<tr>
<tr>
<th class="text-center">Nº</th>
<th class="text-center">Nº</th>
<th>APELLIDOS Y NOMBRES</th>
<th>APELLIDOS Y NOMBRES</th>
<th class="text-center">SEDE</th>
<th class="text-center">SEDE</th>
<th class="text-center">FECHA</th>
<th class="text-center">FECHA</th>
<th class="text-center">HORARIO</th>
<th class="text-center">HORARIO</th>
<th class="text-center">TIPO</th>
<th class="text-center">TIPO</th>
<th class="text-center">FRECUENCIA</th>
<th class="text-center">FRECUENCIA</th>
<th class="text-center">MARC. ENTRADA</th>
<th class="text-center">MARC. ENTRADA</th>
<th class="text-center">MARC. SALIDA</th>
<th class="text-center">MARC. SALIDA</th>
<th class="text-center">ESTADO</th>
<th class="text-center">ESTADO</th>
<th class="text-center">ACCIONES</th>
<th class="text-center">ACCIONES</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td>RAMIREZ MORALES ROLANDO</td>
<td>RAMIREZ MORALES ROLANDO</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">07:00 - 17:00</td>
<td class="text-center">07:00 - 17:00</td>
<td class="text-center">REGULAR</td>
<td class="text-center">REGULAR</td>
<td class="text-center">IMPAR</td>
<td class="text-center">IMPAR</td>
<td class="text-center">
<td class="text-center">
<span class="text-migration font-weight-bold">06:32</span>
<span class="text-migration font-weight-bold">06:32</span>
</td>
</td>
<td class="text-center">
<td class="text-center">
<span class="text-default">17:23</span>
<span class="text-default">17:23</span>
</td>
</td>
<td class="text-center"><span class="label label-success">TEMPRANO</span></td>
<td class="text-center"><span class="label label-success">TEMPRANO</span></td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td class="text-center">2</td>
<td class="text-center">2</td>
<td>RODRIGUEZ CALERO MARCO ANTONIO</td>
<td>RODRIGUEZ CALERO MARCO ANTONIO</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">19:00 - 07:00</td>
<td class="text-center">19:00 - 07:00</td>
<td class="text-center">AMANECIDA 12H</td>
<td class="text-center">AMANECIDA 12H</td>
<td class="text-center">IMPAR</td>
<td class="text-center">IMPAR</td>
<td class="text-center">
<td class="text-center">
<span class="text-migration">19:07</span>
<span class="text-migration">19:07</span>
</td>
</td>
<td class="text-center text-migration">07:02</td>
<td class="text-center text-migration">07:02</td>
<td class="text-center"><span class="label label-warning">TARDANZA</span></td>
<td class="text-center"><span class="label label-warning">TARDANZA</span></td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td class="text-center">3</td>
<td class="text-center">3</td>
<td>LORENZO CARHUANCHO JOEL</td>
<td>LORENZO CARHUANCHO JOEL</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">07:00- 17:00</td>
<td class="text-center">07:00- 17:00</td>
<td class="text-center">REGULAR</td>
<td class="text-center">REGULAR</td>
<td class="text-center">DIARIO</td>
<td class="text-center">DIARIO</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center"><span class="label label-danger" title="Falta Con Aviso">FCA</span></td>
<td class="text-center"><span class="label label-danger" title="Falta Con Aviso">FCA</span></td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td class="text-center">4</td>
<td class="text-center">4</td>
<td>VASQUEZ PEREZ LIDER</td>
<td>VASQUEZ PEREZ LIDER</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">07:00- 17:00</td>
<td class="text-center">07:00- 17:00</td>
<td class="text-center">REGULAR</td>
<td class="text-center">REGULAR</td>
<td class="text-center">PAR</td>
<td class="text-center">PAR</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center"><span class="label label-danger" title="Falta Sin Aviso">FSA</span></td>
<td class="text-center"><span class="label label-danger" title="Falta Sin Aviso">FSA</span></td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td class="text-center">5</td>
<td class="text-center">5</td>
<td>SILVA ASTUDILLO VICTOR SEGUNDO</td>
<td>SILVA ASTUDILLO VICTOR SEGUNDO</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">07:00 - 07:00</td>
<td class="text-center">07:00 - 07:00</td>
<td class="text-center">AMANECIDA 24H</td>
<td class="text-center">AMANECIDA 24H</td>
<td class="text-center">IMPAR</td>
<td class="text-center">IMPAR</td>
<td class="text-center">07:24</td>
<td class="text-center">07:24</td>
<td class="text-center text-migration">06:58</td>
<td class="text-center text-migration">06:58</td>
<td class="text-center"><span class="label label-default">NO MARCÓ</span></td>
<td class="text-center"><span class="label label-default">NO MARCÓ</span></td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td class="text-center">6</td>
<td class="text-center">6</td>
<td>PACHECO PANCA ADOLFO</td>
<td>PACHECO PANCA ADOLFO</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">07:00 - 07:00</td>
<td class="text-center">07:00 - 07:00</td>
<td class="text-center">AMANECIDA 24H</td>
<td class="text-center">AMANECIDA 24H</td>
<td class="text-center">PAR</td>
<td class="text-center">PAR</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center"><span class="label label-info" title="Vacaciones">VAC</span></td>
<td class="text-center"><span class="label label-info" title="Vacaciones">VAC</span></td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td class="text-center">7</td>
<td class="text-center">7</td>
<td>GONZALES MARCHISIO JUAN CARLOS</td>
<td>GONZALES MARCHISIO JUAN CARLOS</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">07:00 - 17:00</td>
<td class="text-center">07:00 - 17:00</td>
<td class="text-center">AMANECIDA 24H</td>
<td class="text-center">AMANECIDA 24H</td>
<td class="text-center">DIARIO</td>
<td class="text-center">DIARIO</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center"><span class="label label-info" title="Feriado">FER</span></td>
<td class="text-center"><span class="label label-info" title="Feriado">FER</span></td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td class="text-center">8</td>
<td class="text-center">8</td>
<td>SOTO GUTIERREZ MANUEL JESUS</td>
<td>SOTO GUTIERREZ MANUEL JESUS</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">07:50 - 17:00</td>
<td class="text-center">07:50 - 17:00</td>
<td class="text-center">REGULAR</td>
<td class="text-center">REGULAR</td>
<td class="text-center">UN SOLO DÍA</td>
<td class="text-center">UN SOLO DÍA</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center">-</td>
<td class="text-center"><span class="label label-info" title="Licencia con goce de haberes">LCGH</span></td>
<td class="text-center"><span class="label label-info" title="Licencia con goce de haberes">LCGH</span></td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td class="text-center">9</td>
<td class="text-center">9</td>
<td>VIDAL AVILA WILLY CESAR</td>
<td>VIDAL AVILA WILLY CESAR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">07:00 - 17:00</td>
<td class="text-center">07:00 - 17:00</td>
<td class="text-center">REGULAR</td>
<td class="text-center">REGULAR</td>
<td class="text-center">IMPAR</td>
<td class="text-center">IMPAR</td>
<td class="text-center"></td>
<td class="text-center"></td>
<td class="text-center">17:13</td>
<td class="text-center">17:13</td>
<td class="text-center"><span class="label bg-purple">ENTRADA PENDIENTE</span></td>
<td class="text-center"><span class="label bg-purple">ENTRADA PENDIENTE</span></td>
<td class="text-center">
<td class="text-center">
<span data-toggle="modal" data-target="#modal_entrada_pendiente" data-placement="left" title="Editar" style="cursor: pointer"> <i class='registrar icon-plus-circle2 text-success-700'></i> </span>
<span data-toggle="modal" data-target="#modal_entrada_pendiente" data-placement="left" title="Editar" style="cursor: pointer"> <i class='registrar icon-plus-circle2 text-success-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i> </span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td class="text-center">10</td>
<td class="text-center">10</td>
<td>PAREDES HUANUQUEÑO ROBERTO SANTOS</td>
<td>PAREDES HUANUQUEÑO ROBERTO SANTOS</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">07:00 - 17:00</td>
<td class="text-center">07:00 - 17:00</td>
<td class="text-center">REGULAR</td>
<td class="text-center">REGULAR</td>
<td class="text-center">IMPAR</td>
<td class="text-center">IMPAR</td>
<td class="text-center text-migration">07:28</td>
<td class="text-center text-migration">07:28</td>
<td></td>
<td></td>
<td class="text-center"><span class="label bg-purple">SALIDA PENDIENTE</span></td>
<td class="text-center"><span class="label bg-purple">SALIDA PENDIENTE</span></td>
<td class="text-center">
<td class="text-center">
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='registrar icon-plus-circle2 text-success-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='registrar icon-plus-circle2 text-success-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i> </span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td class="text-center">11</td>
<td class="text-center">11</td>
<td>PICHIGUA MELENDEZ ANTONIO</td>
<td>PICHIGUA MELENDEZ ANTONIO</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">07:50 - 14:30</td>
<td class="text-center">07:50 - 14:30</td>
<td class="text-center">REGULAR</td>
<td class="text-center">REGULAR</td>
<td class="text-center">DIARIO</td>
<td class="text-center">DIARIO</td>
<td class="text-center"></td>
<td class="text-center"></td>
<td></td>
<td></td>
<td class="text-center"><span class="label bg-purple">PENDIENTE</span></td>
<td class="text-center"><span class="label bg-purple">PENDIENTE</span></td>
<td class="text-center">
<td class="text-center">
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='registrar icon-plus-circle2 text-success-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='registrar icon-plus-circle2 text-success-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Editar" style="cursor: pointer"> <i class='editar icon-pencil text-slate-800'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Aprobar" style="cursor: pointer"> <i class='aprobar icon-checkmark-circle text-success-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i> </span>
<span data-toggle="tooltip" data-placement="left" title="Anular" style="cursor: pointer"> <i class='anular icon-cancel-circle2 text-danger-700'></i> </span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td class="text-center">12</td>
<td class="text-center">12</td>
<td>ALCALDE VENTURA JORGE EMILIANO</td>
<td>ALCALDE VENTURA JORGE EMILIANO</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">VILLA EL SALVADOR</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">26/06/2018</td>
<td class="text-center">07:00 - 07:00</td>
<td class="text-center">07:00 - 07:00</td>
<td class="text-center">AMANECIDA 24H</td>
<td class="text-center">AMANECIDA 24H</td>
<td class="text-center">IMPAR</td>
<td class="text-center">IMPAR</td>
<td class="text-center" style="color: #999999;"><strong>07:24</strong></td>
<td class="text-center" style="color: #999999;"><strong>07:24</strong></td>
<td class="text-center" style="color: #999999;"><strong>06:58</strong></td>
<td class="text-center" style="color: #999999;"><strong>06:58</strong></td>
<td class="text-center"><span class="label label-default">NO MARCÓ x2</span></td>
<td class="text-center"><span class="label label-default">NO MARCÓ x2</span></td>
<td></td>
<td></td>
</tr>
</tr>
</tbody>
</tbody>
</table>-->
</table>-->
</div>
</div>
</div>
</div>
</div>
</div>
<div
id=
"modal_entrada_pendiente"
class=
"modal fade"
>
<div
id=
"modal_entrada_pendiente"
class=
"modal fade"
>
<div
class=
"modal-dialog modal-sm"
>
<div
class=
"modal-dialog modal-sm"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header bg-primary"
>
<div
class=
"modal-header bg-primary"
>
<h5
class=
"modal-title"
>
Registrar Asistencia
</h5>
<h5
class=
"modal-title"
>
Registrar Asistencia
</h5>
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
<div>
<div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"form-group col-md-12"
>
<div
class=
"form-group col-md-12"
>
<label>
Fecha de asistencia
</label>
<label>
Fecha de asistencia
</label>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"fa fa-calendar"
></i></span>
<span
class=
"input-group-addon"
><i
class=
"fa fa-calendar"
></i></span>
<input
class=
"datepicker form-control"
type=
"text"
id=
"txtFechaAsistencia"
value=
"26/06/2018"
disabled
>
<input
class=
"datepicker form-control"
type=
"text"
id=
"txtFechaAsistencia"
value=
"26/06/2018"
disabled
>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"form-group col-md-12"
>
<div
class=
"form-group col-md-12"
>
<label>
Policia
</label>
<label>
Policia
</label>
<span
class=
"label label-left border-left-primary label-striped form-control"
>
DEZA CORREA OSCAR MIGUEL
</span>
<span
class=
"label label-left border-left-primary label-striped form-control"
>
DEZA CORREA OSCAR MIGUEL
</span>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"form-group col-md-12"
>
<div
class=
"form-group col-md-12"
>
<label
style=
"font-size: small"
>
<label
style=
"font-size: small"
>
Tipo de registro:
Tipo de registro:
</label>
</label>
<span
class=
"text-danger"
>
(*)
</span>
<span
class=
"text-danger"
>
(*)
</span>
<select
id=
"cboTipoAsistencia"
class=
"form-control"
>
<select
id=
"cboTipoAsistencia"
class=
"form-control"
>
<option
value=
"0"
>
[SELECCIONE]
</option>
<option
value=
"0"
>
[SELECCIONE]
</option>
<option
value=
"1"
>
Registro Autorizado
</option>
<option
value=
"1"
>
Registro Autorizado
</option>
<option
value=
"3"
>
Falta con Aviso
</option>
<option
value=
"3"
>
Falta con Aviso
</option>
<option
value=
"4"
>
Falta sin Aviso
</option>
<option
value=
"4"
>
Falta sin Aviso
</option>
</select>
</select>
</div>
</div>
</div>
</div>
<div
class=
"row"
id=
"divFiltro"
>
<div
class=
"row"
id=
"divFiltro"
>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer text-center"
>
<div
class=
"modal-footer text-center"
>
<button
class=
"btn btn-success"
id=
"btnGuardarCambios"
data-dismiss=
"modal"
><i
class=
"fa fa-search"
></i>
Guardar Cambios
</button>
<button
class=
"btn btn-success"
id=
"btnGuardarCambios"
data-dismiss=
"modal"
><i
class=
"fa fa-search"
></i>
Guardar Cambios
</button>
<button
type=
"button"
class=
"btn btn-warning"
id=
"btnCancelar"
data-dismiss=
"modal"
><i
class=
"fa fa-eraser"
></i>
Cancelar
</button>
<button
type=
"button"
class=
"btn btn-warning"
id=
"btnCancelar"
data-dismiss=
"modal"
><i
class=
"fa fa-eraser"
></i>
Cancelar
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- / content -->
<!-- / content -->
<
%@
include
file=
"templates/footer-body.jsp"
%
>
<
%@
include
file=
"templates/footer-body.jsp"
%
>
<!--js de la pagina-->
<!--js de la pagina-->
<script
src=
"../plantilla/assets/js/core/libraries/jquery_ui/interactions.min.js"
></script>
<script
src=
"../plantilla/assets/js/core/libraries/jquery_ui/interactions.min.js"
></script>
<script
src=
"../plantilla/assets/js/core/libraries/jquery_ui/widgets.min.js"
></script>
<script
src=
"../plantilla/assets/js/core/libraries/jquery_ui/widgets.min.js"
></script>
<script
src=
"../js/lib/bootstrap-select.min.js"
type=
"text/javascript"
></script>
<script
src=
"../js/lib/bootstrap-select.min.js"
type=
"text/javascript"
></script>
<!--<script src="../plantilla/assets/js/plugins/pickers/datepicker.js" type="text/javascript"></script>-->
<script
src=
"../plantilla/assets/js/plugins/ui/moment/moment.min.js"
></script>
<script
src=
"../plantilla/assets/js/plugins/ui/moment/moment.min.js"
></script>
<script
src=
"../plantilla/assets/js/plugins/pickers/daterangepicker.js"
></script>
<script
src=
"../plantilla/assets/js/plugins/pickers/daterangepicker.js"
></script>
<script
src=
"../plantilla/assets/js/plugins/forms/selects/select2.min.js"
></script>
<script
src=
"../plantilla/assets/js/plugins/forms/selects/select2.min.js"
></script>
<script
src=
"../plantilla/assets/js/plugins/extensions/contextmenu.js"
></script>
<script
src=
"../plantilla/assets/js/plugins/extensions/contextmenu.js"
></script>
<script
src=
"../js/lib/lodash.js"
type=
"text/javascript"
></script>
<script
src=
"../js/lib/lodash.js"
type=
"text/javascript"
></script>
<script
src=
"../js/lib/sweetalert2.min.js"
type=
"text/javascript"
></script>
<script
src=
"../js/lib/sweetalert2.min.js"
type=
"text/javascript"
></script>
<script
src=
"../js/pages/control_asistencia_policias.js"
type=
"text/javascript"
></script>
<script
src=
"../js/pages/control_asistencia_policias.js"
type=
"text/javascript"
></script>
<!--js-->
<!--js-->
</body>
</body>
</html>
</html>
\ No newline at end of file
src/main/webapp/vistas/proyectarAsistenciaPolicias.jsp
View file @
b92f1fe3
...
@@ -38,14 +38,14 @@
...
@@ -38,14 +38,14 @@
<label>
Fecha Inicio
</label>
<label>
Fecha Inicio
</label>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"icon-calendar"
></i></span>
<span
class=
"input-group-addon"
><i
class=
"icon-calendar"
></i></span>
<input
type=
"text"
class=
"form-control"
name=
"dpFechaInicio"
id=
"dpFechaInicio"
>
<input
type=
"text"
class=
"form-control"
id=
"dpFechaInicio"
>
</div>
</div>
</div>
</div>
<div
class=
"col-md-6 form-group"
>
<div
class=
"col-md-6 form-group"
>
<label>
Fecha Fin
</label>
<label>
Fecha Fin
</label>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
><i
class=
"icon-calendar"
></i></span>
<span
class=
"input-group-addon"
><i
class=
"icon-calendar"
></i></span>
<input
type=
"text"
class=
"form-control"
name=
"dpFechaFin"
id=
"dpFechaFin"
>
<input
type=
"text"
class=
"form-control"
id=
"dpFechaFin"
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<!--js de la pagina-->
<!--js de la pagina-->
<script
src=
"../plantilla/assets/js/plugins/ui/moment/moment.min.js"
type=
"text/javascript"
></script>
<script
src=
"../plantilla/assets/js/plugins/ui/moment/moment.min.js"
type=
"text/javascript"
></script>
<script
src=
"../plantilla/assets/js/plugins/pickers/date
range
picker.js"
></script>
<script
src=
"../plantilla/assets/js/plugins/pickers/datepicker.js"
></script>
<script
src=
"../plantilla/assets/js/core/libraries/jquery_ui/widgets.min.js"
></script>
<script
src=
"../plantilla/assets/js/core/libraries/jquery_ui/widgets.min.js"
></script>
<script
src=
"../plantilla/assets/js/plugins/tables/datatables/datatables.min.js"
type=
"text/javascript"
></script>
<script
src=
"../plantilla/assets/js/plugins/tables/datatables/datatables.min.js"
type=
"text/javascript"
></script>
<script
src=
"../js/lib/dataTables.rowsGroup.js"
type=
"text/javascript"
></script>
<script
src=
"../js/lib/dataTables.rowsGroup.js"
type=
"text/javascript"
></script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment