Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smsManager
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
smsManager
Commits
6d57f767
Commit
6d57f767
authored
May 30, 2019
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nuevas funciones
parent
cc302e2c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
25 deletions
+37
-25
app/Resources/views/backend/research/busqueda.html.twig
app/Resources/views/backend/research/busqueda.html.twig
+37
-25
No files found.
app/Resources/views/backend/research/busqueda.html.twig
View file @
6d57f767
...
@@ -50,6 +50,12 @@
...
@@ -50,6 +50,12 @@
{%
block
javascripts
%}
{%
block
javascripts
%}
<script>
<script>
var
tipoSeteado
=
null
;
function
setearTipo
(
event
,
tipo
){
event
.
preventDefault
();
tipoSeteado
=
tipo
;
}
function
buscar
(
event
)
{
function
buscar
(
event
)
{
event
.
preventDefault
();
event
.
preventDefault
();
...
@@ -160,10 +166,11 @@
...
@@ -160,10 +166,11 @@
}
}
function
enviarLicencia
(
event
,
tipo
){
function
enviarLicencia
(
event
){
event
.
preventDefault
();
event
.
preventDefault
();
//todo
//todo
var
formData
=
new
FormData
();
var
formData
=
new
FormData
();
if
(
tipoSeteado
==
"
correo
"
){
var
url
=
"
{{
path
(
'backend_researcher_enviar_correo'
)
}}
"
;
var
url
=
"
{{
path
(
'backend_researcher_enviar_correo'
)
}}
"
;
formData
.
append
(
"
idUsuario
"
,
$
(
"
#idUsuario
"
).
val
());
formData
.
append
(
"
idUsuario
"
,
$
(
"
#idUsuario
"
).
val
());
$
.
ajax
$
.
ajax
...
@@ -188,6 +195,11 @@
...
@@ -188,6 +195,11 @@
successMessage
(
"
Se ha enviado el correo correctamente
"
,
"
#message-container-busqueda
"
);
successMessage
(
"
Se ha enviado el correo correctamente
"
,
"
#message-container-busqueda
"
);
},
},
});
});
}
else
if
(
tipoSeteado
==
"
sms
"
){
}
else
if
(
tipoSeteado
==
null
){
errorMessage
(
"
Debe seleccionar un tipo de envio.
"
,
"
#message-container-busqueda
"
);
}
}
}
...
...
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