<?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="Kód a názov" pageWidth="595" pageHeight="842" columnWidth="511" leftMargin="42" rightMargin="42" topMargin="42" bottomMargin="42">
	<property name="ireport.zoom" value="2.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="41"/>
	<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" markup="none" fontName="Arial" fontSize="8"/>
	<style name="Row" mode="Opaque" forecolor="#FFFFFF" backcolor="#FFFFFF"/>
	<parameter name="PROGRAM" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="USER" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="Poznamka" class="java.lang.String"/>
	<field name="Kod" class="java.lang.String"/>
	<field name="Nazov" class="java.lang.String"/>
	<field name="Zaruka" class="java.lang.Integer"/>
	<field name="Mnozstvo" class="java.math.BigDecimal"/>
	<field name="CenaCennikovaBd" class="java.math.BigDecimal"/>
	<field name="CenaZlavnenaBd" class="java.math.BigDecimal"/>
	<field name="Zlava" class="java.math.BigDecimal"/>
	<field name="SadzbaDph" class="java.math.BigDecimal"/>
	<field name="Vystavil" class="java.lang.String"/>
	<field name="Vytlacil" 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="Pokladnica" class="java.lang.String"/>
	<field name="Cislo" class="java.lang.Integer"/>
	<field name="Datum" class="java.util.Date"/>
	<field name="SumaCelkomSd" class="java.math.BigDecimal"/>
	<field name="CenaCennikovaSd" class="java.math.BigDecimal"/>
	<field name="CenaZlavnenaSd" class="java.math.BigDecimal"/>
	<field name="Faktura" class="java.lang.String"/>
	<field name="FormaUhrady" class="java.lang.String"/>
	<field name="DatumSplatnosti" class="java.util.Date"/>
	<field name="ObchodnyRegister" class="java.lang.String"/>
	<field name="Penale" class="java.math.BigDecimal"/>
	<field name="Platby" class="java.lang.String"/>
	<field name="RekapitulaciaDph" class="java.lang.String"/>
	<field name="Zaokruhlenie" class="java.math.BigDecimal"/>
	<field name="BankoveSpojenie" class="java.lang.String"/>
	<field name="Mj" class="java.lang.String"/>
	<field name="Vyrcislo" class="java.lang.String"/>
	<field name="CenaJednotkovaSd" class="java.math.BigDecimal"/>
	<field name="CenaJednotkovaBd" class="java.math.BigDecimal"/>
	<field name="SumaZlavnenaBd" class="java.math.BigDecimal"/>
	<field name="OdberatelKarta" class="java.lang.String"/>
	<variable name="SumCenaZlavnenaBd" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{SumaZlavnenaBd}]]></variableExpression>
	</variable>
	<variable name="SumCenaJednotkovaBd" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{Mnozstvo}.multiply($F{CenaJednotkovaBd})]]></variableExpression>
	</variable>
	<pageHeader>
		<band height="91" splitType="Stretch">
			<frame>
				<reportElement mode="Opaque" x="0" y="10" width="511" height="79" isRemoveLineWhenBlank="true">
					<printWhenExpression><![CDATA[$V{PAGE_NUMBER}==1]]></printWhenExpression>
				</reportElement>
				<textField>
					<reportElement style="Detail" x="0" y="0" width="511" height="22" forecolor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font size="18" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA["Faktúra - Dodací list "+$F{Faktura}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="false">
					<reportElement key="" style="Detail" x="394" y="48" width="117" height="10"/>
					<textElement>
						<font isBold="true" isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{FormaUhrady}]]></textFieldExpression>
				</textField>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="false">
					<reportElement key="" style="Detail" x="100" y="68" width="99" height="10"/>
					<textElement>
						<font isBold="true" isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.util.Date"><![CDATA[$F{Datum}]]></textFieldExpression>
				</textField>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="false">
					<reportElement key="" style="Detail" x="100" y="48" width="99" height="10"/>
					<textElement>
						<font isBold="true" isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.util.Date"><![CDATA[$F{Datum}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="false">
					<reportElement key="" style="Detail" x="44" y="28" width="88" height="10"/>
					<textElement>
						<font isBold="true" isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{Pokladnica}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement style="Detail" x="314" y="28" width="32" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
					</textElement>
					<text><![CDATA[Vystavil:]]></text>
				</staticText>
				<staticText>
					<reportElement style="Detail" x="394" y="58" width="117" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="true" isItalic="false"/>
					</textElement>
					<text><![CDATA[S daňou]]></text>
				</staticText>
				<staticText>
					<reportElement style="Detail" x="314" y="48" width="80" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
					</textElement>
					<text><![CDATA[Forma úhrady:]]></text>
				</staticText>
				<staticText>
					<reportElement style="Detail" x="314" y="58" width="80" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
					</textElement>
					<text><![CDATA[Platobné podmienky:]]></text>
				</staticText>
				<staticText>
					<reportElement style="Detail" x="0" y="38" width="45" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
					</textElement>
					<text><![CDATA[Doklad:]]></text>
				</staticText>
				<staticText>
					<reportElement style="Detail" x="0" y="68" width="100" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
					</textElement>
					<text><![CDATA[Dátum vystavenia dokladu:]]></text>
				</staticText>
				<staticText>
					<reportElement style="Detail" x="314" y="38" width="32" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
					</textElement>
					<text><![CDATA[Vytlačil:]]></text>
				</staticText>
				<staticText>
					<reportElement style="Detail" x="314" y="68" width="80" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
					</textElement>
					<text><![CDATA[Dátum splatnosti:]]></text>
				</staticText>
				<textField isBlankWhenNull="false">
					<reportElement key="" style="Detail" x="346" y="28" width="165" height="10"/>
					<textElement>
						<font isBold="true" isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{Vystavil}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement style="Detail" x="0" y="58" width="100" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
					</textElement>
					<text><![CDATA[Dátum odoslania dokladu:]]></text>
				</staticText>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="false">
					<reportElement key="" style="Detail" x="100" y="58" width="99" height="10"/>
					<textElement>
						<font isBold="true" isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.util.Date"><![CDATA[$F{Datum}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="false">
					<reportElement key="" style="Detail" x="346" y="38" width="165" height="10"/>
					<textElement>
						<font isBold="true" isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$P{USER}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement style="Detail" x="0" y="48" width="100" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
					</textElement>
					<text><![CDATA[Dátum uskut. zdaň. plnenia:]]></text>
				</staticText>
				<textField pattern="###0" isBlankWhenNull="false">
					<reportElement key="" style="Detail" x="45" y="38" width="88" height="10"/>
					<textElement>
						<font isBold="true" isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.lang.Integer"><![CDATA[$F{Cislo}]]></textFieldExpression>
				</textField>
				<textField pattern="dd.MM.yyyy" isBlankWhenNull="false">
					<reportElement key="" style="Detail" x="394" y="68" width="117" height="10"/>
					<textElement>
						<font isBold="true" isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.util.Date"><![CDATA[$F{DatumSplatnosti}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement style="Detail" x="0" y="28" width="45" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
					</textElement>
					<text><![CDATA[Pokladnica:]]></text>
				</staticText>
			</frame>
			<textField>
				<reportElement style="Detail" x="68" y="0" width="112" height="10"/>
				<textElement textAlignment="Left" verticalAlignment="Top">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{PROGRAM}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="Detail" x="381" y="0" width="115" height="10"/>
				<textElement textAlignment="Right" verticalAlignment="Top">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Strana "+$V{PAGE_NUMBER}+" z"]]></textFieldExpression>
			</textField>
			<textField pattern="dd.MM.yyyy HH:mm:ss">
				<reportElement style="Detail" x="0" y="0" width="68" height="10"/>
				<textElement textAlignment="Left" verticalAlignment="Top">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement style="Detail" x="496" y="0" width="15" height="10"/>
				<textElement textAlignment="Left" verticalAlignment="Top">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["  "+$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<detail>
		<band height="61" splitType="Stretch">
			<printWhenExpression><![CDATA[$V{REPORT_COUNT}==1]]></printWhenExpression>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="1" y="2" width="243" height="55"/>
				<box bottomPadding="0">
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<staticText>
					<reportElement style="Detail" x="5" y="2" width="89" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
					</textElement>
					<text><![CDATA[Dodávateľ:]]></text>
				</staticText>
				<image scaleImage="RealHeight" onErrorType="Blank">
					<reportElement positionType="Float" x="5" y="27" width="89" height="11"/>
					<box topPadding="3" rightPadding="3"/>
					<imageExpression class="java.lang.String"><![CDATA["../custom/logo_print.png"]]></imageExpression>
				</image>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement key="" style="SubTitle" x="5" y="14" width="238" height="12"/>
					<textElement>
						<font isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{DodavatelNazov}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement key="" style="Detail" positionType="Float" x="94" y="27" width="149" height="25"/>
					<textElement>
						<font size="9" isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{DodavatelInfo}]]></textFieldExpression>
				</textField>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="275" y="2" width="236" height="55"/>
				<box bottomPadding="0">
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<staticText>
					<reportElement style="Detail" x="5" y="2" width="89" height="10"/>
					<textElement>
						<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
					</textElement>
					<text><![CDATA[Odberateľ:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement key="" style="SubTitle" x="5" y="14" width="231" height="12"/>
					<textElement>
						<font isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{OdberatelNazov}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement key="" style="Detail" positionType="Float" x="36" y="27" width="200" height="11"/>
					<textElement>
						<font size="9" isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{OdberatelInfo}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement key="" style="SubTitle" positionType="Float" x="5" y="40" width="231" height="12"/>
					<textElement>
						<font isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{OdberatelKarta}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
		<band height="23">
			<printWhenExpression><![CDATA[$V{REPORT_COUNT}==1]]></printWhenExpression>
			<staticText>
				<reportElement style="Detail" x="0" y="0" width="237" height="10"/>
				<textElement>
					<font fontName="Arial" size="8" isBold="false" isItalic="false"/>
				</textElement>
				<text><![CDATA[Konštantný symbol: 0008	]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement style="Detail" x="0" y="10" width="511" height="10" isRemoveLineWhenBlank="true"/>
				<textElement markup="styled">
					<font isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{BankoveSpojenie}]]></textFieldExpression>
			</textField>
		</band>
		<band height="26">
			<printWhenExpression><![CDATA[$V{REPORT_COUNT}==1]]></printWhenExpression>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement key="" style="Detail" x="0" y="11" width="511" height="11" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font isItalic="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{Poznamka}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement key="" style="Detail" x="0" y="0" width="511" height="11" isRemoveLineWhenBlank="true"/>
				<textElement>
					<font isItalic="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ObchodnyRegister}]]></textFieldExpression>
			</textField>
		</band>
		<band height="19">
			<printWhenExpression><![CDATA[$V{PAGE_COUNT}==1]]></printWhenExpression>
			<frame>
				<reportElement mode="Opaque" x="0" y="0" width="511" height="19" backcolor="#FFFFFF"/>
				<box>
					<topPen lineWidth="1.0" lineStyle="Solid"/>
					<leftPen lineWidth="1.0" lineStyle="Solid"/>
					<bottomPen lineWidth="1.0" lineStyle="Solid"/>
					<rightPen lineWidth="1.0" lineStyle="Solid"/>
				</box>
				<staticText>
					<reportElement style="Column header" x="19" y="0" width="190" height="19" forecolor="#000000"/>
					<box leftPadding="0"/>
					<textElement verticalAlignment="Top"/>
					<text><![CDATA[Kód a názov tovaru]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="271" y="0" width="57" height="19" forecolor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Top"/>
					<text><![CDATA[Množstvo]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="350" y="0" width="44" height="19" forecolor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Top" markup="styled"/>
					<text><![CDATA[Cenníková<br /> cena]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="394" y="0" width="30" height="19" forecolor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Top"/>
					<text><![CDATA[Zľava]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="422" y="0" width="44" height="19" forecolor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Top" markup="styled"/>
					<text><![CDATA[Zľavnená<br />cena]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="241" y="0" width="30" height="19" forecolor="#000000"/>
					<box rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Top"/>
					<text><![CDATA[DPH]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="209" y="0" width="32" height="19" forecolor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Top"/>
					<text><![CDATA[Záruka]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="0" y="0" width="19" height="19" forecolor="#000000"/>
					<box leftPadding="2"/>
					<textElement verticalAlignment="Top"/>
					<text><![CDATA[PČ.]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="466" y="0" width="45" height="19" forecolor="#000000"/>
					<box rightPadding="2"/>
					<textElement textAlignment="Right" verticalAlignment="Top"/>
					<text><![CDATA[Spolu]]></text>
				</staticText>
			</frame>
		</band>
		<band height="11">
			<frame>
				<reportElement style="Row" mode="Opaque" x="0" y="0" width="511" height="11"/>
				<box>
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textField pattern="###0">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="209" y="0" width="32" height="10"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.lang.Integer"><![CDATA[$F{Zaruka}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.000" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="271" y="0" width="57" height="10"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{Mnozstvo}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00##" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="350" y="0" width="44" height="10"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{CenaJednotkovaBd}]]></textFieldExpression>
				</textField>
				<textField pattern="###0.##&apos;%&apos;" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="394" y="0" width="30" height="10"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{Zlava}]]></textFieldExpression>
				</textField>
				<textField pattern="###0.##&apos;%&apos;">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="241" y="0" width="30" height="10"/>
					<box rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{SadzbaDph}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="19" y="0" width="190" height="10"/>
					<box leftPadding="0"/>
					<textElement verticalAlignment="Middle"/>
					<textFieldExpression class="java.lang.String"><![CDATA[($F{Kod}+" - "+$F{Nazov}+" "+$F{Vyrcislo}).trim()]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00##" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="422" y="0" width="44" height="10"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{CenaZlavnenaBd}]]></textFieldExpression>
				</textField>
				<textField pattern="###0">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="0" y="0" width="19" height="10"/>
					<box leftPadding="2"/>
					<textElement verticalAlignment="Middle"/>
					<textFieldExpression class="java.lang.Integer"><![CDATA[$V{REPORT_COUNT}]]></textFieldExpression>
				</textField>
				<textField pattern="" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="328" y="0" width="22" height="10"/>
					<box leftPadding="3"/>
					<textElement textAlignment="Left" verticalAlignment="Middle"/>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{Mj}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="466" y="0" width="45" height="10"/>
					<box rightPadding="2"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{SumaZlavnenaBd}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
	</detail>
	<summary>
		<band height="222" splitType="Immediate">
			<frame>
				<reportElement mode="Opaque" x="0" y="0" width="511" height="11" backcolor="#FFFFFF"/>
				<box>
					<topPen lineWidth="1.0" lineStyle="Solid"/>
					<leftPen lineWidth="1.0" lineStyle="Solid"/>
					<bottomPen lineWidth="1.0" lineStyle="Solid"/>
					<rightPen lineWidth="1.0" lineStyle="Solid"/>
				</box>
				<textField pattern="#,##0.00">
					<reportElement style="Column header" x="466" y="0" width="45" height="10" forecolor="#000000"/>
					<box rightPadding="2"/>
					<textElement textAlignment="Right">
						<font isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{SumCenaZlavnenaBd}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement style="Column header" x="0" y="0" width="209" height="10" forecolor="#000000"/>
					<box leftPadding="2"/>
					<textElement verticalAlignment="Middle"/>
					<text><![CDATA[Spolu (ceny sú bez DPH)]]></text>
				</staticText>
				<textField pattern="#,##0.00##">
					<reportElement style="Column header" x="328" y="0" width="66" height="10" forecolor="#000000"/>
					<textElement textAlignment="Right">
						<font isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{SumCenaJednotkovaBd}]]></textFieldExpression>
				</textField>
			</frame>
			<textField>
				<reportElement style="Detail" x="0" y="78" width="511" height="20"/>
				<textElement markup="none">
					<font isItalic="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["UPOZORNENIE: V prípade neuhradenia dlžnej sumy v termíne Vám bude účtovaný zmluvný úrok z omeškania " + $F{Penale} + "% z dlžnej sumy za každý deň omeškania. !!! Prevzatý tovar zostáva až do úplného uhradenia majetkom dodávateľa!!!"]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement style="Detail" x="274" y="133" width="237" height="20"/>
				<textElement markup="styled">
					<font isItalic="true"/>
				</textElement>
				<text><![CDATA[Za odberateľa<br/>(pečiatka a podpis):]]></text>
			</staticText>
			<staticText>
				<reportElement style="Detail" x="0" y="133" width="70" height="20"/>
				<textElement markup="styled">
					<font isItalic="true"/>
				</textElement>
				<text><![CDATA[Za dodávateľa<br/>(pečiatka a podpis):]]></text>
			</staticText>
			<staticText>
				<reportElement style="Detail" x="0" y="98" width="511" height="28"/>
				<textElement markup="styled">
					<font isItalic="true"/>
				</textElement>
				<text><![CDATA[<br/>Táto faktúra je zároveň dodacím listom a odberateľ podpisom potvrdzuje prevzatie faktúry aj tovaru špecifikovaného vo faktúre za cenu uvedenú vo faktúre.]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement style="Detail" x="0" y="15" width="271" height="13" isRemoveLineWhenBlank="true"/>
				<textElement markup="styled">
					<font size="10" isBold="true" isItalic="false"/>
					<paragraph tabStopWidth="65"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{RekapitulaciaDph}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement style="SubTitle" x="298" y="15" width="86" height="13"/>
				<textElement textAlignment="Right">
					<font isBold="false"/>
				</textElement>
				<text><![CDATA[Zaokrúhlenie:]]></text>
			</staticText>
			<staticText>
				<reportElement style="SubTitle" x="489" y="15" width="22" height="13"/>
				<textElement textAlignment="Left">
					<font isBold="false"/>
				</textElement>
				<text><![CDATA[EUR]]></text>
			</staticText>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement style="SubTitle" x="387" y="15" width="100" height="13"/>
				<textElement textAlignment="Right">
					<font isBold="false"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{Zaokruhlenie}]]></textFieldExpression>
			</textField>
			<frame>
				<reportElement x="0" y="177" width="512" height="45" isPrintInFirstWholeBand="true">
					<printWhenExpression><![CDATA[$F{Platby}!=null]]></printWhenExpression>
				</reportElement>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement style="Detail" x="237" y="19" width="274" height="11" isRemoveLineWhenBlank="true"/>
					<textElement markup="styled">
						<font isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{Platby}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="1" y="5" width="511" height="14"/>
					<textElement verticalAlignment="Middle" markup="none">
						<font fontName="Arial" size="10" isBold="true"/>
					</textElement>
					<text><![CDATA[Potvrdenie - daňový doklad]]></text>
				</staticText>
				<staticText>
					<reportElement style="SubTitle" x="82" y="19" width="21" height="11"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[EUR]]></text>
				</staticText>
				<line>
					<reportElement x="0" y="0" width="511" height="1"/>
					<graphicElement>
						<pen lineWidth="0.5" lineStyle="Dashed"/>
					</graphicElement>
				</line>
				<staticText>
					<reportElement x="1" y="19" width="28" height="11"/>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="8"/>
					</textElement>
					<text><![CDATA[Čiastka]]></text>
				</staticText>
				<textField pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement style="SubTitle" x="29" y="19" width="50" height="11"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="8" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{SumaCelkomSd}.add($F{Zaokruhlenie})]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="33" width="44" height="11"/>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="8"/>
					</textElement>
					<text><![CDATA[Účel platby: ]]></text>
				</staticText>
				<textField>
					<reportElement x="45" y="33" width="176" height="11"/>
					<textElement verticalAlignment="Middle">
						<font fontName="Arial" size="8" isBold="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA["úhrada faktúry č. "+$F{Faktura}]]></textFieldExpression>
				</textField>
			</frame>
			<staticText>
				<reportElement style="SubTitle" x="298" y="28" width="86" height="13"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Spolu k úhrade:]]></text>
			</staticText>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement style="SubTitle" x="387" y="28" width="100" height="13"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{SumaCelkomSd}.add($F{Zaokruhlenie})]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement style="SubTitle" x="489" y="28" width="22" height="13"/>
				<textElement textAlignment="Left">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[EUR]]></text>
			</staticText>
			<image scaleImage="RetainShape" onErrorType="Blank">
				<reportElement x="73" y="129" width="150" height="42"/>
				<box topPadding="0" rightPadding="0"/>
				<imageExpression class="java.lang.String"><![CDATA["../custom/sign.png"]]></imageExpression>
			</image>
		</band>
	</summary>
</jasperReport>
