wilian 2016-04-06 21:10:28 +00:00
parent d46f3e5e54
commit c533ffe0bf
12 changed files with 244 additions and 108 deletions

View File

@ -1,11 +1,13 @@
package com.rjconsultores.ventaboletos.relatorios.impl; package com.rjconsultores.ventaboletos.relatorios.impl;
import java.math.BigDecimal;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.sql.SQLException; import java.sql.SQLException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@ -16,6 +18,7 @@ import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio; import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.utilerias.DateUtil; import com.rjconsultores.ventaboletos.utilerias.DateUtil;
import com.rjconsultores.ventaboletos.vo.impressaofiscal.ItemRelatorioVoucher; import com.rjconsultores.ventaboletos.vo.impressaofiscal.ItemRelatorioVoucher;
import com.rjconsultores.ventaboletos.vo.impressaofiscal.TotalRelatorioVoucher;
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource; import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
@ -86,6 +89,7 @@ public class RelatorioAnaliticoVoucher extends Relatorio {
ResultSet rset = stmt.executeQuery(); ResultSet rset = stmt.executeQuery();
List<ItemRelatorioVoucher> list = new ArrayList<ItemRelatorioVoucher>(); List<ItemRelatorioVoucher> list = new ArrayList<ItemRelatorioVoucher>();
Map<String, TotalRelatorioVoucher> totais = new HashMap<String, TotalRelatorioVoucher>();
while (rset.next()) { while (rset.next()) {
ItemRelatorioVoucher item = new ItemRelatorioVoucher(); ItemRelatorioVoucher item = new ItemRelatorioVoucher();
@ -102,9 +106,24 @@ public class RelatorioAnaliticoVoucher extends Relatorio {
item.setEmbarque(rset.getBigDecimal("embarque")); item.setEmbarque(rset.getBigDecimal("embarque"));
item.setStatus(rset.getString("status")); item.setStatus(rset.getString("status"));
TotalRelatorioVoucher total = null;
if(totais.containsKey(item.getStatus())) {
total = totais.get(item.getStatus());
} else {
total = new TotalRelatorioVoucher();
}
total.setStatus(item.getStatus());
total.setTarifa(total.getTarifa().add(item.getTarifa().intValue() < 0 ? item.getTarifa().multiply(new BigDecimal(-1)) : item.getTarifa()));
total.setPedagio(total.getPedagio().add(item.getPedagio().intValue() < 0 ? item.getPedagio().multiply(new BigDecimal(-1)) : item.getPedagio()));
total.setEmbarque(total.getEmbarque().add(item.getEmbarque().intValue() < 0 ? item.getEmbarque().multiply(new BigDecimal(-1)) : item.getEmbarque()));
totais.put(item.getStatus(), total);
list.add(item); list.add(item);
} }
parametros.put("totais", totais.values());
if (!getConexao().isClosed()) if (!getConexao().isClosed())
getConexao().close(); getConexao().close();

View File

@ -1,10 +1,18 @@
<?xml version="1.0" encoding="UTF-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="RelatorioAnaliticoVoucher" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="0e8aff42-5ba8-48ac-9950-da8178561888"> <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="RelatorioAnaliticoVoucher" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="0e8aff42-5ba8-48ac-9950-da8178561888">
<property name="ireport.zoom" value="1.0"/> <property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/> <property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/> <property name="ireport.y" value="0"/>
<subDataset name="dataset1" uuid="74edbc6d-4647-4e5a-ab51-73e65607c36e">
<field name="status" class="java.lang.String"/>
<field name="tarifa" class="java.math.BigDecimal"/>
<field name="embarque" class="java.math.BigDecimal"/>
<field name="pedagio" class="java.math.BigDecimal"/>
<field name="total" class="java.math.BigDecimal"/>
</subDataset>
<parameter name="inicio" class="java.util.Date"/> <parameter name="inicio" class="java.util.Date"/>
<parameter name="fim" class="java.util.Date"/> <parameter name="fim" class="java.util.Date"/>
<parameter name="totais" class="java.util.Collection"/>
<field name="dataVendaVoucher" class="java.lang.String"/> <field name="dataVendaVoucher" class="java.lang.String"/>
<field name="dataEmissao" class="java.lang.String"/> <field name="dataEmissao" class="java.lang.String"/>
<field name="empresa" class="java.lang.String"/> <field name="empresa" class="java.lang.String"/>
@ -33,7 +41,7 @@
<text><![CDATA[ANALITICO DE VOUCHERS]]></text> <text><![CDATA[ANALITICO DE VOUCHERS]]></text>
</staticText> </staticText>
<textField pattern="dd/MM/yyyy HH:mm"> <textField pattern="dd/MM/yyyy HH:mm">
<reportElement x="276" y="0" width="279" height="20" uuid="6b4f1375-4f4b-4b80-83b8-7650e62e107e"/> <reportElement x="522" y="0" width="279" height="20" uuid="6b4f1375-4f4b-4b80-83b8-7650e62e107e"/>
<textElement textAlignment="Right" verticalAlignment="Middle"> <textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/> <font isBold="true"/>
</textElement> </textElement>
@ -70,146 +78,146 @@
<textElement verticalAlignment="Middle"/> <textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$P{fim}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{fim}]]></textFieldExpression>
</textField> </textField>
<line>
<reportElement x="0" y="63" width="555" height="1" uuid="481b2107-ee62-4815-8a89-8435d34384c8"/>
</line>
</band> </band>
</title> </title>
<pageHeader> <pageHeader>
<band splitType="Stretch"/> <band splitType="Stretch"/>
</pageHeader> </pageHeader>
<columnHeader> <columnHeader>
<band height="22" splitType="Stretch"> <band height="24" splitType="Stretch">
<staticText> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="0" y="0" width="48" height="20" uuid="50fa60b3-221d-4212-b152-b48b594ed56a"/> <reportElement stretchType="RelativeToTallestObject" x="0" y="2" width="65" height="20" uuid="e6dbc037-913e-4ccc-8c62-2b030b909d33"/>
<textElement> <textElement markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/> <font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement> </textElement>
<text><![CDATA[Data Venda]]></text> <textFieldExpression><![CDATA["Data Venda"]]></textFieldExpression>
</staticText> </textField>
<staticText>
<reportElement x="103" y="0" width="62" height="20" uuid="ee589d02-2cee-4658-b6f9-349848c75f44"/>
<textElement>
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[COO (Nº FISCAL)]]></text>
</staticText>
<staticText>
<reportElement x="165" y="0" width="47" height="20" uuid="4b7ed572-ce95-425f-9c5f-2126e90c47b9"/>
<textElement>
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[Bilhete]]></text>
</staticText>
<staticText>
<reportElement x="212" y="0" width="90" height="20" uuid="32335d78-4824-437e-838c-de0b3751553c"/>
<textElement>
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[Tipo Venda]]></text>
</staticText>
<staticText>
<reportElement x="302" y="0" width="103" height="20" uuid="0bf25756-adb5-4916-a5d4-35f8328416a7"/>
<textElement>
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[Status]]></text>
</staticText>
<staticText>
<reportElement x="405" y="0" width="58" height="20" uuid="e4898d0c-32c3-4749-93ae-a826e6afeca4"/>
<textElement>
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[Tarifa]]></text>
</staticText>
<staticText>
<reportElement x="463" y="0" width="42" height="20" uuid="3cf6b3ba-fb0b-4e64-b3f3-f779644659e9"/>
<textElement>
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[Pedagio]]></text>
</staticText>
<staticText>
<reportElement x="505" y="0" width="50" height="20" uuid="3aa2a829-891e-48e6-aef1-540d5ddd9877"/>
<textElement>
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[Embarque]]></text>
</staticText>
<line> <line>
<reportElement x="0" y="20" width="555" height="1" uuid="a33f21d9-c821-4fa9-8dd8-1768914351f2"/> <reportElement x="0" y="1" width="802" height="1" uuid="481b2107-ee62-4815-8a89-8435d34384c8"/>
</line> </line>
<staticText> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="48" y="0" width="55" height="20" uuid="c9c171bb-64d8-41d8-a2c5-cc89e4a420aa"/> <reportElement stretchType="RelativeToTallestObject" x="134" y="2" width="70" height="20" uuid="8e32858b-3bbe-453f-bc9c-e47cd03cbb72"/>
<textElement> <textElement markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/> <font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement> </textElement>
<text><![CDATA[Data Emissão]]></text> <textFieldExpression><![CDATA["COO (Nº FISCAL)"]]></textFieldExpression>
</staticText> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="204" y="2" width="58" height="20" uuid="25ca2035-0d91-479e-acb6-d542514d7d5b"/>
<textElement markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Bilhete"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="262" y="2" width="113" height="20" uuid="2e674c44-07ff-4d6f-9643-2ba3bbbce4b9"/>
<textElement markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Tipo Venda"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="375" y="2" width="135" height="20" uuid="f74f8fc8-d3dd-4459-9f4f-426b5a3d1949"/>
<textElement markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Status"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="510" y="2" width="96" height="20" uuid="3e9b6264-c5df-4ecd-b739-9030e097fc99"/>
<textElement textAlignment="Right" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Tarifa"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="606" y="2" width="92" height="20" uuid="d0e7d648-5347-4345-a95b-13a6895e77ed"/>
<textElement textAlignment="Right" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Pedagio"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="698" y="2" width="103" height="20" uuid="5f93a22b-64e8-4393-9d9c-fabb30e54b61"/>
<textElement textAlignment="Right" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Embarque"]]></textFieldExpression>
</textField>
<line>
<reportElement positionType="Float" x="0" y="22" width="802" height="1" uuid="a33f21d9-c821-4fa9-8dd8-1768914351f2"/>
</line>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="65" y="2" width="69" height="20" uuid="86784842-c177-49aa-82ed-9b06e59d4aa4"/>
<textElement markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Data Emissão"]]></textFieldExpression>
</textField>
</band> </band>
</columnHeader> </columnHeader>
<detail> <detail>
<band height="21" splitType="Stretch"> <band height="21" splitType="Stretch">
<textField isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="0" y="0" width="48" height="20" uuid="880453bc-b85e-49c3-996a-6441cf25df5f"/> <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="65" height="20" uuid="880453bc-b85e-49c3-996a-6441cf25df5f"/>
<textElement> <textElement>
<font size="8"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{dataVendaVoucher}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{dataVendaVoucher}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="48" y="0" width="55" height="20" uuid="04367436-a76e-4e64-a157-4325ce7d98a5"/> <reportElement stretchType="RelativeToTallestObject" x="65" y="0" width="69" height="20" uuid="04367436-a76e-4e64-a157-4325ce7d98a5"/>
<textElement> <textElement>
<font size="8"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{dataEmissao}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{dataEmissao}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="103" y="0" width="62" height="20" uuid="1e0ca195-eef6-46b7-ba9f-66af0ef33209"/> <reportElement stretchType="RelativeToTallestObject" x="134" y="0" width="70" height="20" uuid="1e0ca195-eef6-46b7-ba9f-66af0ef33209"/>
<textElement> <textElement>
<font size="8"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{numDocFiscal}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numDocFiscal}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="165" y="0" width="47" height="20" uuid="2564f9af-3487-4dda-bfaa-4467ea076db0"/> <reportElement stretchType="RelativeToTallestObject" x="204" y="0" width="58" height="20" uuid="2564f9af-3487-4dda-bfaa-4467ea076db0"/>
<textElement> <textElement>
<font size="8"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{bilhete}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{bilhete}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="212" y="0" width="90" height="20" uuid="5a614727-0d7b-41da-a7b7-293558bf2bdc"/> <reportElement stretchType="RelativeToTallestObject" x="262" y="0" width="113" height="20" uuid="5a614727-0d7b-41da-a7b7-293558bf2bdc"/>
<textElement> <textElement>
<font size="8"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{tipoVenda}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{tipoVenda}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="302" y="0" width="103" height="20" uuid="45664dba-aceb-4198-bcc7-5e6567daf0a5"/> <reportElement stretchType="RelativeToTallestObject" x="375" y="0" width="135" height="20" uuid="45664dba-aceb-4198-bcc7-5e6567daf0a5"/>
<textElement> <textElement>
<font size="8"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
</textField> </textField>
<textField pattern="¤ #,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
<reportElement x="405" y="0" width="58" height="20" uuid="c3aa8f19-46d6-4c0b-9703-e74adaa2b5d7"/> <reportElement stretchType="RelativeToTallestObject" x="510" y="0" width="96" height="20" uuid="c3aa8f19-46d6-4c0b-9703-e74adaa2b5d7"/>
<textElement> <textElement textAlignment="Right">
<font size="8"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression>
</textField> </textField>
<textField pattern="¤ #,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
<reportElement x="463" y="0" width="42" height="20" uuid="655984a8-3e4a-4ac7-8816-317469c6a3ee"/> <reportElement stretchType="RelativeToTallestObject" x="606" y="0" width="92" height="20" uuid="655984a8-3e4a-4ac7-8816-317469c6a3ee"/>
<textElement> <textElement textAlignment="Right">
<font size="8"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression>
</textField> </textField>
<textField pattern="¤ #,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
<reportElement x="505" y="0" width="50" height="20" uuid="fced1969-520a-4be8-b126-45c7dc8fae72"/> <reportElement stretchType="RelativeToTallestObject" x="698" y="0" width="103" height="20" uuid="fced1969-520a-4be8-b126-45c7dc8fae72"/>
<textElement> <textElement textAlignment="Right">
<font size="8"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{embarque}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{embarque}]]></textFieldExpression>
</textField> </textField>
@ -222,6 +230,97 @@
<band splitType="Stretch"/> <band splitType="Stretch"/>
</pageFooter> </pageFooter>
<summary> <summary>
<band height="33" splitType="Stretch"/> <band height="69">
<componentElement>
<reportElement x="0" y="47" width="610" height="20" uuid="1d137acc-1a93-441e-80c7-f7fc3096be62"/>
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
<datasetRun subDataset="dataset1" uuid="c0ca26e9-9598-4df2-bdac-196cc2c8130d">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{totais})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="20" width="610">
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="209" y="0" width="100" height="20" uuid="08b44c7e-53eb-4a90-a24a-aad5a023ebc9"/>
<textElement textAlignment="Right">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="309" y="0" width="100" height="20" uuid="7a644a7e-fa80-4d39-976b-ef2da3491d5e"/>
<textElement textAlignment="Right">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{embarque}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="0" width="210" height="20" uuid="075957e8-8e9b-46c8-829b-0f50aaeffa5e"/>
<textElement>
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="409" y="0" width="100" height="20" uuid="341d8526-54c6-4fcf-b806-4cef7314f66a"/>
<textElement textAlignment="Right">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="509" y="0" width="100" height="20" uuid="86f554f9-e1e2-4142-89c1-9fbf9b1b397d"/>
<textElement textAlignment="Right">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement x="-1" y="5" width="154" height="20" uuid="462f1a0b-7ff6-4c3e-bc52-e4a08e8ad8a4"/>
<textElement>
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[TOTAIS]]></text>
</staticText>
<staticText>
<reportElement x="210" y="25" width="100" height="20" uuid="59bc7dec-6f8a-4c34-a6f3-5da1360a07ce"/>
<textElement textAlignment="Right">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[Tarifa]]></text>
</staticText>
<staticText>
<reportElement x="510" y="25" width="100" height="20" uuid="3d1b6b71-cfec-46f5-a933-dfffe71e9035"/>
<textElement textAlignment="Right">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[Total]]></text>
</staticText>
<staticText>
<reportElement x="0" y="25" width="210" height="20" uuid="9d26c5b3-2805-4160-884a-ce16694f67fd"/>
<textElement>
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[Status]]></text>
</staticText>
<staticText>
<reportElement x="310" y="25" width="100" height="20" uuid="c332f8d7-dab9-431f-b52e-f6dc130e2205"/>
<textElement textAlignment="Right">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[Embarque]]></text>
</staticText>
<staticText>
<reportElement x="410" y="25" width="100" height="20" uuid="54b96793-cbbc-45a9-bf53-2eff6141c22e"/>
<textElement textAlignment="Right">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[Pedágio]]></text>
</staticText>
<line>
<reportElement x="0" y="3" width="802" height="1" uuid="4142d01b-d6e1-486d-9659-df1e445b9d91"/>
</line>
</band>
</summary> </summary>
</jasperReport> </jasperReport>

