Bug corrigido (fixes bug #5287)

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@35371 d1611594-4594-4d17-8e1d-87c2c4800839
master
lucas.taia 2014-05-08 18:56:10 +00:00
parent af82435dbe
commit 2e30a68450
1 changed files with 5 additions and 2 deletions

View File

@ -82,6 +82,7 @@ import com.rjconsultores.ventaboletos.service.PuntoVentaService;
import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService;
import com.rjconsultores.ventaboletos.service.UsuarioBancarioService;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta;
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
@ -181,7 +182,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
private Radio radIndestansegopcionalSi;
private Radio radIndestansegopcionalNo;
private Button btnAdicionarEmpresaComissao;
private Combobox cmbPuntoVentaPadre;
private MyComboboxPuntoVenta cmbPuntoVentaPadre;
private Combobox cmbFormaPago;
private Combobox cmbEmpresa;
private Combobox cmbEmpresaPtoVta;
@ -809,6 +810,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
cmbPessoa.getValue();
cmbTipoConta.getValue();
cmbPosicao.getValue();
cmbPuntoVentaPadre.getValue(true);
// checar uma forma onde o proprio componente coloque como null o atributo
if (cmbPuntoVentaPadre.getSelectedItem() == null) {
@ -1062,6 +1064,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
dateAntecipData.getValue();
txtAntecipRetem.getValue();
txtAntecipPercentual.getValue();
try {
PtovtaAntecipacomissao antecipa = new PtovtaAntecipacomissao();