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
d6a70654
Commit
d6a70654
authored
Aug 29, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asignar monto amanecidas arreglado
parent
a2885ef4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
174 additions
and
163 deletions
+174
-163
general.js
src/main/webapp/js/general.js
+18
-0
asignar_monto_amanecida.js
src/main/webapp/js/pages/asignar_monto_amanecida.js
+155
-160
asignarMontoAmanecida.jsp
src/main/webapp/vistas/asignarMontoAmanecida.jsp
+1
-3
No files found.
src/main/webapp/js/general.js
View file @
d6a70654
...
...
@@ -442,4 +442,21 @@ let initDatePicker = (...selectorName) => {
$
(
id
).
datepicker
(
'setDate'
,
'now'
);
});
}
const
setTiposContratoOnSelect
=
(
nodeIdentifier
,
optionAll
=
true
)
=>
{
ajaxWebService
.
get
(
`contratoTipo`
)
.
then
((
response
)
=>
{
let
$select
=
$
(
`
${
nodeIdentifier
}
`
)
let
option
if
(
optionAll
)
{
option
=
`<option value="">TODOS</option>`
}
response
.
data
.
forEach
((
value
,
id
)
=>
{
option
+=
`<option value="
${
value
.
id
}
">
${
value
.
nombre
}
</option>`
})
$select
.
html
(
option
).
selectpicker
()
$select
.
selectpicker
();
})
}
\ No newline at end of file
src/main/webapp/js/pages/asignar_monto_amanecida.js
View file @
d6a70654
This diff is collapsed.
Click to expand it.
src/main/webapp/vistas/asignarMontoAmanecida.jsp
View file @
d6a70654
...
...
@@ -50,7 +50,7 @@
<div
class=
"row"
>
<div
class=
"col-md-
7 col-md-offset-2
"
>
<div
class=
"col-md-
6 col-md-offset-3
"
>
<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-search4"
></i>
LISTADO
</h6>
...
...
@@ -68,12 +68,10 @@
<
%@
include
file=
"templates/footer-body.jsp"
%
>
<!--js de la pagina-->
<script
src=
"../plantilla/assets/js/plugins/tables/datatables/datatables.min.js"
type=
"text/javascript"
></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=
"../js/lib/sweetalert2.min.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=
"../plantilla/assets/js/plugins/forms/inputs/formatter.min.js"
></script>
<script
src=
"../js/pages/asignar_monto_amanecida.js"
></script>
<!--js-->
...
...
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