Actualización de tipo de solicitud
This commit is contained in:
@@ -632,6 +632,7 @@ if(!is_null($user->periodo_id)){
|
|||||||
$('#fecha_cambio').val("");
|
$('#fecha_cambio').val("");
|
||||||
$('#fecha_falta').val("");
|
$('#fecha_falta').val("");
|
||||||
$('#fecha_nueva').val("");
|
$('#fecha_nueva').val("");
|
||||||
|
console.log(tipo);
|
||||||
$("#tipo").val(tipo);
|
$("#tipo").val(tipo);
|
||||||
switch(tipo){
|
switch(tipo){
|
||||||
case 1://reposición
|
case 1://reposición
|
||||||
@@ -848,10 +849,11 @@ if(!is_null($user->periodo_id)){
|
|||||||
|
|
||||||
$('#modal').on('show.bs.modal', function (event) {
|
$('#modal').on('show.bs.modal', function (event) {
|
||||||
var button = $(event.relatedTarget); // Button that triggered the modal
|
var button = $(event.relatedTarget); // Button that triggered the modal
|
||||||
var tipo = button.data('tipo'); // 1 alta, 2 edicion
|
var tipo = button.data('tipo');
|
||||||
var accion = button.data('accion');
|
var accion = button.data('accion'); // 1 alta, 2 edicion
|
||||||
var modal = $(this);
|
var modal = $(this);
|
||||||
|
|
||||||
|
console.log("Show "+tipo);
|
||||||
$("#loadingGroup").hide();
|
$("#loadingGroup").hide();
|
||||||
$("#submitGroup").show();
|
$("#submitGroup").show();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user