View File

@ -26,7 +26,7 @@ public class ItemMenuImportacionFiscalEcf extends DefaultItemMenuSistema {
HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.ECF, (HashMap<String, Boolean>) getArgs()); HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.ECF, (HashMap<String, Boolean>) getArgs());
PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul", PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul",
Labels.getLabel("busquedaImportacionFiscalController.window.title"), map, desktop); Labels.getLabel("busquedaImportacionFiscalEcfController.window.title"), map, desktop);
} }

View File

@ -26,7 +26,7 @@ public class ItemMenuImportacionFiscalEcfCancelados extends DefaultItemMenuSiste
HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.ECF_CANCELADOS, (HashMap<String, Boolean>) getArgs()); HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.ECF_CANCELADOS, (HashMap<String, Boolean>) getArgs());
PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul", PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul",
Labels.getLabel("busquedaImportacionFiscalController.window.title"), map, desktop); Labels.getLabel("busquedaImportacionFiscalEcfCanceladosController.window.title"), map, desktop);
} }
} }

View File

@ -26,7 +26,7 @@ public class ItemMenuImportacionFiscalManual extends DefaultItemMenuSistema {
HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.MANUAL, (HashMap<String, Boolean>) getArgs()); HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.MANUAL, (HashMap<String, Boolean>) getArgs());
PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul", PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul",
Labels.getLabel("busquedaImportacionFiscalController.window.title"), map, desktop); Labels.getLabel("busquedaImportacionFiscalManualController.window.title"), map, desktop);
} }
} }

