eduardo.dicarde 2016-07-29 19:06:29 +00:00
parent 9c5b46589f
commit ad0f0f5df7
2 changed files with 82 additions and 3 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<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="RelatorioReceitaServico" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c092ef85-9334-4225-93d7-1acb7cf4d021">
<property name="ireport.zoom" value="1.2100000000000002"/>
<property name="ireport.x" value="305"/>
<property name="ireport.y" value="0"/>
<property name="ireport.x" value="594"/>
<property name="ireport.y" value="146"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="pageHeader"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.1" value="columnHeader"/>
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
@ -45,6 +45,22 @@
<variable name="bilhete_COUNT" class="java.lang.Integer" resetType="Group" resetGroup="data" calculation="Count">
<variableExpression><![CDATA[$F{nrBilhete}]]></variableExpression>
</variable>
<variable name="TOTAL_BILHETES_GERAL" class="java.lang.Integer" incrementType="Group" incrementGroup="data" calculation="Sum">
<variableExpression><![CDATA[$V{bilhete_COUNT}]]></variableExpression>
<initialValueExpression><![CDATA[]]></initialValueExpression>
</variable>
<variable name="TOTAL_TARIFA_GERAL" class="java.math.BigDecimal" incrementType="Group" incrementGroup="data" calculation="Sum">
<variableExpression><![CDATA[$V{TOTAL_TARIFA}]]></variableExpression>
</variable>
<variable name="TOTAL_TUT_GERAL" class="java.math.BigDecimal" incrementType="Group" incrementGroup="data" calculation="Sum">
<variableExpression><![CDATA[$V{TOTAL_TUT}]]></variableExpression>
</variable>
<variable name="TOTAL_PEDAGIO_GERAL" class="java.math.BigDecimal" incrementType="Group" incrementGroup="data" calculation="Sum">
<variableExpression><![CDATA[$V{TOTAL_PEDAGIO}]]></variableExpression>
</variable>
<variable name="TOTAL_RECEITA_GERAL" class="java.math.BigDecimal" incrementType="Group" incrementGroup="data" calculation="Sum">
<variableExpression><![CDATA[$V{totalizador}]]></variableExpression>
</variable>
<group name="serviço">
<groupExpression><![CDATA[$F{servico}]]></groupExpression>
<groupHeader>
@ -529,7 +545,70 @@
</band>
</detail>
<summary>
<band height="9" splitType="Stretch"/>
<band height="120" splitType="Stretch">
<staticText>
<reportElement uuid="8f64fd0a-a820-4ad6-8fc8-cb6d4f8e9831" x="554" y="0" width="124" height="20"/>
<textElement textAlignment="Right">
<font size="8" isItalic="false"/>
</textElement>
<text><![CDATA[Total Geral de Bilhetes]]></text>
</staticText>
<textField>
<reportElement uuid="8a69655a-eb1d-49c5-a60c-53937aaebb2c" x="691" y="0" width="100" height="20"/>
<textElement textAlignment="Right">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$V{TOTAL_BILHETES_GERAL}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="0aef2b55-b118-49ae-a985-9e63b8f88846" x="554" y="20" width="124" height="20"/>
<textElement textAlignment="Right">
<font size="8"/>
</textElement>
<text><![CDATA[Total Geral de Tarifa]]></text>
</staticText>
<textField pattern="¤ #,##0.00">
<reportElement uuid="62a9518d-a78e-4297-b60b-4de5cdc1d09a" x="691" y="20" width="100" height="20"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{TOTAL_TARIFA_GERAL}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="05f69c98-eef9-42c5-8fc4-fe4ceb48801b" x="554" y="40" width="124" height="20"/>
<textElement textAlignment="Right">
<font size="8"/>
</textElement>
<text><![CDATA[Total Geral Tut]]></text>
</staticText>
<textField pattern="¤ #,##0.00">
<reportElement uuid="253c19bb-bca6-42a2-8652-8e26d5633c95" x="691" y="40" width="100" height="20"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{TOTAL_TUT_GERAL}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="626ece14-90f0-4834-9d8f-d8ef336eed76" x="554" y="60" width="124" height="20"/>
<textElement textAlignment="Right">
<font size="8"/>
</textElement>
<text><![CDATA[Total Geral de Pedágio]]></text>
</staticText>
<textField pattern="¤ #,##0.00">
<reportElement uuid="1e274f19-9010-4ac5-a7e5-829f75f01877" x="691" y="60" width="100" height="20"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{TOTAL_PEDAGIO_GERAL}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="db019bd7-a762-4533-9ca3-e52f98564559" x="554" y="83" width="124" height="20"/>
<textElement textAlignment="Right">
<font size="8"/>
</textElement>
<text><![CDATA[Total Geral de Receita]]></text>
</staticText>
<textField pattern="¤ #,##0.00">
<reportElement uuid="78e39f13-6d54-4e51-b318-6b60e992c002" x="691" y="83" width="100" height="20"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{TOTAL_RECEITA_GERAL}]]></textFieldExpression>
</textField>
</band>
</summary>
<noData>
<band height="50">