Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 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_reserva_pedido" 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="33"/>
5
	<property name="ireport.y" value="77"/>
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="pedido" class="br.com.ec.domain.dto.PedidoDTO">
13
		<fieldDescription><![CDATA[pedido]]></fieldDescription>
14
	</field>
15
	<background>
16
		<band splitType="Stretch"/>
17
	</background>
18
	<title>
19
		<band height="16" splitType="Stretch">
20
			<line>
21
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="14" width="195" height="1"/>
22
				<graphicElement>
23
					<pen lineWidth="1.0" lineStyle="Dotted"/>
24
				</graphicElement>
25
			</line>
26
			<staticText>
27
				<reportElement uuid="8cb4c6d2-d253-42d4-9839-59e04e746346" x="0" y="-1" width="195" height="15"/>
28
				<textElement textAlignment="Center" verticalAlignment="Middle">
29
					<font fontName="SansSerif" size="9" isBold="true"/>
30
				</textElement>
31
				<text><![CDATA[]]></text>
32
			</staticText>
33
		</band>
34
	</title>
35
	<detail>
36
		<band height="49" splitType="Stretch">
37
			<textField isBlankWhenNull="true">
38
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="12" width="135" height="12"/>
39
				<textElement verticalAlignment="Top">
40
					<font fontName="SansSerif" size="8" isBold="true"/>
41
				</textElement>
42
				<textFieldExpression><![CDATA[$F{pedido}.getInformacoesBasicasCliente()]]></textFieldExpression>
43
			</textField>
44
			<textField>
45
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="0" width="79" height="12"/>
46
				<textElement verticalAlignment="Top">
47
					<font fontName="SansSerif" size="8" isBold="true"/>
48
				</textElement>
49
				<textFieldExpression><![CDATA[new java.text.SimpleDateFormat("dd'/'MM'/'yyyy", new Locale("pt", "BR")).format($F{pedido}.getDataUltimaAlteracaoSituacao()).toUpperCase()]]></textFieldExpression>
50
			</textField>
51
			<textField>
52
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="24" width="135" height="12"/>
53
				<textElement verticalAlignment="Top">
54
					<font fontName="SansSerif" size="8" isBold="true"/>
55
				</textElement>
56
				<textFieldExpression><![CDATA[$F{pedido}.getNomePessoaDoPedido()]]></textFieldExpression>
57
			</textField>
58
			<staticText>
59
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="32" y="0" width="28" height="12"/>
60
				<textElement textAlignment="Right">
61
					<font size="8" isBold="true"/>
62
				</textElement>
63
				<text><![CDATA[DATA: ]]></text>
64
			</staticText>
65
			<staticText>
66
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="24" width="60" height="12"/>
67
				<textElement textAlignment="Right">
68
					<font size="8" isBold="true"/>
69
				</textElement>
70
				<text><![CDATA[SOLICITANTE: ]]></text>
71
			</staticText>
72
			<staticText>
73
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="36" width="60" height="12"/>
74
				<textElement textAlignment="Right">
75
					<font size="8" isBold="true"/>
76
				</textElement>
77
				<text><![CDATA[VALOR: ]]></text>
78
			</staticText>
79
			<textField>
80
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="36" width="135" height="12"/>
81
				<textElement verticalAlignment="Top">
82
					<font fontName="SansSerif" size="8" isBold="true"/>
83
				</textElement>
84
				<textFieldExpression><![CDATA["R$ " + $F{pedido}.getValorTotalProdutos()]]></textFieldExpression>
85
			</textField>
86
			<textField>
87
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="0" y="-17" width="195" height="15"/>
88
				<textElement textAlignment="Center" verticalAlignment="Middle">
89
					<font fontName="SansSerif" size="10" isBold="true"/>
90
				</textElement>
91
				<textFieldExpression><![CDATA["PEDIDO: " + $F{pedido}.getSequencial()]]></textFieldExpression>
92
			</textField>
93
			<staticText>
