<?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="orderItems" pageWidth="572" pageHeight="752" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="232c2ae2-9163-4417-91b4-28c74f8bc41f">
	<property name="ireport.zoom" value="4.0"/>
	<property name="ireport.x" value="160"/>
	<property name="ireport.y" value="0"/>
	<parameter name="SET_PRICES" class="java.lang.Boolean">
		<defaultValueExpression><![CDATA[true]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="quantity" class="java.math.BigDecimal"/>
	<field name="reqItem" class="info.bukova.isspst.data.RequirementItem"/>
	<field name="textItem" class="java.lang.String"/>
	<field name="total" class="java.math.BigDecimal"/>
	<field name="unitPrice" class="java.math.BigDecimal"/>
	<field name="code" class="java.lang.String"/>
	<field name="description" class="java.lang.String"/>
	<field name="name" class="java.lang.String"/>
	<field name="munit" class="info.bukova.isspst.data.MUnitEmb"/>
	<field name="reqItem.requirement" class="info.bukova.isspst.data.Requirement"/>
	<field name="reqItem.requirement.numser" class="java.lang.String"/>
	<variable name="total_1" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{total}]]></variableExpression>
	</variable>
	<background>
		<band splitType="Stretch"/>
	</background>
	<columnHeader>
		<band height="27" splitType="Stretch">
			<staticText>
				<reportElement uuid="6704f00d-6f52-46b5-ba73-b5302bdc579a" x="0" y="0" width="40" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<text><![CDATA[Pol.]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="719aa54e-26e5-4675-9604-86af84afb115" x="40" y="0" width="40" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<text><![CDATA[Mn.]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="ee72ef7d-dadc-4e94-8846-250981ff4e63" x="80" y="0" width="65" height="20">
					<printWhenExpression><![CDATA[$P{SET_PRICES}]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<text><![CDATA[Cena za j.]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="2b06065f-5628-4a1e-9f3a-ca458ade7299" x="145" y="0" width="65" height="20">
					<printWhenExpression><![CDATA[$P{SET_PRICES}]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<text><![CDATA[Odhad ceny]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="3e4da57c-331a-4680-9dd0-8ae8ff5da204" x="210" y="0" width="26" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<text><![CDATA[J.]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="8f1d8550-33f6-4c06-9cf6-97cce0a5f7a5" x="236" y="0" width="244" height="20"/>
				<textElement verticalAlignment="Middle">
					<paragraph leftIndent="3"/>
				</textElement>
				<text><![CDATA[Druh dodávky]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="fe47a796-961b-44c8-9cf3-752832b613ec" x="480" y="-1" width="92" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<text><![CDATA[Evid. číslo]]></text>
			</staticText>
			<line>
				<reportElement uuid="7a610025-5225-4edc-8c61-606f11c0c734" x="0" y="-1" width="574" height="1"/>
			</line>
			<line>
				<reportElement uuid="d261353b-5a05-4a7c-8c3d-047d439ec7a8" x="0" y="19" width="574" height="1"/>
			</line>
			<line>
				<reportElement uuid="8368adc5-eb29-4a21-be1e-c69f23bf29cd" x="0" y="26" width="574" height="1"/>
			</line>
			<line>
				<reportElement uuid="1d567e2b-7310-442b-85f8-d8cce99f0c9d" x="40" y="-1" width="1" height="20"/>
			</line>
			<line>
				<reportElement uuid="67cabd9c-747d-432d-b922-75d72953a877" x="79" y="0" width="1" height="19"/>
			</line>
			<line>
				<reportElement uuid="812bb1e0-fd64-4387-99cb-a158422c3eb2" x="145" y="0" width="1" height="19">
					<printWhenExpression><![CDATA[$P{SET_PRICES}]]></printWhenExpression>
				</reportElement>
			</line>
			<line>
				<reportElement uuid="13d5bc47-3500-42c4-994b-20bf68db7281" x="209" y="0" width="1" height="19"/>
			</line>
			<line>
				<reportElement uuid="f7919752-faa7-43f1-a799-5d34f58bb628" x="236" y="0" width="1" height="19"/>
			</line>
			<line>
				<reportElement uuid="26b6e0a8-514e-4903-961e-e980f2f36379" x="480" y="0" width="1" height="19"/>
			</line>
			<line>
				<reportElement uuid="db54b0b0-067a-40ce-a288-0f67169bfaf7" x="0" y="0" width="1" height="26"/>
			</line>
			<line>
				<reportElement uuid="74461cb9-9924-4781-afb0-cbd229839c29" x="573" y="0" width="1" height="26"/>
			</line>
		</band>
	</columnHeader>
	<detail>
		<band height="26" splitType="Stretch">
			<textField>
				<reportElement uuid="9cd445b8-d225-4c9f-af03-8e22c2e716bf" x="0" y="0" width="40" height="25"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<paragraph rightIndent="3"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{REPORT_COUNT}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="d3c2c155-3cf9-4a5f-afc0-2353aa2ea2f5" x="80" y="0" width="65" height="25">
					<printWhenExpression><![CDATA[$P{SET_PRICES}]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<paragraph rightIndent="3"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{unitPrice}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="7dc10ede-575b-44e1-90dd-9edb5cc861d7" x="145" y="0" width="65" height="25">
					<printWhenExpression><![CDATA[$P{SET_PRICES}]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<paragraph rightIndent="3"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="ec5c1b7b-7f1e-49b8-9522-960b23fc797d" x="210" y="0" width="26" height="25"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[""+($F{munit} != null ? $F{munit} : "")]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="3bf9bab0-042a-4a62-a9a9-950c7f98fde8" x="236" y="0" width="244" height="25"/>
				<textElement verticalAlignment="Middle">
					<paragraph leftIndent="3"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{textItem}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="ec310fa8-6d82-4dbd-adc0-04d897ec8dbd" x="480" y="0" width="92" height="25"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{reqItem.requirement.numser}]]></textFieldExpression>
			</textField>
			<textField pattern="###0.00;-###0.00">
				<reportElement uuid="f88606ec-20c8-4b7f-87eb-1bb2b0faff51" x="40" y="0" width="40" height="25"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<paragraph rightIndent="3"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{quantity}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement uuid="6b2c370e-10df-43a1-b308-c18e458e93ca" x="0" y="25" width="574" height="1"/>
			</line>
			<line>
				<reportElement uuid="521a7bd8-2133-4c71-a7a7-b141ad327e8c" x="40" y="0" width="1" height="25"/>
			</line>
			<line>
				<reportElement uuid="025314b0-c47b-4171-aa77-40933326e81c" x="0" y="0" width="1" height="25"/>
			</line>
			<line>
				<reportElement uuid="51fec4d3-c793-4edd-9ef2-4f4cf922cbb7" x="79" y="0" width="1" height="25"/>
			</line>
			<line>
				<reportElement uuid="d6655b1c-9e79-4ed0-b356-0959c660631b" x="209" y="0" width="1" height="25"/>
			</line>
			<line>
				<reportElement uuid="d21f27bd-7dba-4db4-bf10-c61b3f09bafa" x="145" y="0" width="1" height="25">
					<printWhenExpression><![CDATA[$P{SET_PRICES}]]></printWhenExpression>
				</reportElement>
			</line>
			<line>
				<reportElement uuid="38311c93-86f7-4904-aace-07f09b1dd0ef" x="236" y="0" width="1" height="25"/>
			</line>
			<line>
				<reportElement uuid="56f4f5a8-8994-49fb-86c4-af3c73e714d1" x="480" y="0" width="1" height="25"/>
			</line>
			<line>
				<reportElement uuid="23bf9770-5a80-4f31-8fdc-3793db61ae25" x="573" y="0" width="1" height="25"/>
			</line>
		</band>
	</detail>
	<summary>
		<band height="21" splitType="Stretch">
			<textField pattern="#,##0.00 ¤" isBlankWhenNull="true">
				<reportElement uuid="36f46c1d-603e-466e-849a-7cd1fcb66e9c" x="41" y="0" width="168" height="20">
					<printWhenExpression><![CDATA[$P{SET_PRICES}]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<paragraph rightIndent="3"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total_1}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="4263f8a4-6a87-4191-a742-384229c4ab70" x="210" y="0" width="173" height="20">
					<printWhenExpression><![CDATA[$P{SET_PRICES}]]></printWhenExpression>
				</reportElement>
				<textElement verticalAlignment="Middle">
					<paragraph leftIndent="3"/>
				</textElement>
				<text><![CDATA[Odhadovaná cena za objednávku]]></text>
			</staticText>
			<line>
				<reportElement uuid="5dc5af3c-46bf-41a7-a673-cfd2823de547" x="40" y="20" width="343" height="1">
					<printWhenExpression><![CDATA[$P{SET_PRICES}]]></printWhenExpression>
				</reportElement>
			</line>
			<line>
				<reportElement uuid="699e76f2-635f-40f9-a479-4aea007ffb94" x="40" y="0" width="1" height="20">
					<printWhenExpression><![CDATA[$P{SET_PRICES}]]></printWhenExpression>
				</reportElement>
			</line>
			<line>
				<reportElement uuid="523d41a3-0b2b-4edc-b74c-91ce30aada9a" x="209" y="0" width="1" height="20">
					<printWhenExpression><![CDATA[$P{SET_PRICES}]]></printWhenExpression>
				</reportElement>
			</line>
			<line>
				<reportElement uuid="3bdb17d3-12df-4885-aba6-ef84c6e7023a" x="382" y="0" width="1" height="20">
					<printWhenExpression><![CDATA[$P{SET_PRICES}]]></printWhenExpression>
				</reportElement>
			</line>
			<line>
				<reportElement uuid="19a87388-8b81-48fb-b60b-ef3fe1facdc1" x="0" y="0" width="1" height="21"/>
			</line>
			<line>
				<reportElement uuid="40a7693c-6392-457a-830c-a8e8a5881add" x="573" y="0" width="1" height="21"/>
			</line>
		</band>
	</summary>
</jasperReport>
