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_comanda" pageWidth="215" pageHeight="200" columnWidth="195" leftMargin="10" rightMargin="10" topMargin="10" bottomMargin="10" isIgnorePagination="true" uuid="c6447326-3eb7-45a9-af8e-852ae2ec5c1b">
        <property name="ireport.zoom" value="3.897434200000006"/>
        <property name="ireport.x" value="0"/>
        <property name="ireport.y" value="127"/>
        <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
                <defaultValueExpression><![CDATA[""]]></defaultValueExpression>
        </parameter>
        <queryString>
                <![CDATA[]]>
        </queryString>
        <field name="notaFiscal" class="br.com.ec.domain.dto.nfce.NotaFiscalDTO">
                <fieldDescription><![CDATA[notaFiscal]]></fieldDescription>
        </field>
        <background>
                <band splitType="Stretch"/>
        </background>
        <title>
                <band height="40" splitType="Stretch">
                        <line>
                                <reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="39" width="195" height="1"/>
                                <graphicElement>
                                        <pen lineWidth="1.0" lineStyle="Dotted"/>
                                </graphicElement>
                        </line>
                        <subreport>
                                <reportElement uuid="b6db748c-379b-4157-8672-20b46c75530e" x="0" y="0" width="195" height="30"/>
                                <subreportParameter name="pCnpj">
                                        <subreportParameterExpression><![CDATA[$F{notaFiscal}.getCnpjDaLoja()]]></subreportParameterExpression>
                                </subreportParameter>
                                <subreportParameter name="pEndereco">
                                        <subreportParameterExpression><![CDATA[$F{notaFiscal}.getEnderecoDoEmitente()]]></subreportParameterExpression>
                                </subreportParameter>
                                <subreportParameter name="pRazaoSocial">
                                        <subreportParameterExpression><![CDATA[$F{notaFiscal}.getRazaoSocialDaLoja()]]></subreportParameterExpression>
                                </subreportParameter>
                                <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
                                <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "comanda_cabecalho.jasper"]]></subreportExpression>
                        </subreport>
                        <staticText>
                                <reportElement uuid="8cb4c6d2-d253-42d4-9839-59e04e746346" x="0" y="30" width="195" height="10"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="5" isBold="true"/>
                                </textElement>
                                <text><![CDATA[CUPOM NÃO FISCAL]]></text>
                        </staticText>
                        <line>
                                <reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="30" width="195" height="1"/>
                                <graphicElement>
                                        <pen lineWidth="1.0" lineStyle="Dotted"/>
                                </graphicElement>
                        </line>
                </band>
        </title>
        <columnHeader>
                <band height="10">
                        <staticText>
                                <reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="17" y="0" width="143" height="10"/>
                                <textElement verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[DESCRIÇÃO]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="160" y="0" width="35" height="10"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[VL. UNIT]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="0" y="0" width="17" height="10"/>
                                <textElement verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[ITEM]]></text>
                        </staticText>
                </band>
        </columnHeader>
        <detail>
                <band height="20" splitType="Stretch">
                        <subreport>
                                <reportElement uuid="1027a0ad-c78a-4f6d-95ed-05989641e369" positionType="Float" x="0" y="0" width="195" height="20"/>
                                <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{notaFiscal}.getItens())]]></dataSourceExpression>
                                <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_itens.jasper"]]></subreportExpression>
                        </subreport>
                </band>
                <band height="25">
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="4" width="99" 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="99" height="10"/>
                                <textElement>
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[VALOR TOTAL R$]]></text>
                        </staticText>
                        <textField>
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="121" y="4" width="74" height="10"/>
                                <textElement textAlignment="Right" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="6" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{notaFiscal}.getItens().size()]]></textFieldExpression>
                        </textField>
                        <textField>
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="121" y="14" width="74" height="10"/>
                                <textElement textAlignment="Right" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="6" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{notaFiscal}.getValorTotal()]]></textFieldExpression>
                        </textField>
                </band>
                <band height="25">
                        <subreport>
                                <reportElement uuid="1027a0ad-c78a-4f6d-95ed-05989641e369" positionType="Float" x="0" y="10" width="195" height="15"/>
                                <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{notaFiscal}.getPagamentos())]]></dataSourceExpression>
                                <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_pagamentos.jasper"]]></subreportExpression>
                        </subreport>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="99" height="10"/>
                                <textElement>
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[FORMA DE PAGAMENTO]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="121" y="0" width="74" height="10"/>
                                <textElement textAlignment="Right">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[VALOR PAGO R$]]></text>
                        </staticText>
                </band>
                <band height="26">
                        <textField>
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="0" y="0" width="195" height="26"/>
                                <textElement textAlignment="Center" verticalAlignment="Top">
                                        <font fontName="SansSerif" size="6" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA["OBS.: " + $F{notaFiscal}.getVenda().getObservacao()]]></textFieldExpression>
                        </textField>
                </band>
        </detail>
        <pageFooter>
                <band height="30" splitType="Stretch">
                        <subreport>
                                <reportElement uuid="ae8d065c-9cac-41c0-b26e-489b91e02902" x="0" y="0" width="195" height="25"/>
                                <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
                                <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_rodape.jasper"]]></subreportExpression>
                        </subreport>
                </band>
        </pageFooter>
</jasperReport>