Crear solicitudes y envío de correos
This commit is contained in:
@@ -128,8 +128,8 @@ if(!is_null($user->periodo_id)){
|
||||
if($write==true && isset($prof_rs) && count($prof_rs)>0) {?>
|
||||
<!-- Botón para abrir el modal -->
|
||||
<div class="row mb-4">
|
||||
<div class="col-12 text-right">
|
||||
<div class="btn-group" role="group" aria-label="Basic example">
|
||||
<div class="col-12 text-center">
|
||||
<div class="btn-group" role="group">
|
||||
<?php foreach ($tiposol_rs as $tipo){ ?>
|
||||
<button type="button" class="btn btn-outline-primary" data-accion="1" data-tipo="<?php echo $tipo["solicitudtipo_id"];?>" data-toggle="modal" data-target="#modal" <?php if (!$en_fecha ) { echo "disabled"; } ?>><span class="ing-mas ing-fw"></span><?php echo $tipo["solicitudtipo_nombre"];?></button>
|
||||
<?php } ?>
|
||||
@@ -642,6 +642,7 @@ if(!is_null($user->periodo_id)){
|
||||
$('#fecha_nueva').attr("required", true);
|
||||
|
||||
$("#hora_nombre").text("Hora reposición *");
|
||||
$("#materiaBlock").show();
|
||||
break;
|
||||
case 2://cambio de salón
|
||||
$('#fecha_cambio').parents('.row').show();
|
||||
@@ -653,6 +654,7 @@ if(!is_null($user->periodo_id)){
|
||||
$('#fecha_nueva').removeAttr("required");
|
||||
|
||||
$("#hora_nombre").text("Hora cambio *");
|
||||
$("#materiaBlock").show();
|
||||
var hora = $("#dlMateria ul li.selected").data("hr");
|
||||
var min = $("#dlMateria ul li.selected").data("min");
|
||||
$("#hora_ini").val(hora);
|
||||
@@ -668,17 +670,19 @@ if(!is_null($user->periodo_id)){
|
||||
$('#fecha_nueva').attr("required", true);
|
||||
|
||||
$("#hora_nombre").text("Hora *");
|
||||
$("#materiaBlock").hide();
|
||||
break;
|
||||
case 4:
|
||||
$('#fecha_cambio').parents('.row').show();
|
||||
$('#fecha_falta').parents('.row').hide();
|
||||
$('#fecha_nueva').parents('.row').show();
|
||||
|
||||
|
||||
$('#fecha_cambio').attr("required", true);
|
||||
$('#fecha_falta').removeAttr("required");
|
||||
$('#fecha_nueva').attr("required", true);
|
||||
|
||||
|
||||
$("#hora_nombre").text("Hora cambio *");
|
||||
$("#materiaBlock").show();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user