cambios
This commit is contained in:
@@ -66,15 +66,16 @@ const inscripcion = async (body, file) => {
|
||||
});
|
||||
})
|
||||
.then((res) => {
|
||||
if (file)
|
||||
if (file) {
|
||||
fs.renameSync(file.path, file.path + '.' + file.mimetype.split('/')[1]);
|
||||
agregarRecibo(
|
||||
folio,
|
||||
monto,
|
||||
moment(fechaTicket).format('L'),
|
||||
numeroCuenta
|
||||
);
|
||||
agregarDetalleServicio(monto, numeroCuenta);
|
||||
agregarRecibo(
|
||||
folio,
|
||||
monto,
|
||||
moment(fechaTicket).format('L'),
|
||||
numeroCuenta
|
||||
);
|
||||
agregarDetalleServicio(monto, numeroCuenta);
|
||||
}
|
||||
})
|
||||
.then((res) => ({
|
||||
message: `Tu inscripción está sujeta a validación por parte de un operador de CEDETEC, espera mas información en tu correo de Pc-puma.`,
|
||||
|
||||
Reference in New Issue
Block a user