usuario incrito y recibo

This commit is contained in:
Andres2908
2022-03-23 23:55:23 -06:00
parent 5d895e99ec
commit 9695122cdf
2 changed files with 8 additions and 4 deletions
@@ -65,9 +65,13 @@ const inscripcion = async (body, file) => {
.then((res) => {
if (file)
fs.renameSync(file.path, file.path + '.' + file.mimetype.split('/')[1]);
console.log(moment(fechaTicket).format('L'));
// usuarioInscrito(numeroCuenta, idArea);
// agregarRecibo(folio, monto, ahora(fechaTicket), numeroCuenta);
usuarioInscrito(numeroCuenta, idArea);
agregarRecibo(
folio,
monto,
moment(fechaTicket).format('L'),
numeroCuenta
);
return gmail(correo.subject, email, correo.msj);
})
.then((res) => ({