Subversion Repositories Integrator Subversion

Rev

Rev 182 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

<?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="relatorio_nfce" pageWidth="220" pageHeight="340" whenNoDataType="AllSectionsNoDetail" columnWidth="200" leftMargin="10" rightMargin="10" topMargin="10" bottomMargin="10" uuid="c6447326-3eb7-45a9-af8e-852ae2ec5c1b">
        <property name="ireport.zoom" value="2.657341500000003"/>
        <property name="ireport.x" value="0"/>
        <property name="ireport.y" value="354"/>
        <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
                <defaultValueExpression><![CDATA[""]]></defaultValueExpression>
        </parameter>
        <parameter name="pRazaoSocial" class="java.lang.String"/>
        <queryString>
                <![CDATA[]]>
        </queryString>
        <field name="nfce" class="br.com.ec.domain.dto.NotaFiscalConsumidorDTO">
                <fieldDescription><![CDATA[nfce]]></fieldDescription>
        </field>
        <background>
                <band splitType="Stretch"/>
        </background>
        <title>
                <band height="39" splitType="Stretch">
                        <subreport>
                                <reportElement uuid="b6db748c-379b-4157-8672-20b46c75530e" x="0" y="0" width="200" height="29"/>
                                <subreportParameter name="pRazaoSocial">
                                        <subreportParameterExpression><![CDATA[$P{pRazaoSocial}]]></subreportParameterExpression>
                                </subreportParameter>
                                <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
                                <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_cabecalho.jasper"]]></subreportExpression>
                        </subreport>
                        <staticText>
                                <reportElement uuid="8cb4c6d2-d253-42d4-9839-59e04e746346" x="0" y="29" width="200" height="10"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font fontName="Arial" size="5" isBold="true"/>
                                </textElement>
                                <text><![CDATA[DOCUMENTO AUXILIAR DA NOTA FISCAL DE CONSUMIDOR ELETRÔNICA]]></text>
                        </staticText>
                </band>
        </title>
        <columnHeader>
                <band height="10">
                        <staticText>
                                <reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="0" y="0" width="15" height="10"/>
                                <textElement verticalAlignment="Middle">
                                        <font fontName="Arial" size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[COD]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="16" y="0" width="74" height="10"/>
                                <textElement verticalAlignment="Middle">
                                        <font fontName="Arial" size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[DESCRIÇÃO]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="104" y="0" width="22" height="10"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font fontName="Arial" size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[QTD]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="128" y="0" width="22" height="10"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font fontName="Arial" size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[UN]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="148" y="0" width="30" height="10"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font fontName="Arial" size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[VL. UNIT]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="178" y="0" width="22" height="10"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font fontName="Arial" size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[TOTAL ITEM]]></text>
                        </staticText>
                </band>
        </columnHeader>
        <detail>
                <band height="20" splitType="Stretch">
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="16" y="0" width="184" height="20"/>
                                <textElement>
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL  1,000 UN X 1,15  11,50]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="0" y="0" width="15" height="10"/>
                                <textElement verticalAlignment="Middle">
                                        <font fontName="Arial" size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[001]]></text>
                        </staticText>
                </band>
                <band height="105">
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="4" width="110" height="10"/>
                                <textElement>
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[QTD. TOTAL DE ITENS]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="14" width="110" height="10"/>
                                <textElement>
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[VALOR TOTAL R$]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="24" width="110" height="10"/>
                                <textElement>
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[VALOR A PAGAR R$]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="34" width="110" height="10"/>
                                <textElement>
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[DINHEIRO]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="126" y="4" width="74" height="10"/>
                                <textElement textAlignment="Right">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[1,000]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="126" y="14" width="74" height="10"/>
                                <textElement textAlignment="Right">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[11,50]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="126" y="24" width="74" height="10"/>
                                <textElement textAlignment="Right">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[11,50]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="126" y="34" width="74" height="10"/>
                                <textElement textAlignment="Right">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[11,50]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="54" width="200" height="10"/>
                                <textElement textAlignment="Center">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[Número: 1 Série: 1 Emissão: 25/03/2018 16:28:40]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="64" width="200" height="10"/>
                                <textElement textAlignment="Center">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[Consulte pela Chave de Acesso em www.sefaz.al.gov.br/nfce]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="74" width="200" height="10"/>
                                <textElement textAlignment="Center">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[2718 0321 4948 2100 0100 6500 1000 0000 0110 0000 0011]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="84" width="200" height="10"/>
                                <textElement textAlignment="Center">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[Protocolo de Autorização: 327180000056573   25/03/2018 16:28:42]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="94" width="200" height="10"/>
                                <textElement textAlignment="Center">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[CONSUMIDOR CPF: 062.569.544-59]]></text>
                        </staticText>
                </band>
                <band height="110" splitType="Stretch">
                        <image scaleImage="RetainShape" isUsingCache="true" onErrorType="Blank">
                                <reportElement uuid="794dd48f-2daf-43ae-a55c-02cb5b478934" x="50" y="0" width="100" height="100"/>
                                <imageExpression><![CDATA[com.google.zxing.client.j2se.MatrixToImageWriter.toBufferedImage(
    new com.google.zxing.qrcode.QRCodeWriter().encode("http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp?chNFe=27180321494821000100650010000000011000000011&nVersao=100&tpAmb=2&cDest=06256954459&dhEmi=323031382d30332d32355431363a32383a34302d30333a3030&vNF=11.50&vICMS=0.00&digVal=4e35376b3876386a4d3931483269386843546f4a767443354d41453d&cIdToken=000002&cHashQRCode=A0FC7AB12F30E66649C3FFFB275323FCD2AA0AD7",
    com.google.zxing.BarcodeFormat.QR_CODE, 100, 100))]]></imageExpression>
                        </image>
                </band>
        </detail>
        <pageFooter>
                <band height="40" splitType="Stretch">
                        <subreport>
                                <reportElement uuid="ae8d065c-9cac-41c0-b26e-489b91e02902" x="0" y="0" width="200" height="35"/>
                                <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
                                <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_rodape.jasper"]]></subreportExpression>
                        </subreport>
                </band>
        </pageFooter>
</jasperReport>