Subversion Repositories Integrator Subversion

Rev

Rev 106 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
106 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"/>
241 espaco 4
	<property name="ireport.x" value="103"/>
5
	<property name="ireport.y" value="48"/>
106 espaco 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>
241 espaco 21
				<reportElement key="line" positionType="Float" x="0" y="14" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/>
106 espaco 22
				<graphicElement>
23
					<pen lineWidth="1.0" lineStyle="Dotted"/>
24
				</graphicElement>
25
			</line>
26
			<staticText>
241 espaco 27
				<reportElement x="0" y="-1" width="195" height="15" uuid="8cb4c6d2-d253-42d4-9839-59e04e746346"/>
106 espaco 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">
241 espaco 38
				<reportElement x="70" y="0" width="125" height="12" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/>
106 espaco 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>
241 espaco 45
				<reportElement x="0" y="-17" width="195" height="15" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/>
106 espaco 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>
241 espaco 52
				<reportElement x="0" y="0" width="68" height="12" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/>
53
				<textElement textAlignment="Right" verticalAlignment="Middle">
106 espaco 54
					<font size="8" isBold="true"/>
55
				</textElement>
56
				<text><![CDATA[CLIENTE: ]]></text>
57
			</staticText>
58
		</band>
59
		<band height="37">
60
			<textField>
241 espaco 61
				<reportElement x="70" y="0" width="125" height="12" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/>
106 espaco 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>
241 espaco 68
				<reportElement x="0" y="0" width="68" height="12" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/>
106 espaco 69
				<textElement textAlignment="Right" verticalAlignment="Middle">
70
					<font size="8" isBold="true"/>
71
				</textElement>
72
				<text><![CDATA[SOLICITANTE: ]]></text>
73
			</staticText>
74
			<textField>
241 espaco 75
				<reportElement x="70" y="24" width="125" height="12" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/>
106 espaco 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>
241 espaco 82
				<reportElement x="0" y="24" width="68" height="12" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/>
106 espaco 83
				<textElement textAlignment="Right" verticalAlignment="Middle">
84
					<font size="8" isBold="true"/>
85
				</textElement>
86
				<text><![CDATA[VALOR: ]]></text>
87
			</staticText>
88
			<staticText>
241 espaco 89
				<reportElement x="0" y="12" width="68" height="12" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/>
106 espaco 90
				<textElement textAlignment="Right" verticalAlignment="Middle">
91
					<font size="8" isBold="true"/>
92
				</textElement>
93
				<text><![CDATA[LOJA: ]]></text>
94
			</staticText>
95
			<textField>
241 espaco 96
				<reportElement x="70" y="12" width="125" height="12" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/>
106 espaco 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>
241 espaco 106
				<reportElement positionType="Float" x="5" y="12" width="185" height="28" uuid="1027a0ad-c78a-4f6d-95ed-05989641e369"/>
106 espaco 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>
241 espaco 111
				<reportElement x="0" y="0" width="195" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/>
106 espaco 112
				<textElement textAlignment="Center" verticalAlignment="Middle">
113
					<font size="6" isBold="true"/>
114
				</textElement>
115
				<text><![CDATA[PRODUTOS]]></text>
116
			</staticText>
117
			<line>
241 espaco 118
				<reportElement key="line" positionType="Float" x="0" y="9" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/>
106 espaco 119
				<graphicElement>
120
					<pen lineWidth="1.0" lineStyle="Dotted"/>
121
				</graphicElement>
122
			</line>
123
			<line>
241 espaco 124
				<reportElement key="line" positionType="Float" x="0" y="0" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/>
106 espaco 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>
241 espaco 133
				<reportElement key="line" positionType="Float" x="0" y="9" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/>
106 espaco 134
				<graphicElement>
135
					<pen lineWidth="1.0" lineStyle="Dotted"/>
136
				</graphicElement>
137
			</line>
138
			<line>
241 espaco 139
				<reportElement key="line" positionType="Float" x="0" y="0" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/>
106 espaco 140
				<graphicElement>
