This commit is contained in:
2022-02-05 21:22:51 -06:00
parent 3f360879e6
commit 69cd00bc43
7 changed files with 86 additions and 41 deletions
@@ -27,6 +27,7 @@ const regresoInmediato = async (body) => {
await Multa.create({
idPrestamo,
idInfraccion: 1,
idOperadorMulta: 1,
descripcion: `Se paso por ${diferencia} minutos para entregar el equipo.`,
fechaFin: ahoraAux.add(parseInt(diferencia / 15) * 7, 'd').format(),
}).then((res) =>