Commit a311082a6b10f50fcab23ca24c4a71357795c7d3

Authored by joyfas.silva
1 parent 9b881ce2
Exists in master

analise

citgrp-patrimonio-web/src/main/resources/reports/BemPatrimonialAnaliticoUAeEndereco.jrxml
1 1 <?xml version="1.0" encoding="UTF-8"?>
2   -<!-- Created with Jaspersoft Studio version 6.2.2.final using JasperReports Library version 6.2.2 -->
3   -<!-- 2016-05-12T15:33:42 -->
4 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="BemPatrimonialAnaliticoUAeEndereco" language="groovy" pageWidth="555" pageHeight="802" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="9fdf75fd-580c-4f39-b59f-a80b7105f175">
5 3 <property name="ireport.zoom" value="1.8150000000000004"/>
6 4 <property name="ireport.x" value="0"/>
... ... @@ -541,10 +539,8 @@ WHERE $X{IN,bp.id,IDS_BEM_PATRIMONIAL}]]&gt;
541 539 </textElement>
542 540 <textFieldExpression><![CDATA[$F{contacontabil}]]></textFieldExpression>
543 541 </textField>
544   - <textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
545   - <reportElement stretchType="RelativeToTallestObject" x="283" y="0" width="59" height="15" uuid="1235bb7c-b8b2-44a8-92b0-156d7bca75f9">
546   - <printWhenExpression><![CDATA[$F{dataInicialGarantia} != null && $F{dataFinalGarantia} != null]]></printWhenExpression>
547   - </reportElement>
  542 + <textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="false">
  543 + <reportElement style="table" stretchType="RelativeToTallestObject" x="283" y="0" width="59" height="15" uuid="1235bb7c-b8b2-44a8-92b0-156d7bca75f9"/>
548 544 <box>
549 545 <topPen lineWidth="0.5"/>
550 546 <leftPen lineWidth="0.5"/>
... ... @@ -554,7 +550,7 @@ WHERE $X{IN,bp.id,IDS_BEM_PATRIMONIAL}]]&gt;
554 550 <textElement textAlignment="Center" verticalAlignment="Middle">
555 551 <font size="6"/>
556 552 </textElement>
557   - <textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataInicialGarantia})+"\nà\n"+new SimpleDateFormat("dd/MM/yyyy").format($F{dataFinalGarantia})]]></textFieldExpression>
  553 + <textFieldExpression><![CDATA[$F{dataInicialGarantia} != null && $F{dataFinalGarantia} != null ? new SimpleDateFormat("dd/MM/yyyy").format($F{dataInicialGarantia})+"\nà\n"+new SimpleDateFormat("dd/MM/yyyy").format($F{dataFinalGarantia}) : ""]]></textFieldExpression>
558 554 </textField>
559 555 </band>
560 556 </detail>
... ...