fixes bug#AL-2679
parent
5fd25b5e87
commit
fc0c9a6481
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ventaboletosadm</artifactId>
|
||||
<version>1.5.3</version>
|
||||
<version>1.5.4</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<properties>
|
||||
|
|
|
@ -205,8 +205,8 @@ public class RelatorioPassagensAGR extends Relatorio {
|
|||
|
||||
public static String capitalizeWords(String input) {
|
||||
StringBuilder output = new StringBuilder();
|
||||
boolean newWord = true;
|
||||
if(input != null || !input.isEmpty()) {
|
||||
boolean newWord = input == null || input.isEmpty() ? false : true;
|
||||
if(newWord) {
|
||||
for (int i = 0; i < input.length(); i++) {
|
||||
char c = input.charAt(i);
|
||||
|
||||
|
|
Binary file not shown.
|
@ -24,7 +24,7 @@
|
|||
<field name="razaoSocial" class="java.lang.String"/>
|
||||
<field name="cnpj" class="java.lang.String"/>
|
||||
<field name="numeroPassaporte" class="java.lang.String"/>
|
||||
<field name="tipoDescontoBenefício" class="java.lang.String"/>
|
||||
<field name="tipoDescontoBeneficio" class="java.lang.String"/>
|
||||
<field name="nomePassageiro" class="java.lang.String"/>
|
||||
<field name="numeroIdentidade" class="java.lang.String"/>
|
||||
<field name="orgaoExpedidor" class="java.lang.String"/>
|
||||
|
@ -382,7 +382,7 @@
|
|||
<bottomPen lineWidth="0.75"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textFieldExpression><![CDATA[$F{tipoDescontoBenefício}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{tipoDescontoBeneficio}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="ba84d11d-f63a-4fa5-9ac2-46488f040cdd" stretchType="RelativeToTallestObject" x="528" y="2" width="82" height="17" isPrintWhenDetailOverflows="true"/>
|
||||
|
|
Loading…
Reference in New Issue