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
8b688347
Commit
8b688347
authored
Sep 20, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[EDIT registro_periodo_cierre, registrando periodo de cierre]
parent
f269ed86
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
general.js
src/main/webapp/js/general.js
+1
-0
registro_periodo_cierre.js
src/main/webapp/js/pages/registro_periodo_cierre.js
+16
-3
No files found.
src/main/webapp/js/general.js
View file @
8b688347
...
...
@@ -54,6 +54,7 @@ const URI_JUSTIFICACION = "justificaciones"
const
URI_ESTADOJUSTIFICACION
=
"estadoJustificaciones"
const
URI_TIPOPERSONAL
=
"tipoPersonales"
const
URI_MESESCIERRE
=
"mesesCierre"
const
URI_PERIODOCIERRE
=
"periodoCierreAsistencia"
//</editor-fold>
const
swalWithBootstrapButtons
=
swal
.
mixin
({
...
...
src/main/webapp/js/pages/registro_periodo_cierre.js
View file @
8b688347
...
...
@@ -38,14 +38,27 @@ const registrarNuevoPeriodo = () => {
let
fecha_inicio
=
$
(
"#dpFechaInicio"
).
val
()
let
fecha_fin
=
$
(
"#dpFechaFin"
).
val
()
let
estado
=
1
let
params
=
{
tipopersonal_id
,
tipopersonal_descripcion
,
mescierre_id
,
mescierre_descripcion
,
fecha_inicio
,
fecha_fin
,
estado
}
ajaxWebService
.
post
(
URI_PERIODOCIERRE
,
params
).
then
((
response
)
=>
{
if
(
response
.
status
)
{
swal
({
type
:
'success'
,
title
:
`¡Periodo de cierre «
${
mescierre_descripcion
}
» registrado!`
,
showConfirmButton
:
false
,
timer
:
1500
})
}
})
...
...
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