View File

@ -26,7 +26,7 @@ public class ItemMenuImportacionFiscalReducaoZ extends DefaultItemMenuSistema {
HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.REDUCAO_Z, (HashMap<String, Boolean>) getArgs()); HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.REDUCAO_Z, (HashMap<String, Boolean>) getArgs());
PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul", PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul",
Labels.getLabel("busquedaImportacionFiscalController.window.title"), map, desktop); Labels.getLabel("busquedaImportacionFiscalReducaoZController.window.title"), map, desktop);
} }

View File

@ -26,7 +26,7 @@ public class ItemMenuImportacionNaoFiscal extends DefaultItemMenuSistema {
HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.NAO_FISCAL, (HashMap<String, Boolean>) getArgs()); HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.NAO_FISCAL, (HashMap<String, Boolean>) getArgs());
PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul", PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul",
Labels.getLabel("busquedaImportacionFiscalController.window.title"), map, desktop); Labels.getLabel("busquedaImportacionFiscalNaoFiscalController.window.title"), map, desktop);
} }
} }

View File

@ -27,7 +27,7 @@ public class ItemMenuFiscalRelatorioFinanceiro extends DefaultItemMenuSistema {
HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.RELATORIO_FINANCEIRO, (HashMap<String, Boolean>) getArgs()); HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.RELATORIO_FINANCEIRO, (HashMap<String, Boolean>) getArgs());
PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul", PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul",
Labels.getLabel("busquedaImportacionFiscalController.window.title"), map, desktop); Labels.getLabel("busquedaImportacionFiscalRelatorioFinanceiroController.window.title"), map, desktop);
} }
} }

