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
fe6735a4
Commit
fe6735a4
authored
Sep 06, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mostrando mensaje de registro de asistencia, en la vista de control de asistencia
parent
3e194865
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
16 deletions
+15
-16
control_asistencia_administrativa.js
...main/webapp/js/pages/control_asistencia_administrativa.js
+15
-16
No files found.
src/main/webapp/js/pages/control_asistencia_administrativa.js
View file @
fe6735a4
...
...
@@ -171,12 +171,22 @@ const mostrarModalRegistro = (data) => {
inicializarInputsModal
(
data
);
}
})
//
.then((result) => {
//
mostrarMensajeResultadoModal(result);
//
});
.
then
((
result
)
=>
{
mostrarMensajeResultadoModal
(
result
);
});
});
}
function
mostrarMensajeResultadoModal
(
result
=
{}){
if
(
result
.
value
)
{
swal
({
type
:
'success'
,
title
:
'¡Se registró la asistencia exitosamente!'
,
showConfirmButton
:
false
,
timer
:
1500
});
}
}
const
inicializarInputsModal
=
(
data
)
=>
{
let
nombresCompletos
=
`
${
data
.
apellidos
}
${
data
.
nombres
}
`
;
...
...
@@ -197,20 +207,9 @@ function cambioTipoRegistro() {
if
(
criterio
==
1
||
criterio
==
2
)
{
let
html
=
`<div class=''>
<div class="form-group col-md-6">
<label style="font-size: small">
Marcación:
</label>
<span class="text-danger"> (*)</span>
<select id="cboTipoAsistencia" class="form-control">
<option value="0">[SELECCIONE]</option>
<option value="1">ENTRADA</option>
<option value="2">SALIDA</option>
</select>
</div>
<div class="form-group col-md-6">
<div class="form-group col-md-12">
<label style="font-size: small">
Hora:
Hora
Entrada
:
</label>
<span class="text-danger"> (*)</span>
<input type="time" id="txtHora" name="txtHora" value="" class="form-control" placeholder="Ingrese la hora" style="text-transform:uppercase;">
...
...
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