Merge pull request 'fixes bug#AL-2543' (!162) from AL-2543 into master

Reviewed-on: http://18.235.188.113:3000/adm/VentaBoletosAdm/pulls/162
Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>
master 1.5.10
pinheiro 2023-05-23 13:36:26 +00:00
commit 1701473467
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";