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="comprovante_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.8974342000000077"/> |
||
| 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 | <parameter name="IMAGE_DIR" class="java.lang.String" isForPrompting="false"> |
||
| 10 | <defaultValueExpression><![CDATA[""]]></defaultValueExpression> |
||
| 11 | </parameter> |
||
| 12 | <queryString> |
||
| 13 | <![CDATA[]]> |
||
| 14 | </queryString> |
||
| 15 | <field name="cupom" class="br.com.ec.domain.model.Cupom"> |
||
| 16 | <fieldDescription><![CDATA[cupom]]></fieldDescription> |
||
| 17 | </field> |
||
| 18 | <background> |
||
| 19 | <band splitType="Stretch"/> |
||
| 20 | </background> |
||
| 21 | <title> |
||
| 22 | <band height="20" splitType="Stretch"> |
||
| 23 | <line> |
||
| 24 | <reportElement key="line" positionType="Float" x="0" y="19" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/> |
||
| 25 | <graphicElement> |
||
| 26 | <pen lineWidth="1.0" lineStyle="Dotted"/> |
||
| 27 | </graphicElement> |
||
| 28 | </line> |
||
| 29 | <image> |
||
| 30 | <reportElement mode="Transparent" x="0" y="0" width="36" height="20" uuid="4f8810e5-44d1-46e3-ac0c-6e0b2ac883e4"/> |
||
| 31 | <imageExpression><![CDATA[$P{IMAGE_DIR} + "logotipo.png"]]></imageExpression> |
||
| 32 | </image> |
||
| 33 | <staticText> |
||
| 34 | <reportElement x="36" y="0" width="159" height="19" uuid="8cb4c6d2-d253-42d4-9839-59e04e746346"/> |
||
| 35 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
||
| 36 | <font fontName="SansSerif" size="11" isBold="true"/> |
||
| 37 | </textElement> |
||
| 38 | <text><![CDATA[CUPOM DE DESCONTO]]></text> |
||
| 39 | </staticText> |
||
| 40 | </band> |
||
| 41 | </title> |
||
| 42 | <detail> |
||
| 43 | <band height="64" splitType="Stretch"> |
||
| 44 | <textField isBlankWhenNull="true"> |
||
| 45 | <reportElement x="0" y="33" width="195" height="30" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 46 | <textElement verticalAlignment="Top"> |
||
| 47 | <font fontName="SansSerif" size="8" isBold="true"/> |
||
| 48 | </textElement> |
||
| 49 | <textFieldExpression><![CDATA[$F{cupom}.getDescricao()]]></textFieldExpression> |
||
| 50 | </textField> |
||
| 51 | <textField isBlankWhenNull="true"> |
||
| 52 | <reportElement x="0" y="22" width="195" height="12" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"> |
||
| 53 | <printWhenExpression><![CDATA[$F{cupom}.getDataHoraValidade() != null]]></printWhenExpression> |
||
| 54 | </reportElement> |
||
| 55 | <textElement verticalAlignment="Middle"> |
||
| 56 | <font fontName="SansSerif" size="8" isBold="true"/> |
||
| 57 | </textElement> |
||
| 58 | <textFieldExpression><![CDATA["VÁLIDO ATÉ O DIA " + $F{cupom}.getDataHoraValidade()]]></textFieldExpression> |
||
| 59 | </textField> |
||
| 60 | <textField isBlankWhenNull="true"> |
||
| 61 | <reportElement x="0" y="11" width="195" height="12" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 62 | <textElement verticalAlignment="Middle"> |
||
| 63 | <font fontName="SansSerif" size="8" isBold="true"/> |
||
| 64 | </textElement> |
||
| 65 | <textFieldExpression><![CDATA["DESCONTO DE: " + $F{cupom}.getValorCupomFormatado()]]></textFieldExpression> |
||
| 66 | </textField> |
||
| 67 | <textField> |
||
| 68 | <reportElement x="0" y="0" width="195" height="12" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/> |
||
| 69 | <textElement verticalAlignment="Middle"> |
||
| 70 | <font fontName="SansSerif" size="8" isBold="true"/> |
||
| 71 | </textElement> |
||
| 72 | <textFieldExpression><![CDATA["UTILIZE O CÓDIGO: " + $F{cupom}.getCodigo()]]></textFieldExpression> |
||
| 73 | </textField> |
||
| 74 | </band> |
||
| 75 | </detail> |
||
| 76 | <pageFooter> |
||
| 77 | <band height="10" splitType="Stretch"/> |
||
| 78 | </pageFooter> |
||
| 79 | </jasperReport> |