141
					<pen lineWidth="1.0" lineStyle="Dotted"/>
142
				</graphicElement>
143
			</line>
144
			<staticText>
241 espaco 145
				<reportElement x="0" y="0" width="195" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/>
106 espaco 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">
241 espaco 152
				<reportElement x="60" y="24" width="130" height="12" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/>
106 espaco 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">
241 espaco 159
				<reportElement x="60" y="36" width="130" height="12" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/>
106 espaco 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">
241 espaco 166
				<reportElement x="60" y="48" width="130" height="12" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/>
106 espaco 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">
241 espaco 173
				<reportElement x="60" y="60" width="130" height="12" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/>
106 espaco 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>
241 espaco 180
				<reportElement x="0" y="24" width="60" height="12" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/>
106 espaco 181
				<textElement textAlignment="Right" verticalAlignment="Middle">
182
					<font size="8" isBold="true"/>
183
				</textElement>
184
				<text><![CDATA[MODELO: ]]></text>
185
			</staticText>
186
			<staticText>
241 espaco 187
				<reportElement x="0" y="36" width="60" height="12" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/>
106 espaco 188
				<textElement textAlignment="Right" verticalAlignment="Middle">
189
					<font size="8" isBold="true"/>
190
				</textElement>
191
				<text><![CDATA[GÊNERO: ]]></text>
192
			</staticText>
193
			<staticText>
241 espaco 194
				<reportElement x="0" y="12" width="60" height="12" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/>
106 espaco 195
				<textElement textAlignment="Right" verticalAlignment="Middle">
196
					<font size="8" isBold="true"/>
197
				</textElement>
198
				<text><![CDATA[TIPO: ]]></text>
199
			</staticText>
200
			<staticText>
241 espaco 201
				<reportElement x="0" y="48" width="60" height="12" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/>
106 espaco 202
				<textElement textAlignment="Right" verticalAlignment="Middle">
203
					<font size="8" isBold="true"/>
204
				</textElement>
205
				<text><![CDATA[ESTILO: ]]></text>
206
			</staticText>
207
			<staticText>
241 espaco 208
				<reportElement x="0" y="60" width="60" height="12" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/>
106 espaco 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">
241 espaco 215
				<reportElement x="60" y="12" width="130" height="12" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/>
106 espaco 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>
241 espaco 224
				<reportElement key="line" positionType="Float" x="0" y="0" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/>
106 espaco 225
				<graphicElement>
226
					<pen lineWidth="1.0" lineStyle="Dotted"/>
227
				</graphicElement>
228
			</line>
229
			<line>
241 espaco 230
				<reportElement key="line" positionType="Float" x="0" y="0" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/>
106 espaco 231
				<graphicElement>
232
					<pen lineWidth="1.0" lineStyle="Dotted"/>
233
				</graphicElement>
234
			</line>
235
			<line>
241 espaco 236
				<reportElement key="line" positionType="Float" x="0" y="9" width="195" height="1" uuid="45815a89-efc7-4031-866f-8a1001126cba"/>
106 espaco 237
				<graphicElement>
238
					<pen lineWidth="1.0" lineStyle="Dotted"/>
239
				</graphicElement>
240
			</line>
241
			<staticText>
241 espaco 242
				<reportElement x="0" y="0" width="195" height="10" uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3"/>
106 espaco 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">
241 espaco 249
				<reportElement x="5" y="12" width="185" height="21" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/>
106 espaco 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>
241 espaco 258
				<reportElement x="38" y="13" width="126" height="1" uuid="e340c7b3-adf9-4724-9df4-d3ea37e4c3e2"/>
106 espaco 259
			</line>
260
			<textField isStretchWithOverflow="true">
241 espaco 261
				<reportElement x="0" y="13" width="195" height="13" uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1"/>
106 espaco 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">
241 espaco 272
				<reportElement x="5" y="0" width="185" height="10" uuid="0ad83100-9e7e-42de-97b6-51dc07b7dd68"/>
106 espaco 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>