<?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="Upomienka" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="511" leftMargin="42" rightMargin="42" topMargin="42" bottomMargin="42" uuid="147462f4-744e-41c4-946c-bea499449018">
	<property name="ireport.zoom" value="1.5"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<style name="Title" fontName="Arial" fontSize="18" isBold="true" pdfFontName="Times-Bold"/>
	<style name="SubTitle" forecolor="#000000" fontName="Arial" fontSize="10" isBold="true"/>
	<style name="Column header" forecolor="#FFFFFF" hAlign="Left" fontName="Arial" fontSize="8" isBold="true"/>
	<style name="Detail" fontName="Arial" fontSize="8"/>
	<style name="Row" mode="Opaque" forecolor="#FFFFFF" backcolor="#FFFFFF">
		<conditionalStyle>
			<conditionExpression><![CDATA[$V{PAGE_COUNT}%2 == 0]]></conditionExpression>
			<style backcolor="#CCFFCC"/>
		</conditionalStyle>
	</style>
	<parameter name="PROGRAM" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="SUBJECT" class="java.lang.String"/>
	<parameter name="NOTE" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="VariabilnySymbol" class="java.lang.String"/>
	<field name="DatumVystavenia" class="java.util.Date"/>
	<field name="DatumSplatnosti" class="java.util.Date"/>
	<field name="Suma" class="java.math.BigDecimal"/>
	<field name="Zostatok" class="java.math.BigDecimal"/>
	<field name="Uhrady" class="java.math.BigDecimal"/>
	<field name="Mena" class="java.lang.String"/>
	<field name="DodavatelNazov" class="java.lang.String"/>
	<field name="DodavatelInfo" class="java.lang.String"/>
	<field name="OdberatelNazov" class="java.lang.String"/>
	<field name="OdberatelInfo" class="java.lang.String"/>
	<field name="PoSplatnosti" class="java.lang.String"/>
	<variable name="SumSuma" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{Suma}]]></variableExpression>
	</variable>
	<variable name="SumUhrady" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{Uhrady}]]></variableExpression>
	</variable>
	<variable name="SumZostatok" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{Zostatok}]]></variableExpression>
	</variable>
	<variable name="SumMena" class="java.lang.String" resetType="Group" resetGroup="Mena">
		<variableExpression><![CDATA[$F{Mena}]]></variableExpression>
	</variable>
	<group name="Mena" isReprintHeaderOnEachPage="true">
		<groupExpression><![CDATA[$F{Mena}]]></groupExpression>
		<groupHeader>
			<band height="11">
				<frame>
					<reportElement uuid="0ddbbc02-3c47-47e7-8890-a18f1516b708" mode="Opaque" x="0" y="0" width="511" height="11" backcolor="#00CC99"/>
					<staticText>
						<reportElement uuid="6adf11b3-8d25-4f8a-a69b-470e7ee0d6b6" style="Column header" x="0" y="0" width="70" height="10"/>
						<box leftPadding="2"/>
						<textElement verticalAlignment="Middle">
							<font pdfEncoding="Cp1250"/>
						</textElement>
						<text><![CDATA[Variabilný symbol]]></text>
					</staticText>
					<staticText>
						<reportElement uuid="0fdac01f-c9e6-436c-940d-d24eb0646402" style="Column header" x="150" y="0" width="80" height="10"/>
						<textElement textAlignment="Center" verticalAlignment="Middle">
							<font pdfEncoding="Cp1250"/>
						</textElement>
						<text><![CDATA[Dátum splatnosti]]></text>
					</staticText>
					<staticText>
						<reportElement uuid="5b6ef47a-1ffb-4921-8a08-7c58f2d28bdf" style="Column header" x="311" y="0" width="50" height="11"/>
						<textElement textAlignment="Right" verticalAlignment="Middle">
							<font pdfEncoding="Cp1250"/>
						</textElement>
						<text><![CDATA[Suma]]></text>
					</staticText>
					<staticText>
						<reportElement uuid="ca105517-8d44-46c3-a59c-5c045107665c" style="Column header" x="461" y="0" width="50" height="11"/>
						<box rightPadding="2"/>
						<textElement textAlignment="Center" verticalAlignment="Middle">
							<font pdfEncoding="Cp1250"/>
						</textElement>
						<text><![CDATA[Mena]]></text>
					</staticText>
					<staticText>
						<reportElement uuid="14c5d3d9-823c-47b0-877d-90b35625a823" style="Column header" x="70" y="0" width="80" height="10"/>
						<textElement textAlignment="Center" verticalAlignment="Middle">
							<font pdfEncoding="Cp1250"/>
						</textElement>
						<text><![CDATA[Dátum vystavenia]]></text>
					</staticText>
					<staticText>
						<reportElement uuid="4083742a-c60f-4ada-a9c5-b6505507ef9a" style="Column header" x="361" y="0" width="50" height="11"/>
						<textElement textAlignment="Right" verticalAlignment="Middle">
							<font pdfEncoding="Cp1250"/>
						</textElement>
						<text><![CDATA[Úhrady]]></text>
					</staticText>
					<staticText>
						<reportElement uuid="48de7665-5a34-42a0-9e9f-ef21425a3dcd" style="Column header" x="411" y="0" width="50" height="11"/>
						<textElement textAlignment="Right" verticalAlignment="Middle">
							<font pdfEncoding="Cp1250"/>
						</textElement>
						<text><![CDATA[Zostatok]]></text>
					</staticText>
					<staticText>
						<reportElement uuid="ac21ac40-1bdb-4e02-bca0-2fd3a8f3a2bf" style="Column header" x="230" y="0" width="81" height="10"/>
						<textElement textAlignment="Center" verticalAlignment="Middle">
							<font pdfEncoding="Cp1250"/>
						</textElement>
						<text><![CDATA[Po splatnosti]]></text>
					</staticText>
				</frame>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="32">
				<frame>
					<reportElement uuid="4ee8aa24-4ee9-48e7-b3a1-c18ab55bda88" mode="Opaque" x="0" y="0" width="511" height="11" backcolor="#00CC99"/>
					<textField pattern="#,##0.00##" isBlankWhenNull="true">
						<reportElement uuid="5cb5492b-55ef-45e2-aab3-8b131b9182f4" style="Column header" x="361" y="0" width="50" height="10"/>
						<textElement textAlignment="Right" verticalAlignment="Middle">
							<font isBold="true"/>
						</textElement>
						<textFieldExpression><![CDATA[$V{SumUhrady}]]></textFieldExpression>
					</textField>
					<textField pattern="#,##0.00##" isBlankWhenNull="true">
						<reportElement uuid="78da8b40-ceef-4fa5-9b28-820d640156dd" style="Column header" x="311" y="0" width="50" height="10"/>
						<textElement textAlignment="Right" verticalAlignment="Middle">
							<font isBold="true"/>
						</textElement>
						<textFieldExpression><![CDATA[$V{SumSuma}]]></textFieldExpression>
					</textField>
					<staticText>
						<reportElement uuid="34ca33ee-ae2d-4d4a-a428-6d05b9a16571" style="Column header" x="0" y="0" width="311" height="10"/>
						<box leftPadding="2"/>
						<textElement textAlignment="Right" verticalAlignment="Middle">
							<font pdfEncoding="Cp1250"/>
						</textElement>
						<text><![CDATA[Spolu]]></text>
					</staticText>
					<textField pattern="" isBlankWhenNull="true">
						<reportElement uuid="595bcef0-9e72-4945-acdc-31cbdf79d7bb" style="Column header" x="461" y="0" width="50" height="10"/>
						<textElement textAlignment="Center" verticalAlignment="Middle">
							<font isBold="true"/>
						</textElement>
						<textFieldExpression><![CDATA[$V{SumMena}]]></textFieldExpression>
					</textField>
					<textField pattern="#,##0.00##" isBlankWhenNull="true">
						<reportElement uuid="a73a0059-9bd0-4045-a24e-dcb50a743448" style="Column header" x="411" y="0" width="50" height="10"/>
						<textElement textAlignment="Right" verticalAlignment="Middle">
							<font isBold="true"/>
						</textElement>
						<textFieldExpression><![CDATA[$V{SumZostatok}]]></textFieldExpression>
					</textField>
				</frame>
			</band>
		</groupFooter>
	</group>
	<pageHeader>
		<band height="52" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="a9d505d3-6be3-468a-9430-b18e99168191" style="Title" x="0" y="20" width="511" height="21" isPrintWhenDetailOverflows="true" forecolor="#00B085"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
					<font pdfEncoding="Cp1250"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{SUBJECT}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="2136b24b-7b86-490a-8bbf-d388191a7d03" style="Detail" x="68" y="0" width="112" height="10"/>
				<textElement textAlignment="Left" verticalAlignment="Top">
					<font size="7" isBold="false" pdfEncoding="Cp1250"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{PROGRAM}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="d6ea54fc-5835-4c3a-a239-b778c8e086a6" style="Detail" x="342" y="0" width="147" height="10"/>
				<textElement textAlignment="Right" verticalAlignment="Top">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Strana "+$V{PAGE_NUMBER}+" z"]]></textFieldExpression>
			</textField>
			<textField pattern="dd.MM.yyyy HH:mm:ss">
				<reportElement uuid="c56a2b11-01fa-48a9-9920-f9f26c1a7967" style="Detail" x="0" y="0" width="68" height="10"/>
				<textElement textAlignment="Left" verticalAlignment="Top">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement uuid="e61e7a78-49ed-462c-b97b-50b31940e3ad" x="489" y="0" width="22" height="10"/>
				<textElement>
					<font fontName="Arial" size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[" "+$V{PAGE_NUMBER}+" "]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="93">
			<printWhenExpression><![CDATA[$V{PAGE_NUMBER}==1]]></printWhenExpression>
			<staticText>
				<reportElement uuid="abe3d0bc-33ff-423d-bdce-c1ef7b2a2a80" style="Detail" x="1" y="1" width="89" height="10"/>
				<textElement>
					<font fontName="Arial" size="8" isBold="false" isItalic="true" pdfEncoding="Cp1250" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Dodávateľ:]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="304e1ed6-cbe9-4153-80f1-d6ec9eec537d" style="Detail" x="274" y="1" width="89" height="10"/>
				<textElement>
					<font fontName="Arial" size="8" isBold="false" isItalic="true" pdfEncoding="Cp1250"/>
				</textElement>
				<text><![CDATA[Odberateľ:]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="ec3fe66b-bfe7-4a1c-a8bc-ff1bc161c76b" key="" style="SubTitle" x="1" y="11" width="237" height="12"/>
				<textElement>
					<font isItalic="false" pdfEncoding="Cp1250"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{DodavatelNazov}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="c84e4a36-f674-4dc0-bf55-f7fd42cd6541" key="" style="Detail" positionType="Float" x="38" y="23" width="199" height="60"/>
				<textElement>
					<font size="9" isItalic="false" pdfEncoding="Cp1250"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{DodavatelInfo}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="e125ab0b-03f5-40c3-ae54-bae28544abb7" key="" style="SubTitle" x="274" y="11" width="237" height="12"/>
				<textElement>
					<font isItalic="false" pdfEncoding="Cp1250"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{OdberatelNazov}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="3c9a7325-31e6-4aac-abea-a5a2a27f28b5" key="" style="Detail" positionType="Float" x="311" y="23" width="200" height="60"/>
				<textElement>
					<font size="9" isItalic="false" pdfEncoding="Cp1250"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{OdberatelInfo}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="11">
			<frame>
				<reportElement uuid="88eb56bb-d998-4a18-b008-b3f902edf507" style="Row" mode="Opaque" x="0" y="0" width="511" height="11"/>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="true">
					<reportElement uuid="f804e9c2-0e63-4043-849d-c5aedea5c7e9" style="Detail" stretchType="RelativeToBandHeight" x="70" y="0" width="80" height="10"/>
					<textElement textAlignment="Center" verticalAlignment="Middle"/>
					<textFieldExpression><![CDATA[$F{DatumVystavenia}]]></textFieldExpression>
				</textField>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="true">
					<reportElement uuid="c716773a-52b5-4dde-81ac-f07168429db2" style="Detail" stretchType="RelativeToBandHeight" x="150" y="0" width="80" height="10"/>
					<textElement textAlignment="Center" verticalAlignment="Middle"/>
					<textFieldExpression><![CDATA[$F{DatumSplatnosti}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00##" isBlankWhenNull="true">
					<reportElement uuid="9eb87e73-f894-48bf-a162-c5d4b1272b3e" style="Detail" stretchType="RelativeToBandHeight" x="311" y="0" width="50" height="10"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression><![CDATA[$F{Suma}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00##" isBlankWhenNull="true">
					<reportElement uuid="437c083b-7457-4c9c-9f6b-03afadc6eb50" style="Detail" stretchType="RelativeToBandHeight" x="361" y="0" width="50" height="10"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression><![CDATA[$F{Uhrady}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement uuid="421043f3-8866-40ba-a352-b75e2e83f8f7" style="Detail" stretchType="RelativeToBandHeight" x="0" y="0" width="70" height="10"/>
					<box leftPadding="2"/>
					<textElement verticalAlignment="Middle"/>
					<textFieldExpression><![CDATA[$F{VariabilnySymbol}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00##" isBlankWhenNull="true">
					<reportElement uuid="86c633cd-f9db-4ac3-823e-9532ce8448bf" style="Detail" stretchType="RelativeToBandHeight" x="411" y="0" width="50" height="10"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression><![CDATA[$F{Zostatok}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement uuid="881b533d-789c-4ee5-a98e-1d7ab75bcfcb" style="Detail" stretchType="RelativeToBandHeight" x="461" y="0" width="50" height="10"/>
					<textElement textAlignment="Center" verticalAlignment="Middle"/>
					<textFieldExpression><![CDATA[$F{Mena}]]></textFieldExpression>
				</textField>
				<textField pattern="" isBlankWhenNull="true">
					<reportElement uuid="eaba5d13-a043-4d77-b57f-2f83f3d84bad" style="Detail" stretchType="RelativeToBandHeight" x="230" y="0" width="81" height="10"/>
					<textElement textAlignment="Center" verticalAlignment="Middle"/>
					<textFieldExpression><![CDATA[$F{PoSplatnosti}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
	</detail>
	<summary>
		<band height="14">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="1b1de5a1-7f65-49a9-866e-c2034f06cfa3" x="0" y="0" width="511" height="14"/>
				<textElement textAlignment="Justified" verticalAlignment="Middle">
					<font fontName="Arial" size="9" pdfEncoding="Cp1250"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{NOTE}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
</jasperReport>
