Commit 2a59aefb authored by Ruanito Santos's avatar Ruanito Santos

PROINFODATA-report: Change image to active

Signed-off-by: default avatarRuanito Santos <rds11@c3sl.ufpr.br>
parent a511643b
......@@ -13,7 +13,7 @@
<defaultValueExpression><![CDATA[CURITIBA]]></defaultValueExpression>
</parameter>
<queryString>
<![CDATA[SELECT * FROM availability_report('projector', $P{REGIAO}, $P{ESTADO}, $P{CIDADE});]]>
<![CDATA[SELECT * FROM availability_report('projector', $P{REGIAO}, $P{ESTADO}, $P{CIDADE})]]>
</queryString>
<field name="load_date" class="java.lang.String"/>
<field name="machine" class="java.lang.Object"/>
......@@ -139,15 +139,15 @@
</staticText>
<image>
<reportElement uuid="4a2ceac0-d05f-4f28-a5eb-203d381cbbb2" x="332" y="63" width="16" height="14"/>
<imageExpression><![CDATA["/home/ruanito/unstable/portal/image/active.png"]]></imageExpression>
<imageExpression><![CDATA["/home/ruanito/unstable/portal/image/verde.png"]]></imageExpression>
</image>
<image>
<reportElement uuid="4a2ceac0-d05f-4f28-a5eb-203d381cbbb2" x="332" y="78" width="16" height="14"/>
<imageExpression><![CDATA["/home/ruanito/unstable/portal/image/inative_low.png"]]></imageExpression>
<imageExpression><![CDATA["/home/ruanito/unstable/portal/image/amarelo.png"]]></imageExpression>
</image>
<image>
<reportElement uuid="4a2ceac0-d05f-4f28-a5eb-203d381cbbb2" x="332" y="93" width="16" height="14"/>
<imageExpression><![CDATA["/home/ruanito/unstable/portal/image/inative_high.png"]]></imageExpression>
<imageExpression><![CDATA["/home/ruanito/unstable/portal/image/vermelho.png"]]></imageExpression>
</image>
</band>
</title>
......@@ -186,16 +186,22 @@
<detail>
<band height="16">
<image>
<reportElement uuid="4a2ceac0-d05f-4f28-a5eb-203d381cbbb2" x="171" y="0" width="16" height="14">
<printWhenExpression><![CDATA[$F{yellow}.booleanValue()]]></printWhenExpression>
<reportElement uuid="4a2ceac0-d05f-4f28-a5eb-203d381cbbb2" x="171" y="2" width="16" height="14">
<printWhenExpression><![CDATA[$F{red}.booleanValue()]]></printWhenExpression>
</reportElement>
<imageExpression><![CDATA["/home/ruanito/unstable/portal/image/inative_low.png"]]></imageExpression>
<imageExpression><![CDATA["/home/ruanito/unstable/portal/image/vermelho.png"]]></imageExpression>
</image>
<image>
<reportElement uuid="4a2ceac0-d05f-4f28-a5eb-203d381cbbb2" x="171" y="2" width="16" height="14">
<printWhenExpression><![CDATA[$F{red}.booleanValue()]]></printWhenExpression>
<reportElement uuid="4a2ceac0-d05f-4f28-a5eb-203d381cbbb2" x="171" y="1" width="16" height="14">
<printWhenExpression><![CDATA[$F{green}.booleanValue()]]></printWhenExpression>
</reportElement>
<imageExpression><![CDATA["/home/ruanito/unstable/portal/image/verde.png"]]></imageExpression>
</image>
<image>
<reportElement uuid="4a2ceac0-d05f-4f28-a5eb-203d381cbbb2" x="171" y="0" width="16" height="14">
<printWhenExpression><![CDATA[$F{yellow}.booleanValue()]]></printWhenExpression>
</reportElement>
<imageExpression><![CDATA["/home/ruanito/unstable/portal/image/inative_high.png"]]></imageExpression>
<imageExpression><![CDATA["/home/ruanito/unstable/portal/image/amarelo.png"]]></imageExpression>
</image>
<textField>
<reportElement uuid="83a61e39-c048-4a22-8cdb-2e85bbe11664" x="0" y="0" width="100" height="16"/>
......@@ -226,12 +232,6 @@
</textElement>
<textFieldExpression><![CDATA[$F{last_contact}]]></textFieldExpression>
</textField>
<image>
<reportElement uuid="4a2ceac0-d05f-4f28-a5eb-203d381cbbb2" x="171" y="1" width="16" height="14">
<printWhenExpression><![CDATA[$F{green}.booleanValue()]]></printWhenExpression>
</reportElement>
<imageExpression><![CDATA["/home/ruanito/unstable/portal/image/active.png"]]></imageExpression>
</image>
</band>
</detail>
</jasperReport>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment