Money balanceValueDebit = new Money(0);
Money balanceValueTotal = new Money(getBalanceUntilLastDay(account.getId(), startDate).getValue());
for (Operation operation : operations) {
if(operation.isCredit()) {
balanceValueCredit.credit(operation.getValue());
balanceValueTotal.credit(operation.getValue());
} else {
balanceValueTotal.debit(operation.getValue());
balanceValueDebit.credit(operation.getValue());
}
page.addElement(drawRectangle(posX, posY, convert(190), 15, 0));