Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 695 | blopes | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <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="215" pageHeight="300" columnWidth="195" leftMargin="10" rightMargin="10" topMargin="10" bottomMargin="10" isIgnorePagination="true" uuid="c6447326-3eb7-45a9-af8e-852ae2ec5c1b"> |
||
| 3 | <property name="ireport.zoom" value="3.221020000000004"/> |
||
| 4 | <property name="ireport.x" value="0"/> |
||
| 5 | <property name="ireport.y" value="0"/> |
||
| 6 | <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"> |
||
| 7 | <defaultValueExpression><![CDATA[""]]></defaultValueExpression> |
||
| 8 | </parameter> |
||
| 9 | <queryString> |
||
| 10 | <![CDATA[]]> |
||
| 11 | </queryString> |
||
| 12 | <field name="notaFiscal" class="br.com.ec.domain.dto.nfce.NotaFiscalDTO"> |
||
| 13 | <fieldDescription><![CDATA[notaFiscal]]></fieldDescription> |
||
| 14 | </field> |
||
| 15 | <background> |
||
| 16 | <band splitType="Stretch"/> |
||
| 17 | </background> |
||
| 18 | <title> |
||
| 19 | <band height="50" splitType="Stretch"> |
||
| 20 | <line> |
||
| 21 | <reportElement key="line" positionType="Float" x="0" y="49" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/> |
||
| 22 | <graphicElement> |
||
| 23 | <pen lineWidth="1.0" lineStyle="Dotted"/> |
||
| 24 | </graphicElement> |
||
| 25 | </line> |
||
| 26 | <subreport> |
||
| 27 | <reportElement x="5" y="0" width="185" height="40" uuid="b6db748c-379b-4157-8672-20b46c75530e"/> |
||
| 28 | <subreportParameter name="pCnpj"> |
||
| 29 | <subreportParameterExpression><![CDATA[$F{notaFiscal}.getCnpjDaLoja()]]></subreportParameterExpression> |
||
| 30 | </subreportParameter> |
||
| 31 | <subreportParameter name="pLogotipo"> |
||
| 32 | <subreportParameterExpression><![CDATA[$F{notaFiscal}.getCnpjDaLoja()]]></subreportParameterExpression> |
||
| 33 | </subreportParameter> |
||
| 34 | <subreportParameter name="pEndereco"> |
||
| 35 | <subreportParameterExpression><![CDATA[$F{notaFiscal}.getEnderecoDoEmitente()]]></subreportParameterExpression> |
||
| 36 | </subreportParameter> |
||
| 37 | <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> |
||
| 38 | <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_cabecalho.jasper"]]></subreportExpression> |
||
| 39 | </subreport> |
||
| 40 | <staticText> |
||
| 41 | <reportElement x="0" y="40" width="195" height="10" uuid="8cb4c6d2-d253-42d4-9839-59e04e746346"/> |
||
| 42 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 43 | <font fontName="SansSerif" size="5" isBold="true"/> |
||
| 44 | </textElement> |
||
| 45 | <text><![CDATA[DOCUMENTO AUXILIAR DA NOTA FISCAL DE CONSUMIDOR ELETRÔNICA]]></text> |
||
| 46 | </staticText> |
||
| 47 | <line> |
||
| 48 | <reportElement key="line" positionType="Float" x="0" y="40" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/> |
||
| 49 | <graphicElement> |
||
| 50 | <pen lineWidth="1.0" lineStyle="Dotted"/> |
||
| 51 | </graphicElement> |
||
| 52 | </line> |
||
| 53 | </band> |
||
| 54 | </title> |
||
| 55 | <columnHeader> |
||
| 56 | <band height="10"> |
||
| 57 | <staticText> |
||
| 58 | <reportElement x="23" y="0" width="17" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 59 | <textElement verticalAlignment="Middle"> |
||
| 60 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 61 | </textElement> |
||
| 62 | <text><![CDATA[COD]]></text> |
||
| 63 | </staticText> |
||
| 64 | <staticText> |
||
| 65 | <reportElement x="40" y="0" width="51" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 66 | <textElement verticalAlignment="Middle"> |
||
| 67 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 68 | </textElement> |
||
| 69 | <text><![CDATA[DESCRIÇÃO]]></text> |
||
| 70 | </staticText> |
||
| 71 | <staticText> |
||
| 72 | <reportElement x="91" y="0" width="22" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 73 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 74 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 75 | </textElement> |
||
| 76 | <text><![CDATA[QTD]]></text> |
||
| 77 | </staticText> |
||
| 78 | <staticText> |
||
| 79 | <reportElement x="113" y="0" width="17" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 80 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 81 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 82 | </textElement> |
||
| 83 | <text><![CDATA[UN]]></text> |
||
| 84 | </staticText> |
||
| 85 | <staticText> |
||
| 86 | <reportElement x="129" y="0" width="35" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 87 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 88 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 89 | </textElement> |
||
| 90 | <text><![CDATA[VL. UNIT]]></text> |
||
| 91 | </staticText> |
||
| 92 | <staticText> |
||
| 93 | <reportElement x="164" y="0" width="26" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 94 | <textElement textAlignment="Right" verticalAlignment="Middle"> |
||
| 95 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 96 | </textElement> |
||
| 97 | <text><![CDATA[TOTAL ITEM]]></text> |
||
| 98 | </staticText> |
||
| 99 | <staticText> |
||
| 100 | <reportElement x="5" y="0" width="18" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 101 | <textElement verticalAlignment="Middle"> |
||
| 102 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 103 | </textElement> |
||
| 104 | <text><![CDATA[ITEM]]></text> |
||
| 105 | </staticText> |
||
| 106 | </band> |
||
| 107 | </columnHeader> |
||
| 108 | <detail> |
||
| 109 | <band height="20" splitType="Stretch"> |
||
| 110 | <subreport> |
||
| 111 | <reportElement positionType="Float" x="5" y="0" width="185" height="20" uuid="1027a0ad-c78a-4f6d-95ed-05989641e369"/> |
||
| 112 | <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{notaFiscal}.getItens())]]></dataSourceExpression> |
||
| 113 | <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_itens.jasper"]]></subreportExpression> |
||
| 114 | </subreport> |
||
| 115 | </band> |
||
| 116 | <band height="34"> |
||
| 117 | <staticText> |
||
| 118 | <reportElement x="5" y="4" width="99" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/> |
||
| 119 | <textElement> |
||
| 120 | <font size="6" isBold="true"/> |
||
| 121 | </textElement> |
||
| 122 | <text><![CDATA[QTD. TOTAL DE ITENS]]></text> |
||
| 123 | </staticText> |
||
| 124 | <staticText> |
||
| 125 | <reportElement x="5" y="14" width="99" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/> |
||
| 126 | <textElement> |
||
| 127 | <font size="6" isBold="true"/> |
||
| 128 | </textElement> |
||
| 129 | <text><![CDATA[VALOR TOTAL R$]]></text> |
||
| 130 | </staticText> |
||
| 131 | <staticText> |
||
| 132 | <reportElement x="5" y="24" width="99" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/> |
||
| 133 | <textElement> |
||
| 134 | <font size="6" isBold="true"/> |
||
| 135 | </textElement> |
||
| 136 | <text><![CDATA[VALOR A PAGAR R$]]></text> |
||
| 137 | </staticText> |
||
| 138 | <textField> |
||
| 139 | <reportElement x="116" y="4" width="74" height="10" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 140 | <textElement textAlignment="Right" verticalAlignment="Middle"> |
||
| 141 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 142 | </textElement> |
||
| 143 | <textFieldExpression><![CDATA[$F{notaFiscal}.getItens().size()]]></textFieldExpression> |
||
| 144 | </textField> |
||
| 145 | <textField> |
||
| 146 | <reportElement x="116" y="14" width="74" height="10" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 147 | <textElement textAlignment="Right" verticalAlignment="Middle"> |
||
| 148 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 149 | </textElement> |
||
| 150 | <textFieldExpression><![CDATA[$F{notaFiscal}.getValorTotal()]]></textFieldExpression> |
||
| 151 | </textField> |
||
| 152 | <textField> |
||
| 153 | <reportElement x="116" y="24" width="74" height="10" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 154 | <textElement textAlignment="Right" verticalAlignment="Middle"> |
||
| 155 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 156 | </textElement> |
||
| 157 | <textFieldExpression><![CDATA[$F{notaFiscal}.getValorTotal()]]></textFieldExpression> |
||
| 158 | </textField> |
||
| 159 | </band> |
||
| 160 | <band height="25"> |
||
| 161 | <subreport> |
||
| 162 | <reportElement positionType="Float" x="5" y="10" width="185" height="15" uuid="1027a0ad-c78a-4f6d-95ed-05989641e369"/> |
||
| 163 | <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{notaFiscal}.getPagamentos())]]></dataSourceExpression> |
||
| 164 | <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_pagamentos.jasper"]]></subreportExpression> |
||
| 165 | </subreport> |
||
| 166 | <staticText> |
||
| 167 | <reportElement x="5" y="0" width="99" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/> |
||
| 168 | <textElement> |
||
| 169 | <font size="6" isBold="true"/> |
||
| 170 | </textElement> |
||
| 171 | <text><![CDATA[FORMA DE PAGAMENTO]]></text> |
||
| 172 | </staticText> |
||
| 173 | <staticText> |
||
| 174 | <reportElement x="116" y="0" width="74" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/> |
||
| 175 | <textElement textAlignment="Right"> |
||
| 176 | <font size="6" isBold="true"/> |
||
| 177 | </textElement> |
||
| 178 | <text><![CDATA[VALOR PAGO R$]]></text> |
||
| 179 | </staticText> |
||
| 180 | </band> |
||
| 181 | <band height="203"> |
||
| 182 | <image scaleImage="RetainShape" isUsingCache="true" onErrorType="Blank"> |
||
| 183 | <reportElement x="23" y="53" width="150" height="150" uuid="794dd48f-2daf-43ae-a55c-02cb5b478934"/> |
||
| 184 | <imageExpression><![CDATA[com.google.zxing.client.j2se.MatrixToImageWriter.toBufferedImage( |
||
| 185 | new com.google.zxing.qrcode.QRCodeWriter().encode( |
||
| 186 | $F{notaFiscal}.getCaminhoQrCode(), |
||
| 187 | com.google.zxing.BarcodeFormat.QR_CODE, 300, 300))]]></imageExpression> |
||
| 188 | </image> |
||
| 189 | <staticText> |
||
| 190 | <reportElement x="0" y="13" width="195" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/> |
||
| 191 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 192 | <font fontName="SansSerif" size="6" isBold="false"/> |
||
| 193 | </textElement> |
||
| 194 | <text><![CDATA[Consulte pela Chave de Acesso em www.sefaz.al.gov.br/nfce]]></text> |
||
| 195 | </staticText> |
||
| 196 | <textField> |
||
| 197 | <reportElement x="0" y="3" width="195" height="10" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 198 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 199 | <font fontName="SansSerif" size="6" isBold="false"/> |
||
| 200 | </textElement> |
||
| 201 | <textFieldExpression><![CDATA["Número: " + $F{notaFiscal}.getNumero() + |
||
| 202 | " Série: " + $F{notaFiscal}.getSerie() + |
||
| 203 | " Emissão: " + $F{notaFiscal}.getDataHoraEmissao()]]></textFieldExpression> |
||
| 204 | </textField> |
||
| 205 | <textField> |
||
| 206 | <reportElement x="0" y="23" width="195" height="10" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 207 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 208 | <font fontName="SansSerif" size="6" isBold="false"/> |
||
| 209 | </textElement> |
||
| 210 | <textFieldExpression><![CDATA[$F{notaFiscal}.getChave()]]></textFieldExpression> |
||
| 211 | </textField> |
||
| 212 | <textField> |
||
| 213 | <reportElement x="0" y="33" width="195" height="10" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 214 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 215 | <font fontName="SansSerif" size="6" isBold="false"/> |
||
| 216 | </textElement> |
||
| 217 | <textFieldExpression><![CDATA["Protocolo de Autorização: " + $F{notaFiscal}.getProtocoloAutorizacao()]]></textFieldExpression> |
||
| 218 | </textField> |
||
| 219 | <textField> |
||
| 220 | <reportElement x="0" y="43" width="195" height="10" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 221 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 222 | <font fontName="SansSerif" size="6" isBold="false"/> |
||
| 223 | </textElement> |
||
| 224 | <textFieldExpression><![CDATA["Consumidor: " + $F{notaFiscal}.getCpfCnpjConsumidorFormatado()]]></textFieldExpression> |
||
| 225 | </textField> |
||
| 226 | </band> |
||
| 227 | </detail> |
||
| 228 | <pageFooter> |
||
| 229 | <band height="30" splitType="Stretch"> |
||
| 230 | <subreport> |
||
| 231 | <reportElement x="5" y="0" width="185" height="25" uuid="ae8d065c-9cac-41c0-b26e-489b91e02902"/> |
||
| 232 | <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> |
||
| 233 | <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_rodape.jasper"]]></subreportExpression> |
||
| 234 | </subreport> |
||
| 235 | </band> |
||
| 236 | </pageFooter> |
||
| 237 | </jasperReport> |