equipo tipo entrada service final
This commit is contained in:
@@ -67,7 +67,7 @@ export class MultaService {
|
||||
// correctamente esa vez
|
||||
if (existeMulta) return;
|
||||
this.validacionMultaCancelacion(prestamo);
|
||||
// Si no se mando un id_institucion_infraccion ni retraso saco error
|
||||
// Si no se mando un id_institucion_infraccion ni retraso sacamos error
|
||||
if (!id_institucion_infraccion && !retraso)
|
||||
throw new ConflictException(
|
||||
'No se mandó ningún motivo para multar a este alumno.',
|
||||
|
||||
Reference in New Issue
Block a user