this.apportionmentRepository.listByMovement(movement)));
return movement;
}
@Transactional
public void payMovement(Movement movement) {
<BUG>Payment payment = movement.getPayment();
movement.validateApportionments();</BUG>
if (!movement.hasDueDate()) {
movement.setDueDate(LocalDate.now());
}

this.apportionmentRepository.listByMovement(movement)));
return movement;
}
@Transactional
public void payMovement(Movement movement) {
Payment payment = movement.getPayment();
payment.validatePaymentMethod();
movement.validateApportionments();
if (!movement.hasDueDate()) {
movement.setDueDate(LocalDate.now());
}
