<?xml version="1.0" encoding="UTF-8"?>
<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="RelatorioTrocoSimples" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="9b78f5a7-cc2c-45b3-a908-80ed959450ef">
	<property name="ireport.zoom" value="1.3310000000000008"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="USUARIO" class="java.lang.String"/>
	<parameter name="FILTROS" class="java.lang.String"/>
	<parameter name="NOME_RELATORIO" class="java.lang.String"/>
	<field name="valorTroco" class="java.math.BigDecimal"/>
	<field name="puntoVenta" class="java.lang.String"/>
	<field name="bilhetero" class="java.lang.String"/>
	<field name="boleto" class="java.lang.String"/>
	<field name="transacao" class="java.lang.String"/>
	<variable name="total_troco" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{valorTroco}]]></variableExpression>
	</variable>
	<title>
		<band height="91" splitType="Stretch">
			<line>
				<reportElement uuid="54719d85-3e16-47ba-8a7d-50d626129e3d" x="0" y="68" width="554" height="1"/>
			</line>
			<textField>
				<reportElement uuid="abfa62bc-56f8-4add-8903-0b64e8dbac7a" x="265" y="0" width="186" height="25"/>
				<textElement textAlignment="Right">
					<font size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="1a6a5b3b-d765-4d73-98d5-bd050b49dcf3" mode="Transparent" x="451" y="41" width="104" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement uuid="9f8fb8ed-d527-4abf-9a65-791a8a9ce032" positionType="Float" x="0" y="84" width="554" height="1"/>
			</line>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="942f5b46-6e12-4ef7-8f5f-28c8b90062e1" mode="Transparent" x="265" y="25" width="267" height="16" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
				<reportElement uuid="2acc421d-eff6-44d3-a35d-23d25afbba1a" mode="Transparent" x="533" y="25" width="21" height="16" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
				<reportElement uuid="54330d46-2a96-4065-b0ee-7d80265e78b0" mode="Transparent" x="451" y="0" width="104" height="25" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement uuid="852c6b40-a6cd-4a7d-9067-57114f688220" x="0" y="69" width="555" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="16fc4ee9-a895-4859-831b-4f609ff16d50" mode="Transparent" x="0" y="0" width="265" height="41" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
					<font fontName="SansSerif" size="14" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<columnHeader>
		<band height="15" splitType="Stretch">
			<textField>
				<reportElement uuid="68191269-1e16-42c9-b30a-216b713c2248" x="465" y="0" width="90" height="15"/>
				<textElement markup="none">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.valorTroco}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="05d13cc3-cf84-4f7c-9870-469abfedbe4c" x="0" y="0" width="125" height="15"/>
				<textElement textAlignment="Center" markup="none">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.puntoVenta}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="9a6d0d0c-292f-432e-a913-6af81eeaa4e8" x="125" y="0" width="127" height="15"/>
				<textElement textAlignment="Center" markup="none">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.bilheteiro}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="120e5f49-3558-4246-b8a3-8f548f0880eb" x="252" y="0" width="83" height="15"/>
				<textElement textAlignment="Center" markup="none">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.boleto}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="43676e8a-4c56-4b0c-b986-30e243ccb426" x="335" y="0" width="130" height="15"/>
				<textElement textAlignment="Center" markup="none">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.transacao}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="15" splitType="Stretch">
			<textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement uuid="ddc9d137-b7ca-4f6d-a74d-deebadf6a0f6" stretchType="RelativeToTallestObject" x="465" y="0" width="90" height="15"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{valorTroco}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="670dca95-d431-469c-8b4a-094ca0639c12" stretchType="RelativeToTallestObject" x="0" y="0" width="125" height="15"/>
				<textElement textAlignment="Center">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{puntoVenta}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="50796f6d-a1a4-4f01-8ed3-d1a6ee379275" stretchType="RelativeToTallestObject" x="125" y="0" width="127" height="15"/>
				<textElement textAlignment="Center">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{bilhetero}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="fc5531a4-0bea-446c-9ab7-0556cb5f1fa7" stretchType="RelativeToTallestObject" x="252" y="0" width="83" height="15"/>
				<textElement textAlignment="Center">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{boleto}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="9d763742-fe7c-4aab-b7bc-36a40a205c99" stretchType="RelativeToTallestObject" x="335" y="0" width="130" height="15"/>
				<textElement textAlignment="Center">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{transacao}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<summary>
		<band height="15" splitType="Stretch">
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement uuid="fb1971f4-87ae-4655-b5b9-68d6d3ea9790" x="465" y="0" width="90" height="15"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total_troco}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="46410d89-69fc-40e0-aa04-1410ef9507fd" x="281" y="0" width="184" height="15"/>
				<textElement textAlignment="Right" markup="none">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.totalTroco}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="50">
			<textField>
				<reportElement uuid="ca28756b-0f01-49c4-ad61-436c3ec083a1" x="0" y="24" width="575" height="26"/>
				<textElement markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
