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="comprovante_reserva_pedido" 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="5.1874849202000135"/>
        <property name="ireport.x" value="0"/>
        <property name="ireport.y" value="480"/>
        <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
                <defaultValueExpression><![CDATA[""]]></defaultValueExpression>
        </parameter>
        <queryString>
                <![CDATA[]]>
        </queryString>
        <field name="pedido" class="br.com.ec.domain.dto.PedidoDTO">
                <fieldDescription><![CDATA[pedido]]></fieldDescription>
        </field>
        <background>
                <band splitType="Stretch"/>
        </background>
        <title>
                <band height="16" splitType="Stretch">
                        <line>
                                <reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="14" width="195" height="1"/>
                                <graphicElement>
                                        <pen lineWidth="1.0" lineStyle="Dotted"/>
                                </graphicElement>
                        </line>
                        <staticText>
                                <reportElement uuid="8cb4c6d2-d253-42d4-9839-59e04e746346" x="0" y="-1" width="195" height="15"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="9" isBold="true"/>
                                </textElement>
                                <text><![CDATA[]]></text>
                        </staticText>
                </band>
        </title>
        <detail>
                <band height="12">
                        <textField isStretchWithOverflow="true" isBlankWhenNull="true">
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="0" width="135" height="12"/>
                                <textElement verticalAlignment="Top">
                                        <font fontName="SansSerif" size="8" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{pedido}.getInformacoesBasicasCliente()]]></textFieldExpression>
                        </textField>
                        <textField>
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="0" y="-17" width="195" height="15"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="10" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA["PEDIDO: " + $F{pedido}.getSequencial() + "  :  " + new java.text.SimpleDateFormat("dd'/'MM'/'yyyy", new Locale("pt", "BR")).format($F{pedido}.getDataUltimaAlteracaoSituacao()).toUpperCase()]]></textFieldExpression>
                        </textField>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="60" height="12"/>
                                <textElement textAlignment="Right" verticalAlignment="Top">
                                        <font size="8" isBold="true"/>
                                </textElement>
                                <text><![CDATA[CLIENTE: ]]></text>
                        </staticText>
                </band>
                <band height="37">
                        <textField>
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="0" width="135" height="12"/>
                                <textElement verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="8" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{pedido}.getNomePessoaDoPedido()]]></textFieldExpression>
                        </textField>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="60" height="12"/>
                                <textElement textAlignment="Right" verticalAlignment="Middle">
                                        <font size="8" isBold="true"/>
                                </textElement>
                                <text><![CDATA[SOLICITANTE: ]]></text>
                        </staticText>
                        <textField>
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="24" width="135" height="12"/>
                                <textElement verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="8" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA["R$ " + $F{pedido}.getValorTotalProdutos()]]></textFieldExpression>
                        </textField>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="24" width="60" height="12"/>
                                <textElement textAlignment="Right" verticalAlignment="Middle">
                                        <font size="8" isBold="true"/>
                                </textElement>
                                <text><![CDATA[VALOR: ]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="12" width="60" height="12"/>
                                <textElement textAlignment="Right" verticalAlignment="Middle">
                                        <font size="8" isBold="true"/>
                                </textElement>
                                <text><![CDATA[LOJA: ]]></text>
                        </staticText>
                        <textField>
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="12" width="135" height="12"/>
                                <textElement verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="8" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{pedido}.getDescricaoLoja()]]></textFieldExpression>
                        </textField>
                </band>
                <band height="40">
                        <printWhenExpression><![CDATA[!$F{pedido}.getProdutos().isEmpty()]]></printWhenExpression>
                        <subreport>
                                <reportElement uuid="1027a0ad-c78a-4f6d-95ed-05989641e369" positionType="Float" x="5" y="12" width="185" height="28"/>
                                <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{pedido}.getProdutos())]]></dataSourceExpression>
                                <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "comprovante_reserva_pedido_produtos.jasper"]]></subreportExpression>
                        </subreport>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="195" height="10"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[PRODUTOS]]></text>
                        </staticText>
                        <line>
                                <reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="9" width="195" height="1"/>
                                <graphicElement>
                                        <pen lineWidth="1.0" lineStyle="Dotted"/>
                                </graphicElement>
                        </line>
                        <line>
                                <reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="0" width="195" height="1"/>
                                <graphicElement>
                                        <pen lineWidth="1.0" lineStyle="Dotted"/>
                                </graphicElement>
                        </line>
                </band>
                <band height="74">
                        <printWhenExpression><![CDATA[$F{pedido}.getProdutos().isEmpty()]]></printWhenExpression>
                        <line>
                                <reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="9" width="195" height="1"/>
                                <graphicElement>
                                        <pen lineWidth="1.0" lineStyle="Dotted"/>
                                </graphicElement>
                        </line>
                        <line>
                                <reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="0" width="195" height="1"/>
                                <graphicElement>
                                        <pen lineWidth="1.0" lineStyle="Dotted"/>
                                </graphicElement>
                        </line>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="195" height="10"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[DETALHES]]></text>
                        </staticText>
                        <textField isStretchWithOverflow="true">
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="24" width="130" height="12"/>
                                <textElement textAlignment="Justified" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="8" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{pedido}.getModelo().getDescricao()]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="true">
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="36" width="130" height="12"/>
                                <textElement textAlignment="Justified" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="8" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{pedido}.getDescricaoGenero()]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="true">
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="48" width="130" height="12"/>
                                <textElement textAlignment="Justified" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="8" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{pedido}.getDescricaoEstiloProduto()]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="true">
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="60" width="130" height="12"/>
                                <textElement textAlignment="Justified" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="8" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{pedido}.getDescricaoCorProduto()]]></textFieldExpression>
                        </textField>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="24" width="60" height="12"/>
                                <textElement textAlignment="Right" verticalAlignment="Middle">
                                        <font size="8" isBold="true"/>
                                </textElement>
                                <text><![CDATA[MODELO: ]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="36" width="60" height="12"/>
                                <textElement textAlignment="Right" verticalAlignment="Middle">
                                        <font size="8" isBold="true"/>
                                </textElement>
                                <text><![CDATA[GÊNERO: ]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="12" width="60" height="12"/>
                                <textElement textAlignment="Right" verticalAlignment="Middle">
                                        <font size="8" isBold="true"/>
                                </textElement>
                                <text><![CDATA[TIPO: ]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="48" width="60" height="12"/>
                                <textElement textAlignment="Right" verticalAlignment="Middle">
                                        <font size="8" isBold="true"/>
                                </textElement>
                                <text><![CDATA[ESTILO: ]]></text>
                        </staticText>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="60" width="60" height="12"/>
                                <textElement textAlignment="Right" verticalAlignment="Middle">
                                        <font size="8" isBold="true"/>
                                </textElement>
                                <text><![CDATA[COR: ]]></text>
                        </staticText>
                        <textField isStretchWithOverflow="true">
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="12" width="130" height="12"/>
                                <textElement textAlignment="Justified" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="8" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{pedido}.getDescricaoTipoProduto()]]></textFieldExpression>
                        </textField>
                </band>
                <band height="34">
                        <line>
                                <reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="0" width="195" height="1"/>
                                <graphicElement>
                                        <pen lineWidth="1.0" lineStyle="Dotted"/>
                                </graphicElement>
                        </line>
                        <line>
                                <reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="0" width="195" height="1"/>
                                <graphicElement>
                                        <pen lineWidth="1.0" lineStyle="Dotted"/>
                                </graphicElement>
                        </line>
                        <line>
                                <reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="9" width="195" height="1"/>
                                <graphicElement>
                                        <pen lineWidth="1.0" lineStyle="Dotted"/>
                                </graphicElement>
                        </line>
                        <staticText>
                                <reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="195" height="10"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font size="6" isBold="true"/>
                                </textElement>
                                <text><![CDATA[OBSERVAÇÕES]]></text>
                        </staticText>
                        <textField isStretchWithOverflow="true">
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="5" y="12" width="185" height="21"/>
                                <textElement textAlignment="Justified" verticalAlignment="Top">
                                        <font fontName="SansSerif" size="8" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{pedido}.getObservacao()]]></textFieldExpression>
                        </textField>
                </band>
                <band height="26">
                        <line>
                                <reportElement uuid="e340c7b3-adf9-4724-9df4-d3ea37e4c3e2" x="38" y="13" width="126" height="1"/>
                        </line>
                        <textField isStretchWithOverflow="true">
                                <reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="0" y="13" width="195" height="13"/>
                                <textElement textAlignment="Center" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="8" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA["ASSINATURA"]]></textFieldExpression>
                        </textField>
                </band>
        </detail>
        <pageFooter>
                <band height="10" splitType="Stretch">
                        <textField isBlankWhenNull="true">
                                <reportElement uuid="0ad83100-9e7e-42de-97b6-51dc07b7dd68" x="5" y="0" width="185" height="10"/>
                                <textElement textAlignment="Right" verticalAlignment="Middle">
                                        <font fontName="SansSerif" size="6" isBold="true"/>
                                </textElement>
                                <textFieldExpression><![CDATA[new java.text.SimpleDateFormat("'EMITIDO EM: 'dd'/'MM'/'yyyy ' ÀS ' HH:mm", new Locale("pt", "BR")).format(new java.util.Date()).toUpperCase()]]></textFieldExpression>
                        </textField>
                </band>
        </pageFooter>
</jasperReport>