loaded.setInvestment(investment);
loaded.getAccountTransaction().setPayee(investment);
accountTransaction.setOperationDate(transaction.getAccountTransaction().getOperationDate());
accountTransaction.setReferenceNumber(transaction.getAccountTransaction().getReferenceNumber());
accountTransaction.setSubcategory(Subcategory.findBySubcategory(transaction.getAccountTransaction().getSubcategory().getCategory(), user));
loaded.merge();
}
return "redirect:/financial/accounts/" + account.getId();
}
@RequestMapping("/remove/{id}")