validacion del ticket

This commit is contained in:
Andres2908
2022-03-29 17:07:04 -06:00
parent 3d0043cbc1
commit 975aadcbea
4 changed files with 8 additions and 15 deletions
+1
View File
@@ -26,6 +26,7 @@ const validarTicket = async (body) => {
{
where: {
folio,
cancelacion: 0,
},
}
);
@@ -26,8 +26,8 @@ const inscripcion = async (body, file) => {
);
const idArea = validarNumeroEntero(body.idArea, 'id Area', true);
const monto = validarNumero(body.monto, 'monto', true);
const folio = validarNumero(body.folio, 'folio', true, 6);
const fechaTicket = body.fechaTicket;
const folio = body.folio;
let correo = {};
let email = '';