posY += 15;
cont++;
if(financialInfo.isCredit())
totalCredit.credit(financialInfo.getValue());
else
totalDebit.credit(financialInfo.getValue());
}
}
page.addElement(drawRectangle(posX, posY, convert(190), 15, 0));
page.addElement(insertBoldText("TOTAL", posX+2, posY, 381));
page.addElement(drawVerticalLine(posX+385, posY, 15));