Conclusão mantis 6894

fixes bug 6894

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@50771 d1611594-4594-4d17-8e1d-87c2c4800839
master
thiago.penido 2015-11-30 18:38:59 +00:00
parent 5ef9a9989b
commit 9e08645ef1
1 changed files with 6 additions and 16 deletions

View File

@ -126,8 +126,6 @@ public class EditarPricingController extends MyGenericForwardComposer {
@Autowired
private PricingFormapagoService pricingFormapagoService;
@Autowired
private EmpresaService empresaService;
@Autowired
private MarcaService marcaService;
@Autowired
private ClaseServicioService claseServicioService;
@ -266,7 +264,7 @@ public class EditarPricingController extends MyGenericForwardComposer {
@Override
public void doAfterCompose(Component comp) throws Exception {
lsEmpresa = UsuarioLogado.getUsuarioLogado().getEmpresa();
lsEmpresa.add(empresaService.obtenerID(-1));
// lsEmpresa.add(empresaService.obtenerID(-1));
pricing = (Pricing) Executions.getCurrent().getArg().get("pricing");
pricingList = (MyListbox) Executions.getCurrent().getArg().get("pricingList");
@ -664,11 +662,11 @@ public class EditarPricingController extends MyGenericForwardComposer {
}
// Empresa
Empresa emp = empresaService.obtenerID(-1);
if (emp != null) {
pricing.setEmpresa(emp);
cmbEmpresa.setText(emp.getNombempresa());
}
// Empresa emp = empresaService.obtenerID(-1);
// if (emp != null) {
// pricing.setEmpresa(emp);
// cmbEmpresa.setText(emp.getNombempresa());
// }
}
// Tipo Pasajero - Categoria
@ -2261,14 +2259,6 @@ public class EditarPricingController extends MyGenericForwardComposer {
btnSalvar.setDisabled(desativar);
}
public EmpresaService getEmpresaService() {
return empresaService;
}
public void setEmpresaService(EmpresaService empresaService) {
this.empresaService = empresaService;
}
public List<Empresa> getLsEmpresa() {
return lsEmpresa;
}