Subversion Repositories Integrator Subversion

Rev

Rev 182 | Details | Compare with Previous | 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="relatorio_comanda" 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="0"/>
5
	<property name="ireport.y" value="127"/>
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="notaFiscal" class="br.com.ec.domain.dto.nfce.NotaFiscalDTO">
13
		<fieldDescription><![CDATA[notaFiscal]]></fieldDescription>
14
	</field>
15
	<background>
16
		<band splitType="Stretch"/>
17
	</background>
18
	<title>
19
		<band height="40" splitType="Stretch">
20
			<line>
21
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="39" width="195" height="1"/>
22
				<graphicElement>
23
					<pen lineWidth="1.0" lineStyle="Dotted"/>
24
				</graphicElement>
25
			</line>
26
			<subreport>
27
				<reportElement uuid="b6db748c-379b-4157-8672-20b46c75530e" x="0" y="0" width="195" height="30"/>
28
				<subreportParameter name="pCnpj">
29
					<subreportParameterExpression><![CDATA[$F{notaFiscal}.getCnpjDaLoja()]]></subreportParameterExpression>
30
				</subreportParameter>
31
				<subreportParameter name="pEndereco">
32
					<subreportParameterExpression><![CDATA[$F{notaFiscal}.getEnderecoDoEmitente()]]></subreportParameterExpression>
33
				</subreportParameter>
34
				<subreportParameter name="pRazaoSocial">
35
					<subreportParameterExpression><![CDATA[$F{notaFiscal}.getRazaoSocialDaLoja()]]></subreportParameterExpression>
36
				</subreportParameter>
37
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
38
				<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "comanda_cabecalho.jasper"]]></subreportExpression>
39
			</subreport>
40
			<staticText>
41
				<reportElement uuid="8cb4c6d2-d253-42d4-9839-59e04e746346" x="0" y="30" width="195" height="10"/>
42
				<textElement textAlignment="Center" verticalAlignment="Middle">
43
					<font fontName="SansSerif" size="5" isBold="true"/>
44
				</textElement>
45
				<text><![CDATA[CUPOM NÃO FISCAL]]></text>
46
			</staticText>
47
			<line>
48
				<reportElement uuid="45815a89-efc7-4031-866f-8a1001126cba" key="line" positionType="Float" x="0" y="30" width="195" height="1"/>
49
				<graphicElement>
50
					<pen lineWidth="1.0" lineStyle="Dotted"/>
51
				</graphicElement>
52
			</line>
53
		</band>
54
	</title>
55
	<columnHeader>
56
		<band height="10">
57
			<staticText>
58
				<reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="17" y="0" width="143" height="10"/>
59
				<textElement verticalAlignment="Middle">
60
					<font fontName="SansSerif" size="6" isBold="true"/>
61
				</textElement>
62
				<text><![CDATA[DESCRIÇÃO]]></text>
63
			</staticText>
64
			<staticText>
65
				<reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="160" y="0" width="35" height="10"/>
66
				<textElement textAlignment="Center" verticalAlignment="Middle">
67
					<font fontName="SansSerif" size="6" isBold="true"/>
68
				</textElement>
69
				<text><![CDATA[VL. UNIT]]></text>
70
			</staticText>
71
			<staticText>
72
				<reportElement uuid="6423b892-6a8f-4bac-9f06-2dc94d036b43" x="0" y="0" width="17" height="10"/>
73
				<textElement verticalAlignment="Middle">
74
					<font fontName="SansSerif" size="6" isBold="true"/>
75
				</textElement>
76
				<text><![CDATA[ITEM]]></text>
77
			</staticText>
78
		</band>
79
	</columnHeader>
80
	<detail>
81
		<band height="20" splitType="Stretch">
82
			<subreport>
83
				<reportElement uuid="1027a0ad-c78a-4f6d-95ed-05989641e369" positionType="Float" x="0" y="0" width="195" height="20"/>
84
				<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{notaFiscal}.getItens())]]></dataSourceExpression>
85
				<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_itens.jasper"]]></subreportExpression>
86
			</subreport>
87
		</band>
88
		<band height="25">
89
			<staticText>
90
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="4" width="99" height="10"/>
91
				<textElement>
92
					<font size="6" isBold="true"/>
93
				</textElement>
94
				<text><![CDATA[QTD. TOTAL DE ITENS]]></text>
95
			</staticText>
96
			<staticText>
97
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="14" width="99" height="10"/>
98
				<textElement>
99
					<font size="6" isBold="true"/>
100
				</textElement>
101
				<text><![CDATA[VALOR TOTAL R$]]></text>
102
			</staticText>
103
			<textField>
104
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="121" y="4" width="74" height="10"/>
105
				<textElement textAlignment="Right" verticalAlignment="Middle">
106
					<font fontName="SansSerif" size="6" isBold="true"/>
107
				</textElement>
108
				<textFieldExpression><![CDATA[$F{notaFiscal}.getItens().size()]]></textFieldExpression>
109
			</textField>
110
			<textField>
111
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="121" y="14" width="74" height="10"/>
112
				<textElement textAlignment="Right" verticalAlignment="Middle">
113
					<font fontName="SansSerif" size="6" isBold="true"/>
114
				</textElement>
115
				<textFieldExpression><![CDATA[$F{notaFiscal}.getValorTotal()]]></textFieldExpression>
116
			</textField>
117
		</band>
118
		<band height="25">
119
			<subreport>
120
				<reportElement uuid="1027a0ad-c78a-4f6d-95ed-05989641e369" positionType="Float" x="0" y="10" width="195" height="15"/>
121
				<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{notaFiscal}.getPagamentos())]]></dataSourceExpression>
122
				<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_pagamentos.jasper"]]></subreportExpression>
123
			</subreport>
124
			<staticText>
125
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="0" y="0" width="99" height="10"/>
126
				<textElement>
127
					<font size="6" isBold="true"/>
128
				</textElement>
129
				<text><![CDATA[FORMA DE PAGAMENTO]]></text>
130
			</staticText>
131
			<staticText>
132
				<reportElement uuid="b4d67b56-c1ce-49cb-91df-d131f4fe3fc3" x="121" y="0" width="74" height="10"/>
133
				<textElement textAlignment="Right">
134
					<font size="6" isBold="true"/>
135
				</textElement>
136
				<text><![CDATA[VALOR PAGO R$]]></text>
137
			</staticText>
138
		</band>
139
		<band height="26">
140
			<textField>
141
				<reportElement uuid="b4a670a0-38fe-4fe8-bdc1-891ed7ff05f1" x="0" y="0" width="195" height="26"/>
142
				<textElement textAlignment="Center" verticalAlignment="Top">
143
					<font fontName="SansSerif" size="6" isBold="true"/>
144
				</textElement>
145
				<textFieldExpression><![CDATA["OBS.: " + $F{notaFiscal}.getVenda().getObservacao()]]></textFieldExpression>
146
			</textField>
147
		</band>
148
	</detail>
149
	<pageFooter>
150
		<band height="30" splitType="Stretch">
151
			<subreport>
152
				<reportElement uuid="ae8d065c-9cac-41c0-b26e-489b91e02902" x="0" y="0" width="195" height="25"/>
153
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
154
				<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "nfce_rodape.jasper"]]></subreportExpression>
155
			</subreport>
156
		</band>
157
	</pageFooter>
158
</jasperReport>