View File

@ -27,7 +27,7 @@ public class ItemMenuFiscalRelatorioVoucher extends DefaultItemMenuSistema {
HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.RELATORIO_VOUCHER, (HashMap<String, Boolean>) getArgs()); HashMap<String, Boolean> map = TipoImportacaoFiscal.selecionaTipoImportacao(TipoImportacao.RELATORIO_VOUCHER, (HashMap<String, Boolean>) getArgs());
PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul", PantallaUtileria.openWindow("/gui/impressaofiscal/busquedaImportacionFiscal.zul",
Labels.getLabel("busquedaImportacionFiscalController.window.title"), map, desktop); Labels.getLabel("busquedaImportacionFiscalRelatorioVoucherController.window.title"), map, desktop);
} }

View File

@ -6309,3 +6309,12 @@ editarConexionExcepcionRutaController.lbRuta.label=Linha
editarConexionExcepcionRutaController.btnPesquisa.label=Pesquisa editarConexionExcepcionRutaController.btnPesquisa.label=Pesquisa
editarConexionExcepcionRutaController.lbRuta.label=Linha editarConexionExcepcionRutaController.lbRuta.label=Linha
editarConexionExcepcionRutaController.rutaId.label=Linha ID editarConexionExcepcionRutaController.rutaId.label=Linha ID
# Importacion Fiscal
busquedaImportacionFiscalEcfController.window.title=Impressão Fiscal :: ECF
busquedaImportacionFiscalEcfCanceladosController.window.title=Impressão Fiscal :: ECF Cancelados
busquedaImportacionFiscalManualController.window.title=Impressão Fiscal :: Manual
busquedaImportacionFiscalReducaoZController.window.title=Impressão Fiscal :: Redução Z
busquedaImportacionFiscalNaoFiscalController.window.title=Impressão Fiscal :: Não Fiscal
busquedaImportacionFiscalRelatorioFinanceiroController.window.title=Impressão Fiscal :: Relatório Financeiro
busquedaImportacionFiscalRelatorioVoucherController.window.title=Impressão Fiscal :: Relatório Voucher

