Commit 19f3d9778ed0453a61407eab94dd0f444974c8dd

Authored by erick.sato
1 parent 0ef7aca7
Exists in master

[Redmine Atendimento #4206]Jasper consula termo

cit-contratos-web/src/main/resources/reports/consultaTermo.jrxml
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="consultaTermo" pageWidth="554" pageHeight="802" orientation="Landscape" whenNoDataType="AllSectionsNoDetail" columnWidth="554" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="2a9bde7e-349d-4f0b-b96c-98310606be6f">
3   - <property name="ireport.zoom" value="2.1435888100000042"/>
4   - <property name="ireport.x" value="0"/>
  3 + <property name="ireport.zoom" value="2.3579476910000055"/>
  4 + <property name="ireport.x" value="32"/>
5 5 <property name="ireport.y" value="0"/>
6 6 <style name="table">
7 7 <box>
... ... @@ -201,8 +201,9 @@ ORDER BY EVENTO.DATAEVENTO, EVENTO.ID]]&gt;
201 201 <rightPen lineWidth="1.0"/>
202 202 </box>
203 203 <textElement verticalAlignment="Middle"/>
204   - <textFieldExpression><![CDATA[$F{apostilamento}.substring(0,4) + "/" +
205   -$F{apostilamento}.substring(4,8)]]></textFieldExpression>
  204 + <textFieldExpression><![CDATA[$F{apostilamento}.substring(0, $F{apostilamento}.length() - 4)
  205 +.concat("/")
  206 +.concat($F{apostilamento}.substring($F{apostilamento}.length() - 4))]]></textFieldExpression>
206 207 </textField>
207 208 <textField>
208 209 <reportElement stretchType="RelativeToBandHeight" x="14" y="0" width="121" height="20" uuid="12a30fe8-d78b-4d2a-84ca-1f37b478ba8b">
... ... @@ -216,8 +217,9 @@ $F{apostilamento}.substring(4,8)]]&gt;&lt;/textFieldExpression&gt;
216 217 <rightPen lineWidth="1.0"/>
217 218 </box>
218 219 <textElement verticalAlignment="Middle"/>
219   - <textFieldExpression><![CDATA[$F{aditivo}.substring(0,4) + "/" +
220   -$F{aditivo}.substring(4,8)]]></textFieldExpression>
  220 + <textFieldExpression><![CDATA[$F{aditivo}.substring(0, $F{aditivo}.length() - 4)
  221 +.concat("/")
  222 +.concat($F{aditivo}.substring($F{aditivo}.length() - 4))]]></textFieldExpression>
221 223 </textField>
222 224 <textField>
223 225 <reportElement x="14" y="0" width="121" height="20" uuid="0c5fd3d7-8432-4ef9-a702-bf1d0bf2dd74">
... ... @@ -247,7 +249,9 @@ $F{aditivo}.substring(4,8)]]&gt;&lt;/textFieldExpression&gt;
247 249 <rightPen lineWidth="1.0"/>
248 250 </box>
249 251 <textElement verticalAlignment="Middle"/>
250   - <textFieldExpression><![CDATA[$F{rescisao}]]></textFieldExpression>
  252 + <textFieldExpression><![CDATA[$F{rescisao}.substring(0, $F{rescisao}.length() - 4)
  253 +.concat("/")
  254 +.concat($F{rescisao}.substring($F{rescisao}.length() - 4))]]></textFieldExpression>
251 255 </textField>
252 256 <textField pattern="dd/MM/yyyy">
253 257 <reportElement x="368" y="0" width="176" height="20" uuid="a66fe6cc-dd3a-4b77-8998-5240463081fb"/>
... ...