Erro - Cadastro Ponto de Venda (fixes bug #6022)

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@41152 d1611594-4594-4d17-8e1d-87c2c4800839
master
julio 2015-02-02 12:15:36 +00:00
parent bcb4852dcd
commit 5263af902c
1 changed files with 4 additions and 5 deletions

View File

@ -385,7 +385,10 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
if (puntoVenta.getRazonSocial() != null) {
txtRazonSocial.setValue(puntoVenta.getRazonSocial());
}
fechamentoParamptovtaList.setItemRenderer(new FechamentoParamptovtaListItemRenderer());
List<FechamentoParamptovta> params = fechamentoParamptovtaService.buscaParametrosPorPuntoventa(puntoVenta);
fechamentoParamptovtaList.setData(params);
}
puntoVentaList = (MyListbox) Executions.getCurrent().getArg().get("puntoVentaList");
@ -583,10 +586,6 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
}
}
fechamentoParamptovtaList.setItemRenderer(new FechamentoParamptovtaListItemRenderer());
List<FechamentoParamptovta> params = fechamentoParamptovtaService.buscaParametrosPorPuntoventa(puntoVenta);
fechamentoParamptovtaList.setData(params);
} catch (Exception e) {
log.error("Punto de Venta: " + e);
Messagebox.show(