fixes bug#0012677
dev: thiago qua: renato Correção efetuada. Esse mantis tem vínculo com o 12389, que é da Eucatur, onde para este foi criado uma propriedade no custom para atender somente esse cliente. Para os demais continua com default "Sim". git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@87281 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
0a64334ec8
commit
acfb3ee74f
|
@ -37,6 +37,7 @@ import com.rjconsultores.ventaboletos.entidad.TramoServicio;
|
|||
import com.rjconsultores.ventaboletos.entidad.Via;
|
||||
import com.rjconsultores.ventaboletos.service.TramoService;
|
||||
import com.rjconsultores.ventaboletos.service.TramoServicioService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
|
||||
import com.rjconsultores.ventaboletos.utilerias.HoraSistema;
|
||||
import com.rjconsultores.ventaboletos.vo.esquemaoperacional.SecuenciaRutaTramoCoeficienteVO;
|
||||
|
||||
|
@ -266,13 +267,14 @@ public class GridRutaTramoCoeficiente extends Grid implements RowRenderer, Rende
|
|||
listComboVenda.add(comboItemSim.getValue());
|
||||
listComboVenda.add(comboItemNao.getValue());
|
||||
|
||||
if (getId().equalsIgnoreCase("gridrutasecuenciaida")) {
|
||||
if (secuenciaRutaTramoCoeficienteVO.getPermiteVenda() == null) {
|
||||
secuenciaRutaTramoCoeficienteVO.setPermiteVenda(false);
|
||||
}
|
||||
listComboVenda.addSelection(BooleanUtils.isTrue(secuenciaRutaTramoCoeficienteVO.getPermiteVenda())
|
||||
? comboItemSim.getValue() : comboItemNao.getValue());
|
||||
if (secuenciaRutaTramoCoeficienteVO.getPermiteVenda() == null) {
|
||||
secuenciaRutaTramoCoeficienteVO.setPermiteVenda(!ApplicationProperties.getInstance().isGerarTrechoAutomaticoDefaultNao());
|
||||
}
|
||||
|
||||
listComboVenda.addSelection(BooleanUtils.isTrue(secuenciaRutaTramoCoeficienteVO.getPermiteVenda())
|
||||
? comboItemSim.getValue()
|
||||
: comboItemNao.getValue());
|
||||
|
||||
return listComboVenda;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue