fixes bug#19466

qua:
dev:Thiago
Erro ao salvar orgão concedente que não seja argeba.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@101969 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdevir 2020-06-04 20:22:58 +00:00
parent c79ddb22fa
commit b79cd869ad
2 changed files with 8 additions and 2 deletions

View File

@ -25,7 +25,6 @@ import com.rjconsultores.ventaboletos.constantes.Constantes;
import com.rjconsultores.ventaboletos.entidad.Categoria;
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
import com.rjconsultores.ventaboletos.entidad.ClasseIndicePeaje;
import com.rjconsultores.ventaboletos.entidad.Constante;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.OrgaoCancelacion;
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
@ -264,7 +263,9 @@ public class EditarOrgaoConcedenteController extends MyGenericForwardComposer {
oc.setOrgao(orgaoConcedente);
oc.setPorccambio(txtPorcCambio.getValueDecimal());
oc.setPorcmulta(txtPorcMulta.getValueDecimal());
oc.setPorcMultaResolAgerba(txtMultaResolAgerba.getValueDecimal());
if(linhaAgerba.isVisible()) {
oc.setPorcMultaResolAgerba(txtMultaResolAgerba.getValueDecimal());
}
oc.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
oc.setFecmodif(Calendar.getInstance().getTime());
oc.setTiempolimite(new Integer(txtTiempoLimite.getValue()));

View File

@ -549,6 +549,11 @@ public class EditarConexionController extends MyGenericForwardComposer {
private void verConfiguracaoConexao() throws InterruptedException {
Map args = new HashMap();
Conexion conexion = (Conexion) conexionesEditarList.getSelected();
if(conexion ==null) {
Messagebox.show(Labels.getLabel("editarConexionExcepcionController.MSG.selecionarConexion"),
Labels.getLabel("editarConexionExcepcionController.window.title"),
Messagebox.OK, Messagebox.INFORMATION);
}
args.put("conexion", conexion);
args.put("conexionConfHash", conexionesConfHash);