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-87c2c4800839master
parent
c79ddb22fa
commit
b79cd869ad
|
@ -25,7 +25,6 @@ import com.rjconsultores.ventaboletos.constantes.Constantes;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
||||||
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
|
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
|
||||||
import com.rjconsultores.ventaboletos.entidad.ClasseIndicePeaje;
|
import com.rjconsultores.ventaboletos.entidad.ClasseIndicePeaje;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Constante;
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
import com.rjconsultores.ventaboletos.entidad.OrgaoCancelacion;
|
import com.rjconsultores.ventaboletos.entidad.OrgaoCancelacion;
|
||||||
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
||||||
|
@ -264,7 +263,9 @@ public class EditarOrgaoConcedenteController extends MyGenericForwardComposer {
|
||||||
oc.setOrgao(orgaoConcedente);
|
oc.setOrgao(orgaoConcedente);
|
||||||
oc.setPorccambio(txtPorcCambio.getValueDecimal());
|
oc.setPorccambio(txtPorcCambio.getValueDecimal());
|
||||||
oc.setPorcmulta(txtPorcMulta.getValueDecimal());
|
oc.setPorcmulta(txtPorcMulta.getValueDecimal());
|
||||||
oc.setPorcMultaResolAgerba(txtMultaResolAgerba.getValueDecimal());
|
if(linhaAgerba.isVisible()) {
|
||||||
|
oc.setPorcMultaResolAgerba(txtMultaResolAgerba.getValueDecimal());
|
||||||
|
}
|
||||||
oc.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
oc.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||||
oc.setFecmodif(Calendar.getInstance().getTime());
|
oc.setFecmodif(Calendar.getInstance().getTime());
|
||||||
oc.setTiempolimite(new Integer(txtTiempoLimite.getValue()));
|
oc.setTiempolimite(new Integer(txtTiempoLimite.getValue()));
|
||||||
|
|
|
@ -549,6 +549,11 @@ public class EditarConexionController extends MyGenericForwardComposer {
|
||||||
private void verConfiguracaoConexao() throws InterruptedException {
|
private void verConfiguracaoConexao() throws InterruptedException {
|
||||||
Map args = new HashMap();
|
Map args = new HashMap();
|
||||||
Conexion conexion = (Conexion) conexionesEditarList.getSelected();
|
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("conexion", conexion);
|
||||||
args.put("conexionConfHash", conexionesConfHash);
|
args.put("conexionConfHash", conexionesConfHash);
|
||||||
|
|
Loading…
Reference in New Issue