fixes bug#19272
dev: qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@102448 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
b558f5986a
commit
c0d1e9715d
|
@ -42,7 +42,7 @@ public class RelatorioAproveitamentoFinanceiro extends Relatorio {
|
|||
sql.append(" count(DISTINCT to_char( c.FECHORVENTA, 'WW')) as qtde, ");
|
||||
sql.append(" r.indsentidoida as sentido, ");
|
||||
sql.append(" da.cantasientos as assentos, ");
|
||||
sql.append(" TO_CHAR(c.fechorviaje ,'HH24:mi') as horario, ");
|
||||
sql.append(" TO_CHAR(co.fechorsalidaoriginal ,'HH24:mi') as horario, ");
|
||||
sql.append(" c.CORRIDA_ID as servico, ");
|
||||
sql.append(" max(c.preciobase) as tarifa ");
|
||||
sql.append(" FROM CAJA c ");
|
||||
|
@ -72,13 +72,13 @@ public class RelatorioAproveitamentoFinanceiro extends Relatorio {
|
|||
sql.append(" and c.MOTIVOCANCELACION_ID is null ");
|
||||
sql.append(" and c.INDSTATUSBOLETO = 'V' ");
|
||||
sql.append(" GROUP by r.DESCRUTA, r.indsentidoida, da.cantasientos, ");
|
||||
sql.append(" to_char( c.FECHORVENTA, 'DY'), TO_CHAR(c.fechorviaje ,'HH24:mi'), ");
|
||||
sql.append(" to_char( c.FECHORVENTA, 'DY'), TO_CHAR(co.fechorsalidaoriginal ,'HH24:mi'), ");
|
||||
sql.append(" c.CORRIDA_ID ");
|
||||
sql.append(" ORDER by r.DESCRUTA, r.indsentidoida desc, to_char( c.FECHORVENTA, 'DY') ");
|
||||
sql.append(" ) ");
|
||||
sql.append("PIVOT ");
|
||||
sql.append("( ");
|
||||
sql.append(" max(valor) receita_ope, ");
|
||||
sql.append(" max(valor) receita_ope, ");
|
||||
sql.append(" count(qtde) qtde, ");
|
||||
sql.append(" max(passageiros) tot ");
|
||||
sql.append(" for dia in ('SEG', 'TER', 'QUA', 'QUI', 'SEX', 'SAB', 'DOM') ");
|
||||
|
@ -167,37 +167,37 @@ public class RelatorioAproveitamentoFinanceiro extends Relatorio {
|
|||
dataResult.put("SEG_RECEITA_OPE", segReceitaOpe);
|
||||
dataResult.put("SEG_QTDE", segQtde);
|
||||
dataResult.put("SEG_TOT", segTot);
|
||||
dataResult.put("SEG_FIN", calculaMedia(totReceita, segReceitaOpe, viagens));
|
||||
dataResult.put("SEG_FIN", calculaMedia(segReceitaOpe, tarifa, segQtde, segTot));
|
||||
|
||||
dataResult.put("TER_RECEITA_OPE", terReceitaOpe);
|
||||
dataResult.put("TER_QTDE", terQtde);
|
||||
dataResult.put("TER_TOT", terTot);
|
||||
dataResult.put("TER_FIN", calculaMedia(totReceita, terReceitaOpe, viagens));
|
||||
dataResult.put("TER_FIN", calculaMedia(terReceitaOpe, tarifa, terQtde, terTot));
|
||||
|
||||
dataResult.put("QUA_RECEITA_OPE", quaReceitaOpe);
|
||||
dataResult.put("QUA_QTDE", quaQtde);
|
||||
dataResult.put("QUA_TOT", quaTot);
|
||||
dataResult.put("QUA_FIN", calculaMedia(totReceita, quaReceitaOpe, viagens));
|
||||
dataResult.put("QUA_FIN", calculaMedia(quaReceitaOpe, tarifa, quaQtde, quaTot));
|
||||
|
||||
dataResult.put("QUI_RECEITA_OPE", quiReceitaOpe);
|
||||
dataResult.put("QUI_QTDE", quiQtde);
|
||||
dataResult.put("QUI_TOT", quiTot);
|
||||
dataResult.put("QUI_FIN", calculaMedia(totReceita, quiReceitaOpe, viagens));
|
||||
dataResult.put("QUI_FIN", calculaMedia(quiReceitaOpe, tarifa, quiQtde, quiTot));
|
||||
|
||||
dataResult.put("SEX_RECEITA_OPE", sexReceitaOpe);
|
||||
dataResult.put("SEX_QTDE", sexQtde);
|
||||
dataResult.put("SEX_TOT", sexTot);
|
||||
dataResult.put("SEX_FIN", calculaMedia( totReceita, sexReceitaOpe, viagens));
|
||||
dataResult.put("SEX_FIN", calculaMedia(sexReceitaOpe, tarifa, sexQtde, sexTot));
|
||||
|
||||
dataResult.put("SAB_RECEITA_OPE", sabReceitaOpe);
|
||||
dataResult.put("SAB_QTDE", sabQtde);
|
||||
dataResult.put("SAB_TOT", sabTot);
|
||||
dataResult.put("SAB_FIN", calculaMedia(totReceita, sabReceitaOpe, viagens));
|
||||
dataResult.put("SAB_FIN", calculaMedia(sabReceitaOpe, tarifa, sabQtde, sabTot));
|
||||
|
||||
dataResult.put("DOM_RECEITA_OPE", domReceitaOpe);
|
||||
dataResult.put("DOM_QTDE", domQtde);
|
||||
dataResult.put("DOM_TOT", domTot);
|
||||
dataResult.put("DOM_FIN", calculaMedia(totReceita, domReceitaOpe, domQtde));
|
||||
dataResult.put("DOM_FIN", calculaMedia(domReceitaOpe, tarifa, domQtde, domTot));
|
||||
|
||||
this.dados.add(dataResult);
|
||||
}
|
||||
|
@ -220,9 +220,10 @@ public class RelatorioAproveitamentoFinanceiro extends Relatorio {
|
|||
}
|
||||
}
|
||||
|
||||
private BigDecimal calculaMedia(BigDecimal totReceita, BigDecimal receitaOpe, BigDecimal qtde) {
|
||||
if( qtde.intValue() != 0 ) {
|
||||
BigDecimal dividendo = receitaOpe.multiply(qtde);
|
||||
private BigDecimal calculaMedia(BigDecimal totReceita, BigDecimal tarifa, BigDecimal qtde, BigDecimal tot) {
|
||||
if( qtde.intValue() != 0 && tot.intValue() !=0 ) {
|
||||
BigDecimal dividendo = tarifa.multiply(qtde);
|
||||
dividendo = dividendo.multiply(tot);
|
||||
|
||||
if(dividendo.intValue() == 0 ) {
|
||||
return BigDecimal.ZERO;
|
||||
|
|
Binary file not shown.
|
@ -2,7 +2,7 @@
|
|||
<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="RelatorioAproveitamentoFinanceiro" pageWidth="873" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="833" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b92fb063-a827-4619-8a69-5c78e3afbb8c">
|
||||
<property name="ireport.zoom" value="1.3636363636363682"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.1" value="pageHeader"/>
|
||||
<property name="ireport.x" value="218"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
|
||||
<style name="table">
|
||||
|
@ -70,22 +70,6 @@
|
|||
<field name="DOM_TOT" class="java.math.BigDecimal"/>
|
||||
<field name="DOM_QTDE" class="java.math.BigDecimal"/>
|
||||
<field name="DOM_FIN" class="java.math.BigDecimal"/>
|
||||
<variable name="finMediaLinha" class="java.math.BigDecimal" resetType="Group" resetGroup="LINHA">
|
||||
<variableExpression><![CDATA[$F{SEG_FIN}.add(
|
||||
$F{TER_FIN}.add(
|
||||
$F{QUA_FIN}.add(
|
||||
$F{QUI_FIN}.add(
|
||||
$F{SEX_FIN}.add(
|
||||
$F{SAB_FIN}.add(
|
||||
$F{DOM_FIN}
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
).divide ( new java.math.BigDecimal("7"), 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
|
||||
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||
</variable>
|
||||
<variable name="totViagemLinha" class="java.math.BigDecimal" resetType="Group" resetGroup="LINHA" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{VIAGENS}]]></variableExpression>
|
||||
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||
|
@ -432,20 +416,26 @@
|
|||
)]]></variableExpression>
|
||||
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||
</variable>
|
||||
<variable name="finMediaLinha" class="java.math.BigDecimal" resetType="Group" resetGroup="LINHA">
|
||||
<variableExpression><![CDATA[$F{TOT_RECEITA}.divide (
|
||||
$F{TARIFA}.multiply(
|
||||
$F{VIAGENS}.multiply(
|
||||
$F{ASSENTOS}
|
||||
)
|
||||
)
|
||||
, 2, BigDecimal.ROUND_HALF_UP )
|
||||
.multiply( new BigDecimal("100") )]]></variableExpression>
|
||||
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||
</variable>
|
||||
<variable name="finMediaGeral" class="java.math.BigDecimal">
|
||||
<variableExpression><![CDATA[$V{totDomFinGeral}.add(
|
||||
$V{totSegFinGeral}.add(
|
||||
$V{totTerFinGeral}.add(
|
||||
$V{totQuaFinGeral}.add(
|
||||
$V{totQuiFinGeral}.add(
|
||||
$V{totSexFinGeral}.add(
|
||||
$V{totSabFinGeral}
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
).divide ( new java.math.BigDecimal("7"), 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
|
||||
<variableExpression><![CDATA[$F{TOT_RECEITA}.divide (
|
||||
$F{TARIFA}.multiply(
|
||||
$F{VIAGENS}.multiply(
|
||||
$F{ASSENTOS}
|
||||
)
|
||||
)
|
||||
, 2, BigDecimal.ROUND_HALF_UP )
|
||||
.multiply( new BigDecimal("100") )]]></variableExpression>
|
||||
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||
</variable>
|
||||
<group name="LINHA">
|
||||
|
@ -500,7 +490,8 @@
|
|||
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" mode="Transparent" x="794" y="0" width="38" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="3389b306-a4a8-465a-a227-8f9ece4baa3c"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.25"/>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
|
@ -513,7 +504,7 @@
|
|||
<groupFooter>
|
||||
<band height="14">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="148" height="14" isPrintWhenDetailOverflows="true" uuid="34d279b6-79af-4c20-9bc6-f0a191fc0737"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="135" height="14" isPrintWhenDetailOverflows="true" uuid="34d279b6-79af-4c20-9bc6-f0a191fc0737"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<bottomPen lineWidth="0.0"/>
|
||||
|
@ -529,13 +520,13 @@
|
|||
<textFieldExpression><![CDATA[$V{totPassageiroLinha}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="148" y="0" width="38" height="14" isPrintWhenDetailOverflows="true" uuid="565d6757-182d-4a00-995f-0d08806071d1"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="135" y="0" width="40" height="14" isPrintWhenDetailOverflows="true" uuid="565d6757-182d-4a00-995f-0d08806071d1"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textFieldExpression><![CDATA[$V{totViagemLinha}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="186" y="0" width="38" height="14" isPrintWhenDetailOverflows="true" uuid="26ec2582-3d17-4af1-bd20-a5b9cac5becb"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="175" y="0" width="49" height="14" isPrintWhenDetailOverflows="true" uuid="26ec2582-3d17-4af1-bd20-a5b9cac5becb"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{totReceitaLinha}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||
|
@ -557,7 +548,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -570,7 +561,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -595,7 +586,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -620,7 +611,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -645,7 +636,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -658,7 +649,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -696,7 +687,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -780,7 +771,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="718" y="-1" width="114" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="91cded42-c53d-469a-abc7-6eb0d59f69af"/>
|
||||
<reportElement mode="Transparent" x="718" y="-1" width="115" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="91cded42-c53d-469a-abc7-6eb0d59f69af"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -796,7 +787,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="804" y="13" width="28" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="985f839c-258a-47eb-b72b-bec819b7bdbb"/>
|
||||
<reportElement mode="Transparent" x="804" y="13" width="29" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="985f839c-258a-47eb-b72b-bec819b7bdbb"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -827,7 +818,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement x="58" y="39" width="774" height="14" uuid="c486add3-94d7-419f-9f37-04f6a6da879e"/>
|
||||
<reportElement x="45" y="40" width="788" height="14" uuid="c486add3-94d7-419f-9f37-04f6a6da879e"/>
|
||||
<box>
|
||||
<topPen lineWidth="1.25"/>
|
||||
<bottomPen lineWidth="1.25"/>
|
||||
|
@ -842,7 +833,7 @@
|
|||
<columnHeader>
|
||||
<band height="28" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="110" y="14" width="38" height="14" isPrintWhenDetailOverflows="true" uuid="dddf51af-453b-4840-b6cf-7c9a612e9d1f"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="97" y="14" width="38" height="14" isPrintWhenDetailOverflows="true" uuid="dddf51af-453b-4840-b6cf-7c9a612e9d1f"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<bottomPen lineWidth="0.0"/>
|
||||
|
@ -860,7 +851,7 @@
|
|||
<textFieldExpression><![CDATA["Serv."]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="186" y="0" width="38" height="28" isPrintWhenDetailOverflows="true" uuid="55197ae8-5dab-4548-a3b8-3adfb5beb93a"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="175" y="0" width="49" height="28" isPrintWhenDetailOverflows="true" uuid="55197ae8-5dab-4548-a3b8-3adfb5beb93a"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<bottomPen lineWidth="0.0"/>
|
||||
|
@ -883,7 +874,7 @@
|
|||
<textFieldExpression><![CDATA["Total Passag."]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="60" y="14" width="50" height="14" isPrintWhenDetailOverflows="true" uuid="bdb8c19b-67d9-4175-9d87-62d468c535b8"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="60" y="14" width="37" height="14" isPrintWhenDetailOverflows="true" uuid="bdb8c19b-67d9-4175-9d87-62d468c535b8"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<bottomPen lineWidth="0.0"/>
|
||||
|
@ -907,7 +898,7 @@
|
|||
<textFieldExpression><![CDATA["Qte"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="148" y="0" width="38" height="28" isPrintWhenDetailOverflows="true" uuid="53544418-723e-4443-941d-c9be7bd13270"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="135" y="0" width="40" height="28" isPrintWhenDetailOverflows="true" uuid="53544418-723e-4443-941d-c9be7bd13270"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<bottomPen lineWidth="0.0"/>
|
||||
|
@ -1190,12 +1181,12 @@
|
|||
<detail>
|
||||
<band height="14" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="110" y="0" width="38" height="14" uuid="01ee8c0d-6a68-45ea-a4e1-165a48cc89d4"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="97" y="0" width="38" height="14" uuid="01ee8c0d-6a68-45ea-a4e1-165a48cc89d4"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{SENTIDO}.equals( "1" )? "IDA":"VOLTA"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="60" y="0" width="50" height="14" uuid="bd0e80c0-a92f-42d5-9682-a732566ee26c"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="60" y="0" width="37" height="14" uuid="bd0e80c0-a92f-42d5-9682-a732566ee26c"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{HORARIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
|
@ -1205,13 +1196,13 @@
|
|||
<textFieldExpression><![CDATA[$F{SERVICO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="148" y="0" width="38" height="14" isPrintWhenDetailOverflows="true" uuid="90243b17-4a71-4c9e-81f3-d504a525c57d"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="135" y="0" width="40" height="14" isPrintWhenDetailOverflows="true" uuid="90243b17-4a71-4c9e-81f3-d504a525c57d"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textFieldExpression><![CDATA[$F{VIAGENS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="186" y="0" width="38" height="14" isPrintWhenDetailOverflows="true" uuid="ce4b0ff8-ceab-486d-a0bc-aef7a57c654d"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="175" y="0" width="49" height="14" isPrintWhenDetailOverflows="true" uuid="ce4b0ff8-ceab-486d-a0bc-aef7a57c654d"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{TOT_RECEITA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
|
@ -1239,7 +1230,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1264,7 +1255,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1289,7 +1280,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1314,7 +1305,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1339,7 +1330,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1364,7 +1355,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1389,7 +1380,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1413,7 +1404,7 @@
|
|||
<lastPageFooter>
|
||||
<band height="14">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="148" y="0" width="38" height="14" isPrintWhenDetailOverflows="true" uuid="cd7baa86-5ff3-4466-b8f0-2cc06b246a4b"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="135" y="0" width="40" height="14" isPrintWhenDetailOverflows="true" uuid="cd7baa86-5ff3-4466-b8f0-2cc06b246a4b"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textFieldExpression><![CDATA[$V{totViagemGeral}]]></textFieldExpression>
|
||||
</textField>
|
||||
|
@ -1436,7 +1427,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1449,7 +1440,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1486,7 +1477,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1499,7 +1490,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1512,7 +1503,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1549,7 +1540,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1575,7 +1566,7 @@
|
|||
<bottomPen lineWidth="0.0"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
|
@ -1594,7 +1585,7 @@
|
|||
<textFieldExpression><![CDATA[$V{totQuaQtdeGeral}+"/"+$V{totQuaTotGeral}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="148" height="14" isPrintWhenDetailOverflows="true" uuid="4690724a-a936-402d-914c-c721ea01bdf6"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="135" height="14" isPrintWhenDetailOverflows="true" uuid="4690724a-a936-402d-914c-c721ea01bdf6"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.0"/>
|
||||
<bottomPen lineWidth="0.0"/>
|
||||
|
@ -1609,9 +1600,9 @@
|
|||
<textElement textAlignment="Center"/>
|
||||
<textFieldExpression><![CDATA[$V{totPassageiroGeral}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="186" y="0" width="38" height="14" isPrintWhenDetailOverflows="true" uuid="33bf35d0-1ff8-40ad-a6d5-0808e3be0790"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="175" y="0" width="49" height="14" isPrintWhenDetailOverflows="true" uuid="33bf35d0-1ff8-40ad-a6d5-0808e3be0790"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{totReceitaGeral}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||
|
@ -1632,7 +1623,7 @@
|
|||
<noData>
|
||||
<band height="50">
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="0" y="0" width="832" height="50" forecolor="#000000" backcolor="#FFFFFF" uuid="1e73e418-0097-4cff-8fab-cd0fd8b86543"/>
|
||||
<reportElement mode="Transparent" x="0" y="0" width="833" height="50" forecolor="#000000" backcolor="#FFFFFF" uuid="1e73e418-0097-4cff-8fab-cd0fd8b86543"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
|
Loading…
Reference in New Issue