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
1df71cf3
Commit
1df71cf3
authored
Oct 26, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[EDIT registro de justificacion, pintar hora de marcacion para justificacion por tardanza]
parent
5245e1cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
+14
-1
control_asistencia_administrativa.js
...main/webapp/js/pages/control_asistencia_administrativa.js
+2
-1
registroJustificacion.js
src/main/webapp/js/pages/registroJustificacion.js
+12
-0
No files found.
src/main/webapp/js/pages/control_asistencia_administrativa.js
View file @
1df71cf3
...
...
@@ -121,7 +121,8 @@ function getColumns() {
break
;
}
return
`<span class="
${
label
}
">
${
estado
}
</span>`
;
// return `<span class="${label}">${estado}</span>`;
return
`<abbr title="
${
data
.
estadoasistencia_descripcion
}
" class="
${
label
}
">
${
estado
}
</abbr>`
;
}
},
{
...
...
src/main/webapp/js/pages/registroJustificacion.js
View file @
1df71cf3
...
...
@@ -8,9 +8,21 @@ const listarCausaJustificacion = (nodeIdentifier) => {
let
html
=
"<option>[SELECCIONE]</option>"
html
+=
data
.
map
((
causaJustificacion
)
=>
`<option value="
${
causaJustificacion
.
id
}
">
${
causaJustificacion
.
descripcion
}
</option>`
).
join
(
""
)
$
(
nodeIdentifier
).
html
(
html
)
$
(
nodeIdentifier
).
change
(
pintarHora
)
})
}
const
pintarHora
=
()
=>
{
debugger
let
causaJustificacion
=
$
(
"#cboCausaJustificacion option:selected"
).
text
()
if
(
causaJustificacion
===
"TARDANZA"
)
{
$
(
"#divHora"
).
removeClass
(
'hidden'
)
}
else
{
$
(
"#divHora"
).
addClass
(
'hidden'
)
}
}
const
listarTipoJustificacion
=
(
nodeIdentifier
)
=>
{
ajaxWebService
.
get
(
URI_JUSTIFICACION_TIPO
).
then
((
response
)
=>
{
...
...
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