liberacion y obtener servicios especiales listo

This commit is contained in:
2021-02-10 01:59:57 -06:00
parent 1ef5cc8a07
commit 027fddf9cc
15 changed files with 117 additions and 0 deletions
@@ -43,6 +43,8 @@ const cartaTermino = async (body, file) => {
throw new Error(
'Este Servicio Social fue cancelado. Comunicate con COESI para solucionar tu problema.'
);
default:
throw new Error('Id status no valido.');
}
})
.then((res) =>
@@ -42,6 +42,8 @@ const cartaTermino = async (body, file) => {
throw new Error(
'Este Servicio Social esta cancelado. Comunicate con COESI para solucionar tu problema.'
);
default:
throw new Error('Id status no valido.');
}
})
.then((res) =>
@@ -42,6 +42,8 @@ const informeGlobal = async (body, file) => {
throw new Error(
'Este Servicio Social esta cancelado. Comunicate con COESI para solucionar tu problema.'
);
default:
throw new Error('Id status no valido.');
}
})
.then((res) =>
+2
View File
@@ -44,6 +44,8 @@ const liberacion = async (body) => {
);
case 10:
throw new Error('Este Servicio Social esta cancelado.');
default:
throw new Error('Id status no valido.');
}
})
.then((res) => Servicio.update(update, { where: { idServicio } }))
@@ -50,6 +50,8 @@ const cancelar = async (body) => {
);
case 10:
throw new Error('Este Servicio Social fue cancelado.');
default:
throw new Error('Id status no valido.');
}
})
.then((res) =>
@@ -51,6 +51,8 @@ const cancelar = async (body) => {
);
case 10:
throw new Error('Este Servicio Social fue cancelado.');
default:
throw new Error('Id status no valido.');
}
})
.then((res) =>
@@ -51,6 +51,8 @@ const cancelar = async (body) => {
);
case 10:
throw new Error('Este Servicio Social fue cancelado.');
default:
throw new Error('Id status no valido.');
}
})
.then((res) =>
+2
View File
@@ -39,6 +39,8 @@ const registro = async (body) => {
);
case 10:
throw new Error('Este Servicio Social fue cancelado.');
default:
throw new Error('Id status no valido.');
}
})
.then((res) => {
@@ -60,6 +60,8 @@ const registroValidado = async (body) => {
throw new Error(
'Este Servicio Social fue cancelado. Comunicate con COESI para solucionar tu problema.'
);
default:
throw new Error('Id status no valido.');
}
})
.then((res) =>