Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 179 | espaco | 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_cupom" pageWidth="215" pageHeight="200" 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.897434200000006"/> |
||
| 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 | <subreport> |
||
| 21 | <reportElement x="0" y="0" width="195" height="40" uuid="b6db748c-379b-4157-8672-20b46c75530e"/> |
||
| 22 | <subreportParameter name="pCnpj"> |
||
| 23 | <subreportParameterExpression><![CDATA[$F{notaFiscal}.getCnpjDaLoja()]]></subreportParameterExpression> |
||
| 24 | </subreportParameter> |
||
| 25 | <subreportParameter name="pLogotipo"> |
||
| 26 | <subreportParameterExpression><![CDATA[$F{notaFiscal}.getCnpjMatrizDaLojaSemAcentos()]]></subreportParameterExpression> |
||
| 27 | </subreportParameter> |
||
| 28 | <subreportParameter name="pEndereco"> |
||
| 29 | <subreportParameterExpression><![CDATA[$F{notaFiscal}.getEnderecoDoEmitente()]]></subreportParameterExpression> |
||
| 30 | </subreportParameter> |
||
| 31 | <subreportParameter name="pRazaoSocial"> |
||
| 32 | <subreportParameterExpression><![CDATA[$F{notaFiscal}.getRazaoSocialDaLoja()]]></subreportParameterExpression> |
||
| 33 | </subreportParameter> |
||
| 34 | <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> |
||
| 35 | <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_cabecalho.jasper"]]></subreportExpression> |
||
| 36 | </subreport> |
||
| 37 | <staticText> |
||
| 38 | <reportElement x="0" y="40" width="195" height="10" uuid="8cb4c6d2-d253-42d4-9839-59e04e746346"/> |
||
| 39 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 40 | <font fontName="SansSerif" size="5" isBold="true"/> |
||
| 41 | </textElement> |
||
| 42 | <text><![CDATA[CUPOM NÃO FISCAL]]></text> |
||
| 43 | </staticText> |
||
| 44 | <line> |
||
| 45 | <reportElement key="line" positionType="Float" x="0" y="40" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/> |
||
| 46 | <graphicElement> |
||
| 47 | <pen lineWidth="1.0" lineStyle="Dotted"/> |
||
| 48 | </graphicElement> |
||
| 49 | </line> |
||
| 50 | </band> |
||
| 51 | </title> |
||
| 52 | <columnHeader> |
||
| 53 | <band height="10"> |
||
| 54 | <staticText> |
||
| 55 | <reportElement x="17" y="0" width="17" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 56 | <textElement verticalAlignment="Middle"> |
||
| 57 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 58 | </textElement> |
||
| 59 | <text><![CDATA[COD]]></text> |
||
| 60 | </staticText> |
||
| 61 | <staticText> |
||
| 62 | <reportElement x="34" y="0" width="56" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 63 | <textElement verticalAlignment="Middle"> |
||
| 64 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 65 | </textElement> |
||
| 66 | <text><![CDATA[DESCRIÇÃO]]></text> |
||
| 67 | </staticText> |
||
| 68 | <staticText> |
||
| 69 | <reportElement x="90" y="0" width="22" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 70 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 71 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 72 | </textElement> |
||
| 73 | <text><![CDATA[QTD]]></text> |
||
| 74 | </staticText> |
||
| 75 | <staticText> |
||
| 76 | <reportElement x="112" y="0" width="22" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 77 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 78 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 79 | </textElement> |
||
| 80 | <text><![CDATA[UN]]></text> |
||
| 81 | </staticText> |
||
| 82 | <staticText> |
||
| 83 | <reportElement x="134" y="0" width="35" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 84 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 85 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 86 | </textElement> |
||
| 87 | <text><![CDATA[VL. UNIT]]></text> |
||
| 88 | </staticText> |
||
| 89 | <staticText> |
||
| 90 | <reportElement x="169" y="0" width="26" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 91 | <textElement textAlignment="Right" verticalAlignment="Middle"> |
||
| 92 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 93 | </textElement> |
||
| 94 | <text><![CDATA[TOTAL ITEM]]></text> |
||
| 95 | </staticText> |
||
| 96 | <staticText> |
||
| 97 | <reportElement x="0" y="0" width="17" height="10" uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43"/> |
||
| 98 | <textElement verticalAlignment="Middle"> |
||
| 99 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 100 | </textElement> |
||
| 101 | <text><![CDATA[ITEM]]></text> |
||
| 102 | </staticText> |
||
| 103 | <line> |
||
| 104 | <reportElement key="line" positionType="Float" x="0" y="-1" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/> |
||
| 105 | <graphicElement> |
||
| 106 | <pen lineWidth="1.0" lineStyle="Dotted"/> |
||
| 107 | </graphicElement> |
||
| 108 | </line> |
||
| 109 | </band> |
||
| 110 | </columnHeader> |
||
| 111 | <detail> |
||
| 112 | <band height="20" splitType="Stretch"> |
||
| 113 | <subreport> |
||
| 114 | <reportElement positionType="Float" x="0" y="0" width="195" height="20" uuid="1027a0ad-c78a-4f6d-95ed-05989641e369"/> |
||
| 115 | <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{notaFiscal}.getItens())]]></dataSourceExpression> |
||
| 116 | <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_itens.jasper"]]></subreportExpression> |
||
| 117 | </subreport> |
||
| 118 | </band> |
||
| 119 | <band height="34"> |
||
| 120 | <staticText> |
||
| 121 | <reportElement x="0" y="4" width="99" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/> |
||
| 122 | <textElement> |
||
| 123 | <font size="6" isBold="true"/> |
||
| 124 | </textElement> |
||
| 125 | <text><![CDATA[QTD. TOTAL DE ITENS]]></text> |
||
| 126 | </staticText> |
||
| 127 | <staticText> |
||
| 128 | <reportElement x="0" y="14" width="99" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/> |
||
| 129 | <textElement> |
||
| 130 | <font size="6" isBold="true"/> |
||
| 131 | </textElement> |
||
| 132 | <text><![CDATA[VALOR TOTAL R$]]></text> |
||
| 133 | </staticText> |
||
| 134 | <staticText> |
||
| 135 | <reportElement x="0" y="24" width="99" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/> |
||
| 136 | <textElement> |
||
| 137 | <font size="6" isBold="true"/> |
||
| 138 | </textElement> |
||
| 139 | <text><![CDATA[VALOR A PAGAR R$]]></text> |
||
| 140 | </staticText> |
||
| 141 | <textField> |
||
| 142 | <reportElement x="121" y="4" width="74" height="10" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 143 | <textElement textAlignment="Right" verticalAlignment="Middle"> |
||
| 144 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 145 | </textElement> |
||
| 146 | <textFieldExpression><![CDATA[$F{notaFiscal}.getItens().size()]]></textFieldExpression> |
||
| 147 | </textField> |
||
| 148 | <textField> |
||
| 149 | <reportElement x="121" y="14" width="74" height="10" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 150 | <textElement textAlignment="Right" verticalAlignment="Middle"> |
||
| 151 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 152 | </textElement> |
||
| 153 | <textFieldExpression><![CDATA[$F{notaFiscal}.getValorTotal()]]></textFieldExpression> |
||
| 154 | </textField> |
||
| 155 | <textField> |
||
| 156 | <reportElement x="121" y="24" width="74" height="10" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 157 | <textElement textAlignment="Right" verticalAlignment="Middle"> |
||
| 158 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 159 | </textElement> |
||
| 160 | <textFieldExpression><![CDATA[$F{notaFiscal}.getValorTotal()]]></textFieldExpression> |
||
| 161 | </textField> |
||
| 162 | </band> |
||
| 163 | <band height="25"> |
||
| 164 | <subreport> |
||
| 165 | <reportElement positionType="Float" x="0" y="10" width="195" height="15" uuid="1027a0ad-c78a-4f6d-95ed-05989641e369"/> |
||
| 166 | <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{notaFiscal}.getPagamentos())]]></dataSourceExpression> |
||
| 167 | <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_pagamentos.jasper"]]></subreportExpression> |
||
| 168 | </subreport> |
||
| 169 | <staticText> |
||
| 170 | <reportElement x="0" y="0" width="99" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/> |
||
| 171 | <textElement> |
||
| 172 | <font size="6" isBold="true"/> |
||
| 173 | </textElement> |
||
| 174 | <text><![CDATA[FORMA DE PAGAMENTO]]></text> |
||
| 175 | </staticText> |
||
| 176 | <staticText> |
||
| 177 | <reportElement x="121" y="0" width="74" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/> |
||
| 178 | <textElement textAlignment="Right"> |
||
| 179 | <font size="6" isBold="true"/> |
||
| 180 | </textElement> |
||
| 181 | <text><![CDATA[VALOR PAGO R$]]></text> |
||
| 182 | </staticText> |
||
| 183 | </band> |
||
| 184 | <band height="13"> |
||
| 185 | <textField> |
||
| 186 | <reportElement x="0" y="0" width="195" height="10" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 187 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 188 | <font fontName="SansSerif" size="6" isBold="true"/> |
||
| 189 | </textElement> |
||
| 190 | <textFieldExpression><![CDATA["CONSUMIDOR: " + $F{notaFiscal}.getCpfCnpjConsumidorFormatado()]]></textFieldExpression> |
||
| 191 | </textField> |
||
| 192 | </band> |
||
| 193 | </detail> |
||
| 194 | <pageFooter> |
||
| 195 | <band height="30" splitType="Stretch"> |
||
| 196 | <subreport> |
||
| 197 | <reportElement x="0" y="0" width="195" height="25" uuid="ae8d065c-9cac-41c0-b26e-489b91e02902"/> |
||
| 198 | <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> |
||
| 199 | <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_rodape.jasper"]]></subreportExpression> |
||
| 200 | </subreport> |
||
| 201 | </band> |
||
| 202 | </pageFooter> |
||
| 203 | </jasperReport> |