Fixes bug #10730
dev: @Wilian
qua: @Fabim


git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@79901 d1611594-4594-4d17-8e1d-87c2c4800839
master
fabio 2018-03-14 13:57:56 +00:00
parent 1e84a08aef
commit aaa2f2bd55
2 changed files with 9 additions and 9 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="RelatorioLinhasHorario" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="ae2cbb01-bc79-4d18-8206-3b59273fe793">
<property name="ireport.zoom" value="2.0"/>
<property name="ireport.x" value="701"/>
<property name="ireport.y" value="122"/>
<property name="ireport.x" value="1022"/>
<property name="ireport.y" value="149"/>
<parameter name="NOMBEMPRESA" class="java.lang.String"/>
<parameter name="DATA_INICIO" class="java.sql.Timestamp">
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
@ -129,8 +129,8 @@
<variable name="media_rsViagem_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta" calculation="Sum">
<variableExpression><![CDATA[$F{rsViagem}]]></variableExpression>
</variable>
<variable name="media_rsKm_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta" calculation="Average">
<variableExpression><![CDATA[$F{rsKm}]]></variableExpression>
<variable name="media_rsKm_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta">
<variableExpression><![CDATA[$P{TOTAL_PASSAGENS}.divide( $P{TOTAL_KM_RODADO}, 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
</variable>
<variable name="media_mpa_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta">
<variableExpression><![CDATA[$V{mpa_group}]]></variableExpression>
@ -198,8 +198,8 @@
<variable name="linha_media_rsViagem_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupTipoLinha" calculation="Sum">
<variableExpression><![CDATA[$F{rsViagem}]]></variableExpression>
</variable>
<variable name="linha_media_rsKm_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupTipoLinha" calculation="Average">
<variableExpression><![CDATA[$F{rsKm}]]></variableExpression>
<variable name="linha_media_rsKm_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupTipoLinha">
<variableExpression><![CDATA[$P{TOTAL_PASSAGENS}.divide( $P{TOTAL_KM_RODADO}, 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
</variable>
<variable name="linha_media_mpa_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupTipoLinha" calculation="Sum">
<variableExpression><![CDATA[$F{mpa}]]></variableExpression>
@ -210,8 +210,8 @@
<variable name="linha_pedagio_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupTipoLinha" incrementType="Group" incrementGroup="groupRuta" calculation="Sum">
<variableExpression><![CDATA[$V{pedagio_group}]]></variableExpression>
</variable>
<variable name="TOTAL_RSKM" class="java.math.BigDecimal" calculation="Average">
<variableExpression><![CDATA[$F{rsKm}]]></variableExpression>
<variable name="TOTAL_RSKM" class="java.math.BigDecimal">
<variableExpression><![CDATA[$P{TOTAL_PASSAGENS}.divide( $P{TOTAL_KM_RODADO}, 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
</variable>
<variable name="TOTAL_IAP" class="java.math.BigDecimal" calculation="Average">
<variableExpression><![CDATA[$F{iap}]]></variableExpression>
@ -1192,7 +1192,7 @@
</textElement>
<textFieldExpression><![CDATA[$V{TOTAL_MPE}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
<textField isStretchWithOverflow="true" pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
<reportElement uuid="c89eabd5-2f70-4834-a49a-a44efa77b8c8" positionType="Float" x="592" y="0" width="29" height="10"/>
<textElement textAlignment="Right">
<font size="6" isStrikeThrough="false"/>