rechazar carta aceptación, termino e informe global
This commit is contained in:
@@ -39,10 +39,11 @@ const nuevo = async (body) => {
|
||||
'Aun no se puede contestar el cuestionario este Servicio Social.'
|
||||
);
|
||||
case 5:
|
||||
case 6:
|
||||
throw new Error(
|
||||
'Este Servicio Social ya paso la fase de contestar el cuestionario.'
|
||||
);
|
||||
case 6:
|
||||
throw new Error('Este Servicio Social ya finalizó.');
|
||||
case 7:
|
||||
case 8:
|
||||
case 9:
|
||||
@@ -50,7 +51,7 @@ const nuevo = async (body) => {
|
||||
'Este Servicio Social se encuentra rechazado. No se puede avanzar hasta que se corriga lo necesario.'
|
||||
);
|
||||
case 10:
|
||||
throw new Error('Este Servicio Social esta cancelado.');
|
||||
throw new Error('Este Servicio Social fue cancelado.');
|
||||
}
|
||||
})
|
||||
.then((res) => {
|
||||
@@ -60,7 +61,7 @@ const nuevo = async (body) => {
|
||||
);
|
||||
})
|
||||
.then((res) => {
|
||||
return { message: 'Se guardo tus respuestas correctamente.' };
|
||||
return { message: 'Se guradaron tus respuestas correctamente.' };
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user