fixes bug#AL-2543

dev:Valdir
qua:Valdevir
master
valdevir 2023-05-23 10:12:19 -03:00
parent b26fd49509
commit 9a800383b2
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId> <artifactId>ventaboletosadm</artifactId>
<version>1.5.9</version> <version>1.5.10</version>
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>

View File

@ -24,7 +24,7 @@ public class RenderPricingRuta implements ListitemRenderer {
Listcell lc = new Listcell(); Listcell lc = new Listcell();
if (pc.getRuta() != null && pc.getRuta().getRutaId() != null) { if (pc.getRuta() != null && pc.getRuta().getRutaId() != null && Boolean.TRUE.equals(pc.getRuta().getActivo())) {
String descLinha = ""; String descLinha = "";
if (pc.getRuta().getRutaId() != -1) { if (pc.getRuta().getRutaId() != -1) {
String sentido = pc.getRuta().getIndSentidoIda() == null || Boolean.TRUE.equals(pc.getRuta().getIndSentidoIda()) ? "IDA" : "VOLTA"; String sentido = pc.getRuta().getIndSentidoIda() == null || Boolean.TRUE.equals(pc.getRuta().getIndSentidoIda()) ? "IDA" : "VOLTA";