0011745: Erro ao gerar relatorio Tipo de Passagem
fixes bug#11745 dev:Daniel Zauli qua:Bruno Silver git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@84322 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
0376b1c819
commit
22bfb29f2b
|
@ -154,7 +154,10 @@ public class RelatorioGratuidadeController extends MyGenericForwardComposer {
|
|||
}
|
||||
|
||||
if (cmbAgencia.getSelectedIndex() != -1) {
|
||||
parametros.put("agencia", ((PuntoVenta) cmbAgencia.getSelectedItem().getValue()).getPuntoventaId());
|
||||
PuntoVenta puntoVentaAux = (PuntoVenta) cmbAgencia.getSelectedItem().getValue();
|
||||
if (!puntoVentaAux.getPuntoventaId().toString().equals("-1")) {
|
||||
parametros.put("agencia", puntoVentaAux.getPuntoventaId());
|
||||
}
|
||||
}
|
||||
if (cmbLinha.getSelectedItem() != null) {
|
||||
if (!cmbLinha.getSelectedItem().getValue().equals("-1")) {
|
||||
|
|
Loading…
Reference in New Issue