P45 - Opção de bloqueio de ponto de venda (bug #5758)

Tempo: 01 hora

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@39196 d1611594-4594-4d17-8e1d-87c2c4800839
master
julio 2014-11-05 12:38:37 +00:00
parent cb08b15640
commit 4ab71774d1
1 changed files with 1 additions and 8 deletions

View File

@ -27,7 +27,6 @@ import com.rjconsultores.ventaboletos.exception.BusinessException;
import com.rjconsultores.ventaboletos.service.ConfRestricaoCanalVentaService;
import com.rjconsultores.ventaboletos.service.ConfRestricaoExcecaoService;
import com.rjconsultores.ventaboletos.service.ConfRestricaoPtovtaService;
import com.rjconsultores.ventaboletos.service.PuntoVentaService;
import com.rjconsultores.ventaboletos.service.RutaService;
import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
@ -138,13 +137,7 @@ public class EditarConfRestricaoCanalVentaController extends MyGenericForwardCom
confRestricaoCanalVenta.setTipoPuntoVenta(null);
}
if (confRestricaoCanalVenta.getLsConfRestricaoPtovta().isEmpty()) {
Messagebox.show(
Labels.getLabel("editarConfRestricaoCanalVentaController.MSG.restricaoPtovta"),
Labels.getLabel("editarConfRestricaoCanalVentaController.window.title"),
Messagebox.OK, Messagebox.INFORMATION);
return;
} else {
if (!confRestricaoCanalVenta.getLsConfRestricaoPtovta().isEmpty()) {
for (ConfRestricaoPtovta cre : confRestricaoCanalVenta.getLsConfRestricaoPtovta()) {
cre.setConfRestricaoCanalVenta(confRestricaoCanalVenta);
}