Arreglo en la fecha del reporte
This commit is contained in:
@@ -32,7 +32,7 @@ const reporte = async (body) => {
|
||||
confirmacion: res[i].confirmacion,
|
||||
folio: res[i].folio,
|
||||
monto: res[i].monto,
|
||||
fechaInscripcion: res[i].fechaInscripcion,
|
||||
fechaInscripcion: moment(res[i].fechaInscripcion).format('L'),
|
||||
idArea: res[i].idArea,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ const Usuario = require(`${dbPath}/Usuario`);
|
||||
const Inscripcion = require(`${dbPath}/Inscripcion`);
|
||||
|
||||
const todasInscripciones = async (body) => {
|
||||
const numeroCuenta = validar.validarNumeroCuenta(body.numeroCuenta);
|
||||
// const numeroCuenta = validar.validarNumeroCuenta(body.numeroCuenta);
|
||||
return Inscripcion.findAll({
|
||||
where: { validacion: body.validacion },
|
||||
include: [
|
||||
|
||||
Reference in New Issue
Block a user