<?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 ČR" 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="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">
		<box>
			<leftPen lineWidth="1.0" lineColor="#000000"/>
			<bottomPen lineWidth="0.25" lineColor="#000000"/>
			<rightPen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<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="Mj" class="java.lang.String"/>
	<field name="Vyrcislo" class="java.lang.String"/>
	<field name="CenaJednotkovaBd" class="java.math.BigDecimal"/>
	<field name="CenaJednotkovaSd" class="java.math.BigDecimal"/>
	<field name="TypDokladu" class="java.lang.String">
		<fieldDescription><![CDATA[A=predaj uctenka,B=vydaj,I=predaj faktura]]></fieldDescription>
	</field>
	<field name="SDPH" class="java.lang.Boolean">
		<fieldDescription><![CDATA[true=s DPH, false=bez DPH]]></fieldDescription>
	</field>
	<field name="SumaZlavnenaSd" class="java.math.BigDecimal"/>
	<field name="SumaZlavnenaBd" class="java.math.BigDecimal"/>
	<field name="OdberatelKarta" class="java.lang.String"/>
	<variable name="SumCenaCennikovaBd" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{Mnozstvo}.multiply($F{CenaCennikovaBd})]]></variableExpression>
	</variable>
	<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>
	<variable name="SumCenaJednotkovaSd" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{Mnozstvo}.multiply($F{CenaJednotkovaSd})]]></variableExpression>
	</variable>
	<variable name="SumCenaCennikovaSd" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{Mnozstvo}.multiply($F{CenaCennikovaSd})]]></variableExpression>
	</variable>
	<variable name="SumCenaZlavnenaSd" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{SumaZlavnenaSd}]]></variableExpression>
	</variable>
	<pageHeader>
		<band height="59" splitType="Stretch">
			<staticText>
				<reportElement style="Title" x="0" y="0" width="511" height="22" forecolor="#000000"/>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
					<font pdfFontName="Times-Roman"/>
				</textElement>
				<text><![CDATA[Dodací list]]></text>
			</staticText>
			<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>
			<staticText>
				<reportElement style="Detail" x="349" y="23" 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="349" y="33" width="32" height="10"/>
				<textElement>
					<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
				</textElement>
				<text><![CDATA[Vytiskl:]]></text>
			</staticText>
			<staticText>
				<reportElement style="Detail" x="0" y="23" width="45" height="10"/>
				<textElement>
					<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
				</textElement>
				<text><![CDATA[Pokladna:]]></text>
			</staticText>
			<staticText>
				<reportElement style="Detail" x="0" y="33" width="45" height="10"/>
				<textElement>
					<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
				</textElement>
				<text><![CDATA[Číslo:]]></text>
			</staticText>
			<staticText>
				<reportElement style="Detail" x="0" y="43" width="45" height="10"/>
				<textElement>
					<font fontName="Arial" size="8" isBold="false" isItalic="true"/>
				</textElement>
				<text><![CDATA[Datum:]]></text>
			</staticText>
			<textField isBlankWhenNull="false">
				<reportElement key="" style="Detail" x="45" y="23" width="88" height="10"/>
				<textElement>
					<font isBold="true" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{Pokladnica}]]></textFieldExpression>
			</textField>
			<textField pattern="dd.MM.yyyy" isBlankWhenNull="false">
				<reportElement key="" style="Detail" x="45" y="43" width="88" height="10"/>
				<textElement>
					<font isBold="true" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{Datum}]]></textFieldExpression>
			</textField>
			<textField pattern="###0" isBlankWhenNull="false">
				<reportElement key="" style="Detail" x="45" y="33" width="88" height="10"/>
				<textElement>
					<font isBold="true" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.Integer"><![CDATA[$F{Cislo}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="false">
				<reportElement key="" style="Detail" x="381" y="23" width="130" height="10"/>
				<textElement>
					<font isBold="true" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{Vystavil}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="false">
				<reportElement key="" style="Detail" x="381" y="33" width="130" height="10"/>
				<textElement>
					<font isBold="true" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{USER}]]></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="246" height="55"/>
				<box>
					<pen lineWidth="0.25"/>
					<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[Dodavatel:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement key="" style="SubTitle" x="5" y="14" width="241" 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="152" height="25"/>
					<textElement>
						<font size="9" isItalic="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{DodavatelInfo}]]></textFieldExpression>
				</textField>
				<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>
			</frame>
			<frame>
				<reportElement stretchType="RelativeToTallestObject" x="275" y="2" width="236" height="55"/>
				<box>
					<pen lineWidth="0.25"/>
					<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[Odběratel:]]></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="15">
			<printWhenExpression><![CDATA[$V{PAGE_COUNT}==1]]></printWhenExpression>
			<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{Poznamka}]]></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>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<staticText>
					<reportElement style="Column header" x="0" y="0" width="175" height="19" forecolor="#000000"/>
					<box leftPadding="2"/>
					<textElement verticalAlignment="Top"/>
					<text><![CDATA[Kód a název zboží]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="205" y="0" width="57" height="19" forecolor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Top"/>
					<text><![CDATA[Množství]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="283" y="0" width="49" height="19" forecolor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Top" markup="styled"/>
					<text><![CDATA[Ceníková<br />cena]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="332" y="0" width="30" height="19" forecolor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Top"/>
					<text><![CDATA[Sleva]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="362" y="0" width="49" height="19" forecolor="#000000"/>
					<box rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Top" markup="styled"/>
					<text><![CDATA[Cena po<br />slevě]]></text>
				</staticText>
				<staticText>
					<reportElement style="Column header" x="175" 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="411" y="0" width="50" height="19" forecolor="#000000"/>
					<box rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Top"/>
					<text><![CDATA[Celkem]]></text>
				</staticText>
				<textField>
					<reportElement style="Column header" x="461" y="0" width="50" height="19" forecolor="#000000"/>
					<box rightPadding="2"/>
					<textElement textAlignment="Right" verticalAlignment="Top" markup="styled"/>
					<textFieldExpression class="java.lang.String"><![CDATA["Orientačně<br />"+($F{SDPH}?"bez DPH":"s DPH")]]></textFieldExpression>
				</textField>
			</frame>
		</band>
		<band height="11">
			<printWhenExpression><![CDATA[!$F{SDPH}]]></printWhenExpression>
			<frame>
				<reportElement style="Row" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="511" height="11"/>
				<textField pattern="#,##0.000" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="205" y="0" width="57" height="10"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{Mnozstvo}]]></textFieldExpression>
				</textField>
				<textField pattern="###0.##&apos;%&apos;" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="332" 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="175" 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="0" y="0" width="175" height="10"/>
					<box leftPadding="2"/>
					<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="362" y="0" width="49" height="10"/>
					<box rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{CenaZlavnenaBd}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00##" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="283" y="0" width="49" height="10"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{CenaJednotkovaBd}]]></textFieldExpression>
				</textField>
				<textField pattern="" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="262" y="0" width="21" 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="411" y="0" width="50" height="10"/>
					<box rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{SumaZlavnenaBd}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="461" y="0" width="50" height="10"/>
					<box rightPadding="2"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{CenaZlavnenaSd}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
		<band height="11">
			<printWhenExpression><![CDATA[$F{SDPH}]]></printWhenExpression>
			<frame>
				<reportElement style="Row" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="511" height="11"/>
				<textField pattern="#,##0.000" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="205" y="0" width="57" height="10"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{Mnozstvo}]]></textFieldExpression>
				</textField>
				<textField pattern="###0.##&apos;%&apos;" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="332" 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="175" 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="0" y="0" width="175" height="10"/>
					<box leftPadding="2"/>
					<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="362" y="0" width="49" height="10"/>
					<box rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{CenaZlavnenaSd}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00##" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="283" y="0" width="49" height="10"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{CenaJednotkovaSd}]]></textFieldExpression>
				</textField>
				<textField pattern="" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="262" y="0" width="21" 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="411" y="0" width="50" height="10"/>
					<box rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{SumaZlavnenaSd}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00" isBlankWhenNull="true">
					<reportElement style="Detail" stretchType="RelativeToBandHeight" x="461" y="0" width="50" height="10"/>
					<box rightPadding="2"/>
					<textElement textAlignment="Right" verticalAlignment="Middle"/>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{CenaZlavnenaBd}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
	</detail>
	<summary>
		<band height="95" splitType="Stretch">
			<frame>
				<reportElement mode="Opaque" x="0" y="0" width="511" height="11" backcolor="#FFFFFF"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textField pattern="#,##0.00">
					<reportElement style="Column header" x="411" y="0" width="50" height="10" forecolor="#000000"/>
					<box rightPadding="0"/>
					<textElement textAlignment="Right">
						<font isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{SDPH}?$F{SumaCelkomSd}:$V{SumCenaZlavnenaBd}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement style="Column header" x="0" y="0" width="262" height="10" forecolor="#000000"/>
					<box leftPadding="2"/>
					<textElement verticalAlignment="Middle" markup="none"/>
					<textFieldExpression class="java.lang.String"><![CDATA["Celkem (ceny jsou uvedeny "+($F{SDPH}?"s DPH":"bez DPH")+")"]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00##">
					<reportElement style="Column header" x="283" y="1" width="49" height="10" forecolor="#000000"/>
					<textElement textAlignment="Right">
						<font isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{SDPH}?$V{SumCenaJednotkovaSd}:$V{SumCenaJednotkovaBd}]]></textFieldExpression>
				</textField>
			</frame>
			<staticText>
				<reportElement style="Detail" x="0" y="14" width="210" height="23"/>
				<textElement>
					<font isItalic="true"/>
				</textElement>
				<text><![CDATA[Zboží až do úplného zaplacení faktury zůstává majetkem dodavatele. Odběratel souhlasí s podmínkami dodávky.]]></text>
			</staticText>
			<textField>
				<reportElement style="SubTitle" x="225" y="15" width="163" height="13"/>
				<textElement textAlignment="Right" markup="none">
					<font isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Celkem "+($F{SDPH}?"orientačně ":"")+"bez DPH:"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="SubTitle" x="225" y="28" width="163" height="13"/>
				<textElement textAlignment="Right" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Celkem "+(!$F{SDPH}?"orientačně ":"")+"s DPH:"]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement style="Detail" x="274" y="62" width="237" height="20"/>
				<textElement markup="styled">
					<font isItalic="true"/>
				</textElement>
				<text><![CDATA[Za odběratele<br/>(razítko a podpis):]]></text>
			</staticText>
			<staticText>
				<reportElement style="Detail" x="0" y="62" width="70" height="20"/>
				<textElement markup="styled">
					<font isItalic="true"/>
				</textElement>
				<text><![CDATA[Za dodavatele<br/>(razítko a podpis):]]></text>
			</staticText>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement style="SubTitle" x="391" y="15" width="100" height="13"/>
				<textElement textAlignment="Right">
					<font isBold="false"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{SumCenaZlavnenaBd}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00">
				<reportElement style="SubTitle" x="391" y="28" width="100" height="13"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{SumaCelkomSd}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement style="SubTitle" x="493" y="15" width="18" height="13"/>
				<textElement textAlignment="Left">
					<font isBold="false"/>
				</textElement>
				<text><![CDATA[Kč]]></text>
			</staticText>
			<staticText>
				<reportElement style="SubTitle" x="493" y="28" width="18" height="13"/>
				<textElement textAlignment="Left">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Kč]]></text>
			</staticText>
			<image onErrorType="Blank">
				<reportElement positionType="Float" x="71" y="53" width="150" height="42"/>
				<box topPadding="0" rightPadding="0"/>
				<imageExpression class="java.lang.String"><![CDATA["../custom/sign.png"]]></imageExpression>
			</image>
		</band>
	</summary>
</jasperReport>
