|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
<?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="tripRequirement" pageWidth="612" pageHeight="792" columnWidth="572" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="0b7fa2d2-d452-4a1f-b1c0-2d8e16a22525">
|
|
|
|
|
<property name="ireport.zoom" value="0.75"/>
|
|
|
|
|
<property name="ireport.zoom" value="1.5"/>
|
|
|
|
|
<property name="ireport.x" value="0"/>
|
|
|
|
|
<property name="ireport.y" value="0"/>
|
|
|
|
|
<property name="ireport.y" value="96"/>
|
|
|
|
|
<style name="table">
|
|
|
|
|
<box>
|
|
|
|
|
<pen lineWidth="1.0" lineColor="#000000"/>
|
|
|
|
@ -44,6 +44,8 @@
|
|
|
|
|
<field name="requirement.passengers" class="java.util.Collection"/>
|
|
|
|
|
<field name="requirement.vehicle" class="info.bukova.isspst.data.Vehicle"/>
|
|
|
|
|
<field name="requirement.vehicle.code" class="java.lang.String"/>
|
|
|
|
|
<field name="requirement.requireDownPayment" class="java.lang.Boolean"/>
|
|
|
|
|
<field name="requirement.downPayment" class="java.math.BigDecimal"/>
|
|
|
|
|
<background>
|
|
|
|
|
<band splitType="Stretch"/>
|
|
|
|
|
</background>
|
|
|
|
@ -52,14 +54,14 @@
|
|
|
|
|
<staticText>
|
|
|
|
|
<reportElement uuid="50f96189-2183-4afd-915d-b5342375e988" x="0" y="30" width="572" height="20"/>
|
|
|
|
|
<textElement textAlignment="Center">
|
|
|
|
|
<font size="16" isBold="true" isPdfEmbedded="true"/>
|
|
|
|
|
<font size="16" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
|
|
|
|
|
</textElement>
|
|
|
|
|
<text><![CDATA[Cestovní příkaz]]></text>
|
|
|
|
|
</staticText>
|
|
|
|
|
<staticText>
|
|
|
|
|
<reportElement uuid="5b2dc2ca-188e-4636-b617-dd5c1132246b" x="0" y="50" width="572" height="20"/>
|
|
|
|
|
<textElement textAlignment="Center">
|
|
|
|
|
<font size="16" isBold="true"/>
|
|
|
|
|
<font size="16" isBold="true" pdfFontName="Helvetica-Bold"/>
|
|
|
|
|
</textElement>
|
|
|
|
|
<text><![CDATA[k tuzemské pracovní cestě]]></text>
|
|
|
|
|
</staticText>
|
|
|
|
@ -80,7 +82,7 @@
|
|
|
|
|
<staticText>
|
|
|
|
|
<reportElement uuid="a3e2a5d3-ea50-48bd-94ea-4530f6624b52" x="0" y="51" width="572" height="20"/>
|
|
|
|
|
<textElement textAlignment="Center">
|
|
|
|
|
<font size="12"/>
|
|
|
|
|
<font size="12" pdfFontName="Helvetica-Bold"/>
|
|
|
|
|
</textElement>
|
|
|
|
|
<text><![CDATA[Souhlasím s vysláním na pracovní cestu]]></text>
|
|
|
|
|
</staticText>
|
|
|
|
@ -105,7 +107,7 @@
|
|
|
|
|
<staticText>
|
|
|
|
|
<reportElement uuid="a2912fef-ae4a-4c7e-b08c-3f5f6b92a534" x="0" y="157" width="572" height="20"/>
|
|
|
|
|
<textElement textAlignment="Center">
|
|
|
|
|
<font size="16" isBold="true" isPdfEmbedded="true"/>
|
|
|
|
|
<font size="16" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
|
|
|
|
|
</textElement>
|
|
|
|
|
<text><![CDATA[PODMÍNKY PRACOVNÍ CESTY]]></text>
|
|
|
|
|
</staticText>
|
|
|
|
@ -286,6 +288,25 @@ L - letadlo, P - pěšky, T - taxi]]></text>
|
|
|
|
|
<line>
|
|
|
|
|
<reportElement uuid="0e93a41e-d13e-4f12-83cb-70d69bb3c0fb" x="0" y="442" width="572" height="1"/>
|
|
|
|
|
</line>
|
|
|
|
|
<staticText>
|
|
|
|
|
<reportElement uuid="548c1550-c12d-42b3-a297-c9be96dbb2e8" x="144" y="76" width="31" height="20">
|
|
|
|
|
<printWhenExpression><![CDATA[$F{requirement.requireDownPayment}]]></printWhenExpression>
|
|
|
|
|
</reportElement>
|
|
|
|
|
<textElement/>
|
|
|
|
|
<text><![CDATA[Ano]]></text>
|
|
|
|
|
</staticText>
|
|
|
|
|
<staticText>
|
|
|
|
|
<reportElement uuid="e06aba6d-b74d-4ab1-9737-1134a6ac6519" x="144" y="76" width="32" height="20">
|
|
|
|
|
<printWhenExpression><![CDATA[$F{requirement}.getRequireDownPayment() == null || $F{requirement}.getRequireDownPayment() == false]]></printWhenExpression>
|
|
|
|
|
</reportElement>
|
|
|
|
|
<textElement/>
|
|
|
|
|
<text><![CDATA[Ne]]></text>
|
|
|
|
|
</staticText>
|
|
|
|
|
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
|
|
|
|
|
<reportElement uuid="ac95738d-56c8-4ee2-8721-cad00e1b06e4" x="144" y="398" width="57" height="20"/>
|
|
|
|
|
<textElement textAlignment="Right"/>
|
|
|
|
|
<textFieldExpression><![CDATA[$F{requirement.downPayment}]]></textFieldExpression>
|
|
|
|
|
</textField>
|
|
|
|
|
</band>
|
|
|
|
|
</detail>
|
|
|
|
|
</jasperReport>
|
|
|
|
|