View File

@ -6455,3 +6455,12 @@ editarConexionExcepcionRutaController.lbRuta.label=Linha
editarConexionExcepcionRutaController.btnPesquisa.label=Pesquisa editarConexionExcepcionRutaController.btnPesquisa.label=Pesquisa
editarConexionExcepcionRutaController.lbRuta.label=Linha editarConexionExcepcionRutaController.lbRuta.label=Linha
editarConexionExcepcionRutaController.rutaId.label=Linha ID editarConexionExcepcionRutaController.rutaId.label=Linha ID
# Importacion Fiscal
busquedaImportacionFiscalEcfController.window.title=Impressão Fiscal :: ECF
busquedaImportacionFiscalEcfCanceladosController.window.title=Impressão Fiscal :: ECF Cancelados
busquedaImportacionFiscalManualController.window.title=Impressão Fiscal :: Manual
busquedaImportacionFiscalReducaoZController.window.title=Impressão Fiscal :: Redução Z
busquedaImportacionFiscalNaoFiscalController.window.title=Impressão Fiscal :: Não Fiscal
busquedaImportacionFiscalRelatorioFinanceiroController.window.title=Impressão Fiscal :: Relatório Financeiro
busquedaImportacionFiscalRelatorioVoucherController.window.title=Impressão Fiscal :: Relatório Voucher