diff --git a/server/controller/Prestamo/activos.js b/server/controller/Prestamo/activos.js index 91fc6ce..4fd592e 100644 --- a/server/controller/Prestamo/activos.js +++ b/server/controller/Prestamo/activos.js @@ -45,8 +45,8 @@ const activos = async (body) => { { [Op.and]: [{ regresoInmediato: true }, { idOperadorRegreso: null }], }, + { idPrestamo: { [Op.like]: `%${idPrestamo}%` } }, ], - idPrestamo: { [Op.like]: `%${idPrestamo}%` }, }, include: [ {