Subversion Repositories Integrator Subversion

Rev

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_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="5.1874849202000135"/>
4
	<property name="ireport.x" value="0"/>
5
	<property name="ireport.y" value="480"/>
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="12">
37
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
38
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="0" 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="0" y="-17" width="195" height="15"/>
46
				<textElement textAlignment="Center" verticalAlignment="Middle">
47
					<font fontName="SansSerif" size="10" isBold="true"/>
48
				</textElement>
49
				<textFieldExpression><![CDATA["PEDIDO: " + $F{pedido}.getSequencial() + "  :  " + new java.text.SimpleDateFormat("dd'/'MM'/'yyyy", new Locale("pt", "BR")).format($F{pedido}.getDataUltimaAlteracaoSituacao()).toUpperCase()]]></textFieldExpression>
50
			</textField>
51
			<staticText>
52
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="60" height="12"/>
53
				<textElement textAlignment="Right" verticalAlignment="Top">
54
					<font size="8" isBold="true"/>
55
				</textElement>
56
				<text><![CDATA[CLIENTE: ]]></text>
57
			</staticText>
58
		</band>
59
		<band height="37">
60
			<textField>
61
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="0" width="135" height="12"/>
62
				<textElement verticalAlignment="Middle">
63
					<font fontName="SansSerif" size="8" isBold="true"/>
64
				</textElement>
65
				<textFieldExpression><![CDATA[$F{pedido}.getNomePessoaDoPedido()]]></textFieldExpression>
66
			</textField>
67
			<staticText>
68
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="60" height="12"/>
69
				<textElement textAlignment="Right" verticalAlignment="Middle">
70
					<font size="8" isBold="true"/>
71
				</textElement>
72
				<text><![CDATA[SOLICITANTE: ]]></text>
73
			</staticText>
74
			<textField>
75
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="24" width="135" height="12"/>
76
				<textElement verticalAlignment="Middle">
77
					<font fontName="SansSerif" size="8" isBold="true"/>
78
				</textElement>
79
				<textFieldExpression><![CDATA["R$ " + $F{pedido}.getValorTotalProdutos()]]></textFieldExpression>
80
			</textField>
81
			<staticText>
82
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="24" width="60" height="12"/>
83
				<textElement textAlignment="Right" verticalAlignment="Middle">
84
					<font size="8" isBold="true"/>
85
				</textElement>
86
				<text><![CDATA[VALOR: ]]></text>
87
			</staticText>
88
			<staticText>
89
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="12" width="60" height="12"/>
90
				<textElement textAlignment="Right" verticalAlignment="Middle">
91
					<font size="8" isBold="true"/>
92
				</textElement>
93
				<text><![CDATA[LOJA: ]]></text>
94
			</staticText>
95
			<textField>
96
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="12" width="135" height="12"/>
97
				<textElement verticalAlignment="Middle">
98
					<font fontName="SansSerif" size="8" isBold="true"/>
99
				</textElement>
100
				<textFieldExpression><![CDATA[$F{pedido}.getDescricaoLoja()]]></textFieldExpression>
101
			</textField>
102
		</band>
103
		<band height="40">
104
			<printWhenExpression><![CDATA[!$F{pedido}.getProdutos().isEmpty()]]></printWhenExpression>
105
			<subreport>
106
				<reportElement uuid="1027a0ad-c78a-4f6d-95ed-05989641e369" positionType="Float" x="5" y="12" width="185" height="28"/>
107
				<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{pedido}.getProdutos())]]></dataSourceExpression>
108
				<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "comprovante_reserva_pedido_produtos.jasper"]]></subreportExpression>
109
			</subreport>
110
			<staticText>
111
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="195" height="10"/>
112
				<textElement textAlignment="Center" verticalAlignment="Middle">
113
					<font size="6" isBold="true"/>
114
				</textElement>
115
				<text><![CDATA[PRODUTOS]]></text>
116
			</staticText>
117
			<line>
118
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="9" width="195" height="1"/>
119
				<graphicElement>
120
					<pen lineWidth="1.0" lineStyle="Dotted"/>
121
				</graphicElement>
122
			</line>
123
			<line>
124
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="0" width="195" height="1"/>
125
				<graphicElement>
126
					<pen lineWidth="1.0" lineStyle="Dotted"/>
127
				</graphicElement>
128
			</line>
129
		</band>
130
		<band height="74">
131
			<printWhenExpression><![CDATA[$F{pedido}.getProdutos().isEmpty()]]></printWhenExpression>
132
			<line>
133
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="9" width="195" height="1"/>
134
				<graphicElement>
135
					<pen lineWidth="1.0" lineStyle="Dotted"/>
136
				</graphicElement>
137
			</line>
138
			<line>
139
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="0" width="195" height="1"/>
140
				<graphicElement>
141
					<pen lineWidth="1.0" lineStyle="Dotted"/>
142
				</graphicElement>
143
			</line>
144
			<staticText>
145
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="195" height="10"/>
146
				<textElement textAlignment="Center" verticalAlignment="Middle">
147
					<font size="6" isBold="true"/>
148
				</textElement>
149
				<text><![CDATA[DETALHES]]></text>
150
			</staticText>
151
			<textField isStretchWithOverflow="true">
152
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="24" width="130" height="12"/>
153
				<textElement textAlignment="Justified" verticalAlignment="Middle">
154
					<font fontName="SansSerif" size="8" isBold="true"/>
155
				</textElement>
156
				<textFieldExpression><![CDATA[$F{pedido}.getModelo().getDescricao()]]></textFieldExpression>
157
			</textField>
158
			<textField isStretchWithOverflow="true">
