diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/catalogos/EditarPuntoVentaController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/catalogos/EditarPuntoVentaController.java index e8ebae70f..f558cd560 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/catalogos/EditarPuntoVentaController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/catalogos/EditarPuntoVentaController.java @@ -99,7 +99,6 @@ import com.rjconsultores.ventaboletos.service.PuntoVentaService; import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService; import com.rjconsultores.ventaboletos.service.UsuarioBancarioService; import com.rjconsultores.ventaboletos.service.UsuarioService; -import com.rjconsultores.ventaboletos.utilerias.InscricaoEstadualUtil; import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado; import com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales.FechamentoParamptovtaListItemRenderer; import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta; @@ -1005,20 +1004,6 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer { cmbTipoConta.getValue(); cmbPosicao.getValue(); - if (!ckIsento.isChecked() && StringUtils.isNotBlank(puntoVenta.getNumIEPuntoVenta())) { - try { - String uf = puntoVenta.getColonia() == null ? null : puntoVenta.getColonia().getCiudad().getEstado().getCveestado(); - String inscEstadual = puntoVenta.getNumIEPuntoVenta(); - - InscricaoEstadualUtil.valida(inscEstadual, uf); - } catch (Exception e) { - log.error("editarPuntoVentaController: ", e); - Messagebox.show(e.getMessage(), Labels.getLabel("editarPuntoVentaController.window.title"), - Messagebox.OK, Messagebox.ERROR); - return; - } - } - String numagencia = txtNumAg.getValue() + (StringUtils.isBlank(txtDigitoAg.getValue()) ? "" : "-" + txtDigitoAg.getValue()); puntoVenta.getAgenciaId().setNumagencia(numagencia);