94
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="12" width="60" height="12"/>
95
				<textElement textAlignment="Right">
96
					<font size="8" isBold="true"/>
97
				</textElement>
98
				<text><![CDATA[CLIENTE: ]]></text>
99
			</staticText>
100
		</band>
101
		<band height="40">
102
			<subreport>
103
				<reportElement uuid="1027a0ad-c78a-4f6d-95ed-05989641e369" positionType="Float" x="0" y="12" width="195" height="28"/>
104
				<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{pedido}.getProdutos())]]></dataSourceExpression>
105
				<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "comprovante_reserva_pedido_produtos.jasper"]]></subreportExpression>
106
			</subreport>
107
			<staticText>
108
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="195" height="10"/>
109
				<textElement textAlignment="Center" verticalAlignment="Middle">
110
					<font size="6" isBold="true"/>
111
				</textElement>
112
				<text><![CDATA[PRODUTOS]]></text>
113
			</staticText>
114
			<line>
115
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="9" width="195" height="1"/>
116
				<graphicElement>
117
					<pen lineWidth="1.0" lineStyle="Dotted"/>
118
				</graphicElement>
119
			</line>
120
			<line>
121
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="0" width="195" height="1"/>
122
				<graphicElement>
123
					<pen lineWidth="1.0" lineStyle="Dotted"/>
124
				</graphicElement>
125
			</line>
126
		</band>
127
		<band height="33">
128
			<line>
129
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="0" width="195" height="1"/>
130
				<graphicElement>
131
					<pen lineWidth="1.0" lineStyle="Dotted"/>
132
				</graphicElement>
133
			</line>
134
			<textField isStretchWithOverflow="true">
135
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="0" y="12" width="195" height="21"/>
136
				<textElement textAlignment="Justified" verticalAlignment="Top">
137
					<font fontName="SansSerif" size="8" isBold="true"/>
138
				</textElement>
139
				<textFieldExpression><![CDATA[$F{pedido}.getObservacao()]]></textFieldExpression>
140
			</textField>
141
			<line>
142
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="0" width="195" height="1"/>
143
				<graphicElement>
144
					<pen lineWidth="1.0" lineStyle="Dotted"/>
145
				</graphicElement>
146
			</line>
147
			<line>
148
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="9" width="195" height="1"/>
149
				<graphicElement>
150
					<pen lineWidth="1.0" lineStyle="Dotted"/>
151
				</graphicElement>
152
			</line>
153
			<staticText>
154
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="195" height="10"/>
155
				<textElement textAlignment="Center" verticalAlignment="Middle">
156
					<font size="6" isBold="true"/>
157
				</textElement>
158
				<text><![CDATA[OBSERVAÇÕES]]></text>
159
			</staticText>
160
		</band>
161
		<band height="34">
162
			<line>
163
				<reportElement uuid="e340c7b3-adf9-4724-9df4-d3ea37e4c3e2" x="38" y="21" width="126" height="1"/>
164
			</line>
165
			<textField isStretchWithOverflow="true">
166
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="0" y="21" width="195" height="13"/>
167
				<textElement textAlignment="Center" verticalAlignment="Middle">
168
					<font fontName="SansSerif" size="8" isBold="true"/>
169
				</textElement>
170
				<textFieldExpression><![CDATA["ASSINATURA"]]></textFieldExpression>
171
			</textField>
172
		</band>
173
	</detail>
174
	<pageFooter>
175
		<band height="10" splitType="Stretch">
176
			<textField isBlankWhenNull="true">
177
				<reportElement uuid="0ad83100-9e7e-42de-97b6-51dc07b7dd68" x="0" y="0" width="195" height="10"/>
178
				<textElement textAlignment="Right" verticalAlignment="Middle">
179
					<font fontName="SansSerif" size="6" isBold="true"/>
180
				</textElement>
181
				<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>
182
			</textField>
183
		</band>
184
	</pageFooter>
185
</jasperReport>