159
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="36" width="130" height="12"/>
160
				<textElement textAlignment="Justified" verticalAlignment="Middle">
161
					<font fontName="SansSerif" size="8" isBold="true"/>
162
				</textElement>
163
				<textFieldExpression><![CDATA[$F{pedido}.getDescricaoGenero()]]></textFieldExpression>
164
			</textField>
165
			<textField isStretchWithOverflow="true">
166
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="48" width="130" height="12"/>
167
				<textElement textAlignment="Justified" verticalAlignment="Middle">
168
					<font fontName="SansSerif" size="8" isBold="true"/>
169
				</textElement>
170
				<textFieldExpression><![CDATA[$F{pedido}.getDescricaoEstiloProduto()]]></textFieldExpression>
171
			</textField>
172
			<textField isStretchWithOverflow="true">
173
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="60" width="130" height="12"/>
174
				<textElement textAlignment="Justified" verticalAlignment="Middle">
175
					<font fontName="SansSerif" size="8" isBold="true"/>
176
				</textElement>
177
				<textFieldExpression><![CDATA[$F{pedido}.getDescricaoCorProduto()]]></textFieldExpression>
178
			</textField>
179
			<staticText>
180
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="24" width="60" height="12"/>
181
				<textElement textAlignment="Right" verticalAlignment="Middle">
182
					<font size="8" isBold="true"/>
183
				</textElement>
184
				<text><![CDATA[MODELO: ]]></text>
185
			</staticText>
186
			<staticText>
187
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="36" width="60" height="12"/>
188
				<textElement textAlignment="Right" verticalAlignment="Middle">
189
					<font size="8" isBold="true"/>
190
				</textElement>
191
				<text><![CDATA[GÊNERO: ]]></text>
192
			</staticText>
193
			<staticText>
194
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="12" width="60" height="12"/>
195
				<textElement textAlignment="Right" verticalAlignment="Middle">
196
					<font size="8" isBold="true"/>
197
				</textElement>
198
				<text><![CDATA[TIPO: ]]></text>
199
			</staticText>
200
			<staticText>
201
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="48" width="60" height="12"/>
202
				<textElement textAlignment="Right" verticalAlignment="Middle">
203
					<font size="8" isBold="true"/>
204
				</textElement>
205
				<text><![CDATA[ESTILO: ]]></text>
206
			</staticText>
207
			<staticText>
208
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="60" width="60" height="12"/>
209
				<textElement textAlignment="Right" verticalAlignment="Middle">
210
					<font size="8" isBold="true"/>
211
				</textElement>
212
				<text><![CDATA[COR: ]]></text>
213
			</staticText>
214
			<textField isStretchWithOverflow="true">
215
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="60" y="12" width="130" height="12"/>
216
				<textElement textAlignment="Justified" verticalAlignment="Middle">
217
					<font fontName="SansSerif" size="8" isBold="true"/>
218
				</textElement>
219
				<textFieldExpression><![CDATA[$F{pedido}.getDescricaoTipoProduto()]]></textFieldExpression>
220
			</textField>
221
		</band>
222
		<band height="34">
223
			<line>
224
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="0" width="195" height="1"/>
225
				<graphicElement>
226
					<pen lineWidth="1.0" lineStyle="Dotted"/>
227
				</graphicElement>
228
			</line>
229
			<line>
230
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="0" width="195" height="1"/>
231
				<graphicElement>
232
					<pen lineWidth="1.0" lineStyle="Dotted"/>
233
				</graphicElement>
234
			</line>
235
			<line>
236
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="9" width="195" height="1"/>
237
				<graphicElement>
238
					<pen lineWidth="1.0" lineStyle="Dotted"/>
239
				</graphicElement>
240
			</line>
241
			<staticText>
242
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="195" height="10"/>
243
				<textElement textAlignment="Center" verticalAlignment="Middle">
244
					<font size="6" isBold="true"/>
245
				</textElement>
246
				<text><![CDATA[OBSERVAÇÕES]]></text>
247
			</staticText>
248
			<textField isStretchWithOverflow="true">
249
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="5" y="12" width="185" height="21"/>
250
				<textElement textAlignment="Justified" verticalAlignment="Top">
251
					<font fontName="SansSerif" size="8" isBold="true"/>
252
				</textElement>
253
				<textFieldExpression><![CDATA[$F{pedido}.getObservacao()]]></textFieldExpression>
254
			</textField>
255
		</band>
256
		<band height="26">
257
			<line>
258
				<reportElement uuid="e340c7b3-adf9-4724-9df4-d3ea37e4c3e2" x="38" y="13" width="126" height="1"/>
259
			</line>
260
			<textField isStretchWithOverflow="true">
261
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="0" y="13" width="195" height="13"/>
262
				<textElement textAlignment="Center" verticalAlignment="Middle">
263
					<font fontName="SansSerif" size="8" isBold="true"/>
264
				</textElement>
265
				<textFieldExpression><![CDATA["ASSINATURA"]]></textFieldExpression>
266
			</textField>
267
		</band>
268
	</detail>
269
	<pageFooter>
270
		<band height="10" splitType="Stretch">
271
			<textField isBlankWhenNull="true">
272
				<reportElement uuid="0ad83100-9e7e-42de-97b6-51dc07b7dd68" x="5" y="0" width="185" height="10"/>
273
				<textElement textAlignment="Right" verticalAlignment="Middle">
274
					<font fontName="SansSerif" size="6" isBold="true"/>
275
				</textElement>
276
				<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>
277
			</textField>
278
		</band>
279
	</pageFooter>
280
</jasperReport>