Commit a8ff9c83 by Billy Larru

agregando el campo observacion en tolerancia individual

parent 97116cfe
...@@ -21,6 +21,15 @@ const inicializarInputsModalNuevaTolerancia = () => { ...@@ -21,6 +21,15 @@ const inicializarInputsModalNuevaTolerancia = () => {
initDatePicker("#dpFechaInicio", "#dpFechaFin"); initDatePicker("#dpFechaInicio", "#dpFechaFin");
}; };
const registrarNuevaTolerancia = () => {
swal({
type: 'success',
title: '¡Tolerancia registrada exitosamente!',
showConfirmButton: false,
timer: 1500
})
};
const mostrarModalNuevaTolerancia = () => { const mostrarModalNuevaTolerancia = () => {
ajaxModal.get("administrativos/tolerancia/individual/registroTolerancia.jsp").then((response) => { ajaxModal.get("administrativos/tolerancia/individual/registroTolerancia.jsp").then((response) => {
swal({ swal({
...@@ -41,7 +50,7 @@ const mostrarModalNuevaTolerancia = () => { ...@@ -41,7 +50,7 @@ const mostrarModalNuevaTolerancia = () => {
} }
}).then((result) => { }).then((result) => {
if (result.value) { if (result.value) {
registrarNuevaTolerancia();
} }
}); });
}); });
......
...@@ -51,5 +51,11 @@ ...@@ -51,5 +51,11 @@
</div> </div>
</div> </div>
</div> </div>
<div class="row">
<div class="form-group col-md-12">
<label>Observacion</label>
<textarea name="txtObservacion" id="txtObservacion" cols="30" rows="4" class="form-control"></textarea>
</div>
</div>
</div> </div>
</form> </form>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment