<?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="orderRequirement" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="abff8784-0f6e-4a9a-bf8e-f2285ba6e75f">
	<property name="ireport.zoom" value="2.0"/>
	<property name="ireport.x" value="284"/>
	<property name="ireport.y" value="0"/>
	<parameter name="P_LOGO" class="java.lang.String"/>
	<parameter name="P_MAIN_ADDRESS" class="java.lang.String"/>
	<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["/home/pepa/Dokumenty/dev/java/isspst/"]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="authorization" class="java.util.List">
		<fieldDescription><![CDATA[authorization]]></fieldDescription>
	</field>
	<field name="centre" class="info.bukova.isspst.data.Workgroup">
		<fieldDescription><![CDATA[centre]]></fieldDescription>
	</field>
	<field name="items" class="java.util.List">
		<fieldDescription><![CDATA[items]]></fieldDescription>
	</field>
	<field name="ownedBy" class="info.bukova.isspst.data.User">
		<fieldDescription><![CDATA[ownedBy]]></fieldDescription>
	</field>
	<field name="numser" class="java.lang.String">
		<fieldDescription><![CDATA[numser]]></fieldDescription>
	</field>
	<field name="reqDate" class="java.util.Date">
		<fieldDescription><![CDATA[reqDate]]></fieldDescription>
	</field>
	<field name="sumTotal" class="java.math.BigDecimal">
		<fieldDescription><![CDATA[sumTotal]]></fieldDescription>
	</field>
	<field name="workgroup" class="info.bukova.isspst.data.Workgroup">
		<fieldDescription><![CDATA[workgroup]]></fieldDescription>
	</field>
	<field name="description" class="java.lang.String">
		<fieldDescription><![CDATA[description]]></fieldDescription>
	</field>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="54" splitType="Stretch">
			<image onErrorType="Blank">
				<reportElement uuid="692a2c5d-a058-4f16-8c03-dd0739d45ffb" x="0" y="0" width="100" height="54">
					<printWhenExpression><![CDATA[$P{P_LOGO} != null]]></printWhenExpression>
				</reportElement>
				<imageExpression><![CDATA[$P{P_LOGO}]]></imageExpression>
			</image>
			<textField isBlankWhenNull="true">
				<reportElement uuid="42aa4bd4-8b58-4e06-b7d9-ab3f1082b739" x="100" y="0" width="455" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1250"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{P_MAIN_ADDRESS}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="3672bded-2358-40b4-a0f3-037e7fc50fa3" x="100" y="20" width="455" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1250"/>
				</textElement>
				<text><![CDATA[Protokol o předběžné kontrole]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band height="41" splitType="Stretch">
			<textField>
				<reportElement uuid="d1468362-4eba-425c-8534-f80eab528580" x="0" y="20" width="83" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{numser}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="b9b69697-354b-4cb0-a84c-a41fea872d15" x="0" y="0" width="83" height="20"/>
				<textElement/>
				<text><![CDATA[Poř. číslo]]></text>
			</staticText>
			<textField>
				<reportElement uuid="09f38f15-b1e4-4975-997c-e70f19078c24" x="83" y="20" width="140" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[""+$F{centre}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="8e7dfc80-cdf7-4777-b0f2-35a98e02a339" x="223" y="20" width="140" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[""+$F{workgroup}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="2f5cd1fb-4f7e-4e9f-ba7c-b1f7b288a625" x="363" y="20" width="113" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[""+$F{ownedBy}]]></textFieldExpression>
			</textField>
			<textField pattern="dd. MM. yyyy">
				<reportElement uuid="8eaf7add-3fe8-4115-9154-27c4b8904650" x="476" y="20" width="79" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$F{reqDate}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="01cebcaf-0e12-4a09-8956-590d45e19eef" x="83" y="0" width="140" height="20"/>
				<textElement/>
				<text><![CDATA[Středisko]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="17ac2428-7d56-411b-bcd9-7348df757b84" x="223" y="0" width="140" height="20"/>
				<textElement/>
				<text><![CDATA[Komise]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="f7790fa3-c39e-41ad-b94d-93c69afb14a9" x="363" y="0" width="113" height="20"/>
				<textElement/>
				<text><![CDATA[Vytvořil]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="93d65bd9-27b6-4952-a8eb-d57b14665d2b" x="476" y="0" width="79" height="20"/>
				<textElement/>
				<text><![CDATA[Datum]]></text>
			</staticText>
			<line>
				<reportElement uuid="b93cc333-922f-404d-86d1-3af92064c807" x="0" y="40" width="555" height="1"/>
				<graphicElement>
					<pen lineStyle="Solid"/>
				</graphicElement>
			</line>
			<line>
				<reportElement uuid="f47cde5f-e0f7-4578-b3d7-4b1774284e0b" x="0" y="0" width="555" height="1"/>
			</line>
			<line>
				<reportElement uuid="9ab3a189-c15e-4031-bc2e-ff329d4400c4" x="475" y="0" width="1" height="40"/>
			</line>
			<line>
				<reportElement uuid="5c7c3117-8911-426d-ba2a-1b2ca842801d" x="362" y="0" width="1" height="40"/>
			</line>
			<line>
				<reportElement uuid="a0968b35-779d-4b3c-9168-edfaa22e4cc3" x="554" y="0" width="1" height="40"/>
			</line>
			<line>
				<reportElement uuid="2e919fcb-44aa-4a7a-bc86-8a6597f702e3" x="222" y="0" width="1" height="40"/>
			</line>
			<line>
				<reportElement uuid="cf230cb5-d75e-41c5-8a26-5c65fdbddd82" x="82" y="0" width="1" height="40"/>
			</line>
			<line>
				<reportElement uuid="da4a873e-2347-4362-9f29-59eb20b6d40b" x="-1" y="0" width="1" height="41"/>
			</line>
		</band>
	</pageHeader>
	<detail>
		<band height="78" splitType="Stretch">
			<subreport>
				<reportElement uuid="6ba491d5-dc90-4be4-b70e-d7aae44ad3ce" x="0" y="4" width="554" height="73"/>
				<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{items})]]></dataSourceExpression>
				<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "orderRequirementItems.jasper"]]></subreportExpression>
			</subreport>
		</band>
	</detail>
	<summary>
		<band height="72" splitType="Stretch">
			<staticText>
				<reportElement uuid="f170d5a4-9595-4aee-8b1f-dc761b603a40" x="-1" y="10" width="59" height="20"/>
				<textElement/>
				<text><![CDATA[Příkazce:]]></text>
			</staticText>
			<genericElement>
				<reportElement uuid="af57c2c2-8459-4647-9506-cc900edad55a" x="61" y="0" width="148" height="42"/>
				<genericElementType namespace="urn:sig:sig" name="signature"/>
				<genericElementParameter name="index">
					<valueExpression><![CDATA[1]]></valueExpression>
				</genericElementParameter>
			</genericElement>
			<staticText>
				<reportElement uuid="c33d945b-9a1e-456a-bf36-c3e761540b78" x="223" y="10" width="100" height="20"/>
				<textElement/>
				<text><![CDATA[Správce rozpočtu:]]></text>
			</staticText>
			<genericElement>
				<reportElement uuid="13896576-2961-40c4-a186-b89f54676644" x="323" y="0" width="148" height="42"/>
				<genericElementType namespace="urn:sig:sig" name="signature"/>
				<genericElementParameter name="index">
					<valueExpression><![CDATA[3]]></valueExpression>
				</genericElementParameter>
			</genericElement>
			<staticText>
				<reportElement uuid="f37ccd3c-f71f-4c6e-a850-a9699f73e867" x="-1" y="52" width="555" height="20"/>
				<textElement/>
				<text><![CDATA[Pověření pracovníci potvrzují svými podpisy provedení předběžné kontroly v souladu se zákonem č. 320/2001 Sb.]]></text>
			</staticText>
		</band>
	</summary>
</jasperReport>
