Brazilian DB, some litle modifications in functions and trying to fix queries in printIssuedVoucher