Conflicts:
	src/main/webapp/app/template.zhtml
multitenant
František Přibyl 10 years ago
commit a684351c9d

@ -327,6 +327,13 @@
<version>1.4.3</version> <version>1.4.3</version>
</dependency> </dependency>
<!-- Joda time -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.4</version>
</dependency>
<!-- Test --> <!-- Test -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>

@ -95,7 +95,8 @@ public class Constants {
public final static ReportMapping REPORTS[] = { public final static ReportMapping REPORTS[] = {
new ReportMapping(MOD_ADDRESSBOOK, new Report("Adresní karty", "address")), new ReportMapping(MOD_ADDRESSBOOK, new Report("Adresní karty", "address")),
new ReportMapping(MOD_ADDRESSBOOK, new Report("Adresa", "address", false, true)), new ReportMapping(MOD_ADDRESSBOOK, new Report("Adresa", "address", false, true)),
new ReportMapping(MOD_TRIPBILL, new Report("Žádost", "tripRequirement", false, true)) new ReportMapping(MOD_TRIPBILL, new Report("Žádost", "tripRequirement", false, true)),
new ReportMapping(MOD_TRIPBILL, new Report("Vyúčtování", "tripBill", false, true))
}; };
public final static String REQTYPE_ORDER = "ORDER"; public final static String REQTYPE_ORDER = "ORDER";

@ -12,12 +12,14 @@ import java.math.BigDecimal;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Calendar; import java.util.Calendar;
import java.util.Collections; import java.util.Collections;
import java.util.Date;
import java.util.List; import java.util.List;
import java.util.concurrent.TimeUnit;
import org.hibernate.LazyInitializationException; import org.hibernate.LazyInitializationException;
import org.hibernate.Query; import org.hibernate.Query;
import org.joda.time.DateTime;
import org.joda.time.Days;
import org.joda.time.Hours;
import org.joda.time.LocalTime;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
@ -33,7 +35,9 @@ public class TripBillServiceImpl extends AbstractOwnedService<TripBill> implemen
TripBill bill = new TripBill(); TripBill bill = new TripBill();
bill.setRequirement(requirement); bill.setRequirement(requirement);
long daysCount = TimeUnit.DAYS.convert(requirement.getEndDate().getTime() - requirement.getTripDate().getTime(), TimeUnit.MILLISECONDS) + 1;
int daysCount = Days.daysBetween((new DateTime(requirement.getTripDate())).withTimeAtStartOfDay(),
(new DateTime(requirement.getEndDate())).withTimeAtStartOfDay()).getDays() + 1;
for (int i = 0 ; i < daysCount ; i++) { for (int i = 0 ; i < daysCount ; i++) {
TripBillItem item = new TripBillItem(); TripBillItem item = new TripBillItem();
@ -91,49 +95,35 @@ public class TripBillServiceImpl extends AbstractOwnedService<TripBill> implemen
} }
private void calculateItem(TripBillItem item) { private void calculateItem(TripBillItem item) {
Calendar cal = Calendar.getInstance(); LocalTime timeTo;
Date to = item.getToArrival(); LocalTime timeBack;
boolean allDay = false;
if (to == null) {
to = new Date();
cal.setTime(to);
cal.set(Calendar.HOUR_OF_DAY, 0);
cal.set(Calendar.MINUTE, 0);
} else {
cal.setTime(to);
}
cal.set(Calendar.DAY_OF_MONTH, 1);
cal.set(Calendar.MONTH, 1);
cal.set(Calendar.YEAR, 2000);
to.setTime(cal.getTimeInMillis()); if (item.getToArrival() == null) {
timeTo = (new LocalTime()).withHourOfDay(0).withMinuteOfHour(0);
Date back = item.getBackDeparture(); } else {
timeTo = new LocalTime(item.getToArrival());
if (back == null) {
back = new Date(to.getTime());
} }
cal.setTime(back); if (item.getBackDeparture() == null) {
timeBack = (new LocalTime()).withHourOfDay(23).withMinuteOfHour(59);
if (back.equals(to)) { allDay = true;
cal.set(Calendar.HOUR_OF_DAY, 23); } else {
cal.set(Calendar.MINUTE, 59); timeBack = new LocalTime(item.getBackDeparture());
} }
cal.set(Calendar.DAY_OF_MONTH, 1); if (timeTo.isAfter(timeBack)) {
cal.set(Calendar.MONTH, 1);
cal.set(Calendar.YEAR, 2000);
back.setTime(cal.getTimeInMillis());
if (to.getTime() > back.getTime()) {
item.setTotal(BigDecimal.ZERO); item.setTotal(BigDecimal.ZERO);
return; return;
} }
SettingsData settings = globalSettings.getSettings(); SettingsData settings = globalSettings.getSettings();
long hours = TimeUnit.HOURS.convert(back.getTime() - to.getTime(), TimeUnit.MILLISECONDS); int hours = Hours.hoursBetween(timeTo, timeBack).getHours();
if (allDay) {
++hours;
}
int refundHour = 0; int refundHour = 0;
List<Integer> refundHours = new ArrayList<Integer>(settings.getRefunds().keySet()); List<Integer> refundHours = new ArrayList<Integer>(settings.getRefunds().keySet());
Collections.sort(refundHours); Collections.sort(refundHours);

@ -0,0 +1,359 @@
<?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="tripBill" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="f59e8277-a431-4cdc-abaa-c82c1cf193af">
<property name="ireport.zoom" value="2.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="518"/>
<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="requirement" class="info.bukova.isspst.data.TripRequirement"/>
<field name="ownedBy" class="info.bukova.isspst.data.User"/>
<field name="requirement.reqDate" class="java.util.Date"/>
<field name="requirement.from" class="java.lang.String"/>
<field name="requirement.tripDate" class="java.util.Date"/>
<field name="requirement.to" class="java.lang.String"/>
<field name="requirement.description" class="java.lang.String"/>
<field name="requirement.end" class="java.lang.String"/>
<field name="requirement.endDate" class="java.util.Date"/>
<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="resultMessageDate" class="java.util.Date">
<fieldDescription><![CDATA[resultMessageDate]]></fieldDescription>
</field>
<field name="billItems" class="java.util.List">
<fieldDescription><![CDATA[billItems]]></fieldDescription>
</field>
<field name="freeCarfare" class="java.lang.Boolean">
<fieldDescription><![CDATA[freeCarfare]]></fieldDescription>
</field>
<field name="freeHousing" class="java.lang.Boolean">
<fieldDescription><![CDATA[freeHousing]]></fieldDescription>
</field>
<field name="freeMeals" class="java.lang.Boolean">
<fieldDescription><![CDATA[freeMeals]]></fieldDescription>
</field>
<field name="total" class="java.math.BigDecimal">
<fieldDescription><![CDATA[total]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="282" splitType="Stretch">
<staticText>
<reportElement uuid="6e60bd03-48b9-4555-91ab-757532d93e6a" x="10" y="66" width="143" height="20"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Příjmení, jméno, titul:]]></text>
</staticText>
<staticText>
<reportElement uuid="448ba3e9-dc29-45c4-b384-3e597d036134" x="10" y="86" width="100" height="20"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Bydliště:]]></text>
</staticText>
<textField>
<reportElement uuid="62d493f1-c058-42e6-b2f5-1a691ac9e5db" x="196" y="66" width="181" height="20"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{ownedBy}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="86395201-6c9d-4584-a8a3-eb46dd4af411" x="143" y="115" width="143" height="27"/>
<textElement textAlignment="Center"/>
<text><![CDATA[Místo jednání]]></text>
</staticText>
<textField>
<reportElement uuid="f62e3881-5a60-45ed-997b-71f5e1c25b28" x="0" y="143" width="143" height="20"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{requirement.from}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="67730ab5-6550-4a51-8daa-ef3c509d44ad" x="143" y="113" width="1" height="75"/>
</line>
<line>
<reportElement uuid="98195ce4-de92-4643-bd50-f63d553a6235" x="0" y="188" width="572" height="1"/>
</line>
<staticText>
<reportElement uuid="4827d565-87ea-4648-a5b0-6473e8814bb1" x="429" y="115" width="143" height="26"/>
<textElement textAlignment="Center"/>
<text><![CDATA[Konec cesty (místo, datum)]]></text>
</staticText>
<staticText>
<reportElement uuid="76f85619-891b-44f4-8c7f-d1ceba0bef3c" x="0" y="115" width="143" height="27"/>
<textElement textAlignment="Center"/>
<text><![CDATA[Počátek cesty (místo, datum, hodina)]]></text>
</staticText>
<line>
<reportElement uuid="e5c8f5ac-f7b5-4235-ba39-566b94bb6382" x="428" y="113" width="1" height="75"/>
</line>
<textField pattern="dd. MM. yyyy">
<reportElement uuid="f758abfe-1e97-4ac0-a7e8-293438ef1d78" x="429" y="163" width="143" height="20"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{requirement.endDate}]]></textFieldExpression>
</textField>
<textField pattern="hh:mm">
<reportElement uuid="0db3d6e2-36e3-4c66-b4a1-2cdc555b2831" x="90" y="163" width="53" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[$F{requirement.tripDate}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="76000adf-2d9c-4c56-9471-51bc278ca433" x="286" y="143" width="143" height="40"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{requirement.description}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="4b1e7687-d605-46bb-aa2b-08637cff229a" x="143" y="143" width="143" height="20"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{requirement.to}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="70db0a7e-650a-4324-9c62-f75bcbdcbb8d" x="285" y="113" width="1" height="75"/>
</line>
<staticText>
<reportElement uuid="d52c698d-07c8-4740-a791-2df4f5cb1c6e" x="286" y="114" width="143" height="27"/>
<textElement textAlignment="Center"/>
<text><![CDATA[Účel cesty]]></text>
</staticText>
<textField pattern="dd. MM. yyyy">
<reportElement uuid="88c08297-c140-410a-8980-02416ec62475" x="0" y="163" width="90" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[$F{requirement.tripDate}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="21724842-be95-48ba-a811-0bf7a862ae3f" x="429" y="143" width="143" height="20"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{requirement.end}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="dd38c006-cfb4-4b8f-abf8-986222d3bd27" x="0" y="112" width="572" height="1"/>
</line>
<staticText>
<reportElement uuid="831faf0e-2b31-47df-9ccf-4bf1c5bcdcbd" x="1" y="3" width="572" height="38"/>
<textElement textAlignment="Center">
<font size="14" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[VYÚČTOVÁNÍ
tuzemské pracovní cesty]]></text>
</staticText>
<staticText>
<reportElement uuid="6990eca1-ad98-4545-b211-1892d039bc74" x="1" y="195" width="571" height="20"/>
<textElement textAlignment="Center">
<font size="14" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[VYÚČTOVÁNÍ PRACOVNÍ CESTY]]></text>
</staticText>
<staticText>
<reportElement uuid="9b5868e4-5034-4141-b470-8c199e81ee4e" x="0" y="218" width="296" height="20"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Zpráva o výsledku pracovní cesty byla podána dne:]]></text>
</staticText>
<textField pattern="dd. MM. yyyy">
<reportElement uuid="d7b2da96-3040-4a89-9380-0dbb55068601" x="428" y="215" width="144" height="20"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$F{resultMessageDate}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="b2b60eec-df87-4385-a6d9-8d3f80cc319a" x="1" y="238" width="295" height="20"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Se způsobem provedení souhlasí:]]></text>
</staticText>
<line>
<reportElement uuid="0cf99b2a-b025-4a50-bcb5-8e371536bb77" x="296" y="258" width="276" height="1"/>
</line>
<staticText>
<reportElement uuid="17876cb8-7666-48f4-9275-f7a70cd08ff9" x="296" y="262" width="276" height="20"/>
<textElement textAlignment="Center">
<font isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Datum a podpis oprávněné osoby]]></text>
</staticText>
<line>
<reportElement uuid="c67f7840-5e38-4eed-ab3f-e4907ac33b5c" x="0" y="281" width="572" height="1"/>
</line>
<line>
<reportElement uuid="e3530085-daa8-4675-bf3a-d98c775be07e" x="0" y="41" width="571" height="1"/>
</line>
<line>
<reportElement uuid="47e4e70d-fb5f-4266-889a-4149c71efa42" x="-1" y="0" width="572" height="1"/>
</line>
<line>
<reportElement uuid="d4738137-17c1-4721-b222-7187988c1b06" x="-1" y="1" width="1" height="281"/>
</line>
<line>
<reportElement uuid="bf83547c-60d9-4f95-a5f1-db0763ba17cb" x="571" y="0" width="1" height="281"/>
</line>
</band>
</pageHeader>
<detail>
<band height="64" splitType="Stretch">
<subreport>
<reportElement uuid="762b2a39-b6f6-49cf-a9d2-8e152a791daf" x="-1" y="0" width="575" height="63"/>
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{billItems})]]></dataSourceExpression>
<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "tripBillItems.jasper"]]></subreportExpression>
</subreport>
</band>
</detail>
<summary>
<band height="170" splitType="Stretch">
<subreport>
<reportElement uuid="b2e1d029-267f-4363-9411-716a0db9b048" x="0" y="23" width="241" height="40">
<printWhenExpression><![CDATA[$F{freeMeals}]]></printWhenExpression>
</reportElement>
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{billItems})]]></dataSourceExpression>
<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "tripBillFreeMeals.jasper"]]></subreportExpression>
</subreport>
<staticText>
<reportElement uuid="0be16cf4-2ad5-453b-9933-a696979331a1" x="0" y="0" width="241" height="23"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Stravování poskytnuto bezplatně ve dnech:
(vyberte pro každý den zvlášť počet hlavních jídel (S-O-V)]]></text>
</staticText>
<staticText>
<reportElement uuid="4b4103f4-082a-4cfb-bbaa-ad41f187e53a" x="241" y="3" width="23" height="20">
<printWhenExpression><![CDATA[$F{freeMeals}]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[ANO]]></text>
</staticText>
<staticText>
<reportElement uuid="dae29735-a372-4c9b-86e4-43507632c08a" x="242" y="3" width="22" height="20">
<printWhenExpression><![CDATA[!$F{freeMeals}]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[NE]]></text>
</staticText>
<staticText>
<reportElement uuid="5457410d-912f-47f9-a15f-2c15dadd6c57" x="0" y="62" width="242" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Ubytování poskytnuto bezplatně]]></text>
</staticText>
<staticText>
<reportElement uuid="791d16f6-690b-4aae-8ac1-d3c3ade837e9" x="242" y="62" width="22" height="15">
<printWhenExpression><![CDATA[!$F{freeHousing}]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[NE]]></text>
</staticText>
<staticText>
<reportElement uuid="4c309095-9cbb-49e7-8fe5-7a8f231c130f" x="243" y="62" width="21" height="15">
<printWhenExpression><![CDATA[$F{freeHousing}]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[ANO]]></text>
</staticText>
<staticText>
<reportElement uuid="c200a476-63ba-4c3d-8e17-298b5928b0dd" x="1" y="77" width="240" height="15"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Volná - zlevněná jízdenka]]></text>
</staticText>
<staticText>
<reportElement uuid="18b2ff27-e584-4352-98c8-0c642609b5e1" x="242" y="77" width="22" height="15">
<printWhenExpression><![CDATA[!$F{freeCarfare}]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[NE]]></text>
</staticText>
<staticText>
<reportElement uuid="d4de606e-fad8-4216-b467-2d8446cc3747" x="243" y="77" width="21" height="15">
<printWhenExpression><![CDATA[$F{freeCarfare}]]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[ANO]]></text>
</staticText>
<line>
<reportElement uuid="6f7577a1-edc7-491a-a803-a76f8b84b13d" x="290" y="-3" width="1" height="95"/>
</line>
<line>
<reportElement uuid="afefe2a2-4c7b-4e62-892f-5c8fb68f8a0f" x="571" y="0" width="1" height="169"/>
</line>
<line>
<reportElement uuid="4e40e52b-207e-404e-b4f3-f0984af588c1" x="-1" y="91" width="572" height="1"/>
</line>
<line>
<reportElement uuid="08b18c85-1c4f-4b8d-bc0b-ac3df196a182" x="291" y="46" width="281" height="1"/>
</line>
<staticText>
<reportElement uuid="20f38e87-a1bd-4d02-8742-4ce3a6b357bf" x="291" y="3" width="186" height="43"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[Záloha]]></text>
</staticText>
<staticText>
<reportElement uuid="eae56af6-8fd9-45e1-8463-282939b67f05" x="291" y="47" width="186" height="44"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[Doplatek - přeplatek]]></text>
</staticText>
<textField pattern="###0.00;-###0.00">
<reportElement uuid="93cba14d-18d2-4279-9a8d-86f795291879" x="477" y="47" width="56" height="44"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="620dbf9c-0990-4895-963e-bd3759e64202" x="-1" y="0" width="1" height="168"/>
</line>
<staticText>
<reportElement uuid="55cde79e-3253-4ff8-8387-f2f5f959bc06" x="1" y="92" width="570" height="15"/>
<textElement textAlignment="Center"/>
<text><![CDATA[K vyúčtování pracovní cesty připojuji počet příloh]]></text>
</staticText>
<staticText>
<reportElement uuid="c83e0050-7bac-43fa-8182-728243f702c2" x="243" y="107" width="328" height="15"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Prohlašuji, že jsem všechny údaje uvedl úplně a správně.]]></text>
</staticText>
<staticText>
<reportElement uuid="aea69aee-5394-4c6e-82da-9fef6a1fe2b9" x="1" y="132" width="305" height="30"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[1) Dobu odjezdu a příjezdu vyplňujte podle jízdního řádu.
2) Uvádějte ve zkratce.
3) Počet km uvádějte jen při použití vlastního dopravního prostředku.]]></text>
</staticText>
<staticText>
<reportElement uuid="ff356c6e-d796-4148-b20f-114dde6e9340" x="305" y="147" width="266" height="15"/>
<textElement textAlignment="Center"/>
<text><![CDATA[Datum a podpis účtovatele ]]></text>
</staticText>
<line>
<reportElement uuid="db423f1f-b9c6-49ec-8336-fa06680c9dad" x="306" y="145" width="265" height="1"/>
</line>
<line>
<reportElement uuid="452bba4b-d293-4253-92c3-5fa58f58ea53" x="-1" y="168" width="572" height="1"/>
</line>
</band>
</summary>
</jasperReport>

@ -0,0 +1,36 @@
<?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="tripBillFreeMeals" columnCount="15" printOrder="Horizontal" pageWidth="572" pageHeight="752" columnWidth="38" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="fb29c1af-a9f9-4232-9a63-e88cd664b97b">
<property name="ireport.zoom" value="3.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<queryString>
<![CDATA[]]>
</queryString>
<field name="date" class="java.util.Date">
<fieldDescription><![CDATA[date]]></fieldDescription>
</field>
<field name="freeMealsCount" class="java.lang.Integer">
<fieldDescription><![CDATA[freeMealsCount]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<detail>
<band height="41" splitType="Stretch">
<textField pattern="dd.MM.">
<reportElement uuid="ac0730bd-df0a-4b0a-8280-c09544a601b3" x="0" y="0" width="37" height="20"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{date}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="2793f862-0636-46dd-9b01-455884e637a3" x="0" y="20" width="37" height="20"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{freeMealsCount}]]></textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>

@ -0,0 +1,593 @@
<?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="tripBillItems" pageWidth="572" pageHeight="752" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="0bbe694d-dbb2-4b58-b789-2587f37c94a8">
<property name="ireport.zoom" value="2.0"/>
<property name="ireport.x" value="496"/>
<property name="ireport.y" value="0"/>
<queryString>
<![CDATA[]]>
</queryString>
<field name="adjustedTotal" class="java.math.BigDecimal">
<fieldDescription><![CDATA[adjustedTotal]]></fieldDescription>
</field>
<field name="back" class="java.lang.String">
<fieldDescription><![CDATA[back]]></fieldDescription>
</field>
<field name="backArrival" class="java.util.Date">
<fieldDescription><![CDATA[backArrival]]></fieldDescription>
</field>
<field name="backDeparture" class="java.util.Date">
<fieldDescription><![CDATA[backDeparture]]></fieldDescription>
</field>
<field name="backVehicle" class="info.bukova.isspst.data.Vehicle">
<fieldDescription><![CDATA[backVehicle]]></fieldDescription>
</field>
<field name="beginWork" class="java.util.Date">
<fieldDescription><![CDATA[beginWork]]></fieldDescription>
</field>
<field name="carefare" class="java.math.BigDecimal">
<fieldDescription><![CDATA[carefare]]></fieldDescription>
</field>
<field name="distance" class="java.math.BigDecimal">
<fieldDescription><![CDATA[distance]]></fieldDescription>
</field>
<field name="distanceAmount" class="java.math.BigDecimal">
<fieldDescription><![CDATA[distanceAmount]]></fieldDescription>
</field>
<field name="endWork" class="java.util.Date">
<fieldDescription><![CDATA[endWork]]></fieldDescription>
</field>
<field name="freeMealsCount" class="java.lang.Integer">
<fieldDescription><![CDATA[freeMealsCount]]></fieldDescription>
</field>
<field name="fuelAmount" class="java.math.BigDecimal">
<fieldDescription><![CDATA[fuelAmount]]></fieldDescription>
</field>
<field name="fuelConsumption" class="java.math.BigDecimal">
<fieldDescription><![CDATA[fuelConsumption]]></fieldDescription>
</field>
<field name="housing" class="java.math.BigDecimal">
<fieldDescription><![CDATA[housing]]></fieldDescription>
</field>
<field name="meals" class="java.math.BigDecimal">
<fieldDescription><![CDATA[meals]]></fieldDescription>
</field>
<field name="otherExpenses" class="java.math.BigDecimal">
<fieldDescription><![CDATA[otherExpenses]]></fieldDescription>
</field>
<field name="to" class="java.lang.String">
<fieldDescription><![CDATA[to]]></fieldDescription>
</field>
<field name="toArrival" class="java.util.Date">
<fieldDescription><![CDATA[toArrival]]></fieldDescription>
</field>
<field name="toDeparture" class="java.util.Date">
<fieldDescription><![CDATA[toDeparture]]></fieldDescription>
</field>
<field name="total" class="java.math.BigDecimal">
<fieldDescription><![CDATA[total]]></fieldDescription>
</field>
<field name="toVehicle" class="info.bukova.isspst.data.Vehicle">
<fieldDescription><![CDATA[toVehicle]]></fieldDescription>
</field>
<field name="date" class="java.util.Date"/>
<field name="toVehicle.code" class="java.lang.String"/>
<field name="backVehicle.code" class="java.lang.String"/>
<variable name="total_1" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{total}]]></variableExpression>
</variable>
<variable name="otherExpenses_1" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{otherExpenses}]]></variableExpression>
</variable>
<variable name="meals_1" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{meals}]]></variableExpression>
</variable>
<variable name="housing_1" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{housing}]]></variableExpression>
</variable>
<variable name="carefare_1" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{carefare}]]></variableExpression>
</variable>
<variable name="adjustedTotal_1" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{adjustedTotal}]]></variableExpression>
</variable>
<background>
<band splitType="Stretch"/>
</background>
<columnHeader>
<band height="57" splitType="Stretch">
<line>
<reportElement uuid="da553093-df96-4f8a-8084-3b3c2fde994f" x="0" y="0" width="1" height="56"/>
</line>
<line>
<reportElement uuid="78587afe-8edc-4899-bb57-fc34423e01a4" x="572" y="0" width="1" height="56"/>
</line>
<line>
<reportElement uuid="9adf4025-4cd1-4b5c-b211-f08487fbe99f" x="0" y="56" width="573" height="1"/>
</line>
<staticText>
<reportElement uuid="3e005d19-fe30-4878-8c29-1cb7d2086445" x="323" y="29" width="33" height="27"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[Spotř.
PHM
v Kč]]></text>
</staticText>
<staticText>
<reportElement uuid="c8f5dfff-5036-4aba-95d1-f2a9a8a78a04" x="324" y="2" width="32" height="27"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[Spotř.
PHM
v litrech]]></text>
</staticText>
<staticText>
<reportElement uuid="e920a713-b158-4197-97a8-dab4d426091d" x="292" y="29" width="33" height="27"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[Ujeté
Km
v Kč]]></text>
</staticText>
<staticText>
<reportElement uuid="75f602c3-e8ae-4bd2-b741-e25b1a05cc47" x="292" y="2" width="32" height="27"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[Ujeté
Km
v Kč]]></text>
</staticText>
<line>
<reportElement uuid="44412d40-9f4a-49f1-8bd3-77a501a72f82" x="0" y="-1" width="573" height="1"/>
</line>
<staticText>
<reportElement uuid="6c3b44cd-f94b-419b-a13a-bcfaf63cf4a7" x="0" y="2" width="33" height="55"/>
<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
<font size="7"/>
</textElement>
<text><![CDATA[Datum]]></text>
</staticText>
<staticText>
<reportElement uuid="137d957d-d316-44c0-9a1a-56bad430746d" x="164" y="29" width="31" height="27"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[hod:min]]></text>
</staticText>
<staticText>
<reportElement uuid="456c180f-15a5-4772-9200-cb4c4ca6cb24" x="196" y="29" width="31" height="27"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[hod:min]]></text>
</staticText>
<staticText>
<reportElement uuid="8d5e8c79-e439-4d1b-90d0-57e88513507e" x="164" y="2" width="63" height="27"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[Odjezd - příjezd]]></text>
</staticText>
<staticText>
<reportElement uuid="eae7d435-b349-4512-b085-058f3ddf4b7f" x="228" y="1" width="31" height="55"/>
<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
<font size="7"/>
</textElement>
<text><![CDATA[Použitý dopravní
prostředek]]></text>
</staticText>
<staticText>
<reportElement uuid="f2547e4b-98dd-4cec-b0ed-9696b6e99880" x="260" y="-1" width="31" height="58"/>
<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
<font size="7"/>
</textElement>
<text><![CDATA[Počátek a konec
prac. výkonu
(hod)]]></text>
</staticText>
<staticText>
<reportElement uuid="fe081716-8000-4ae0-873e-b89f8566acea" x="33" y="30" width="130" height="27"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[Místo jednání]]></text>
</staticText>
<staticText>
<reportElement uuid="501ce67d-9956-4dad-8693-a066c8e3fe84" x="356" y="2" width="36" height="54"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[Jízdné a
místní
přeprava]]></text>
</staticText>
<staticText>
<reportElement uuid="be6b83d7-d3d6-42bc-8ae9-32376d44bae9" x="392" y="2" width="36" height="54"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[Nocležné]]></text>
</staticText>
<staticText>
<reportElement uuid="f69918a4-59b6-458b-b297-84a28525051a" x="428" y="2" width="35" height="54"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[Stravné]]></text>
</staticText>
<staticText>
<reportElement uuid="46fa3298-500f-4b6a-85c4-f04fc7935860" x="463" y="2" width="35" height="54"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[Nutné
vedlejší
výdaje]]></text>
</staticText>
<staticText>
<reportElement uuid="5b00f4dd-6789-4c3e-a5e8-6ab81d4ada6e" x="498" y="2" width="36" height="54"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[Celkem]]></text>
</staticText>
<staticText>
<reportElement uuid="fb8ffe72-e223-4d8c-ab35-cc28be5bc6ee" x="534" y="2" width="37" height="54"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<text><![CDATA[Upraveno]]></text>
</staticText>
<line>
<reportElement uuid="fddf0636-2185-468f-9070-b32aa9e3ed58" x="32" y="-1" width="1" height="58"/>
</line>
<line>
<reportElement uuid="608e728f-9b8c-4fca-ba1a-cd3e75a17a4a" x="163" y="-1" width="1" height="58"/>
</line>
<line>
<reportElement uuid="5b093018-3784-44d7-aa79-63a3ac75c479" x="227" y="-1" width="1" height="58"/>
</line>
<line>
<reportElement uuid="bbc06520-b919-4ddc-9f57-1642c65999db" x="259" y="-1" width="1" height="58"/>
</line>
<line>
<reportElement uuid="f060d484-d49c-4778-aa11-e46daf842f00" x="291" y="-1" width="1" height="58"/>
</line>
<line>
<reportElement uuid="82cf04d2-eae7-40d4-861b-6b37aed592c6" x="323" y="-1" width="1" height="58"/>
</line>
<line>
<reportElement uuid="3d551057-5114-430e-8a7f-87cda399808b" x="355" y="-1" width="1" height="58"/>
</line>
<line>
<reportElement uuid="f2ccaa40-a027-44b3-8c29-82058fc9cd45" x="391" y="-1" width="1" height="58"/>
</line>
<line>
<reportElement uuid="56aa32e5-13fc-44ea-9a9a-fbf89d0c2420" x="427" y="-1" width="1" height="58"/>
</line>
<line>
<reportElement uuid="4abb71ff-381b-4281-baa2-8b3716953fbe" x="462" y="-1" width="1" height="58"/>
</line>
<line>
<reportElement uuid="a81e2765-ad48-4d90-bb7e-82b4991cf828" x="498" y="-1" width="1" height="58"/>
</line>
<line>
<reportElement uuid="127bffd7-1d2e-4bd3-a0b1-1b5855ad1696" x="534" y="-1" width="1" height="58"/>
</line>
<line>
<reportElement uuid="096a555c-92d9-4025-9968-6188d7fd318e" x="33" y="28" width="194" height="1"/>
</line>
<line>
<reportElement uuid="2ee638c5-78e4-44f0-b1e8-da49a1307f27" x="292" y="28" width="63" height="1"/>
</line>
<line>
<reportElement uuid="cb4d3e27-5105-4cd6-963e-0844295c1204" x="195" y="28" width="1" height="28"/>
</line>
</band>
</columnHeader>
<detail>
<band height="31" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement uuid="4ade5dcc-318e-441a-80af-f064ee3b06b1" x="63" y="0" width="101" height="15"/>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{to}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="4dff49a9-e474-40c9-9ff6-5db5654d001c" x="63" y="15" width="101" height="15"/>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{back}]]></textFieldExpression>
</textField>
<textField pattern="HH:mm" isBlankWhenNull="true">
<reportElement uuid="de221362-fbff-452c-b722-26158b9cceb5" x="164" y="0" width="32" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{toArrival}]]></textFieldExpression>
</textField>
<textField pattern="HH:mm" isBlankWhenNull="true">
<reportElement uuid="7c23c18f-f99b-4ad4-90a9-449c4282069b" x="196" y="0" width="32" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{toDeparture}]]></textFieldExpression>
</textField>
<textField pattern="HH:mm" isBlankWhenNull="true">
<reportElement uuid="729bf768-8cdb-4eac-b9f3-33f2fbf987bb" x="164" y="15" width="32" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{backArrival}]]></textFieldExpression>
</textField>
<textField pattern="dd.MM">
<reportElement uuid="60273316-4b72-4f4d-8f6c-1328fbbb8d0c" x="0" y="0" width="32" height="30"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{date}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="fe1711e1-bae4-401c-9aea-d02dc1e89473" x="33" y="0" width="30" height="15"/>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<text><![CDATA[Tam]]></text>
</staticText>
<staticText>
<reportElement uuid="b9d9c827-be40-4427-8467-7af8c24fa1e2" x="33" y="15" width="30" height="15"/>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<text><![CDATA[Zpět]]></text>
</staticText>
<textField pattern="HH:mm" isBlankWhenNull="true">
<reportElement uuid="e75d7679-42f9-4f17-9bc4-ea36f51bf83a" x="196" y="15" width="32" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{backDeparture}]]></textFieldExpression>
</textField>
<textField pattern="HH:mm" isBlankWhenNull="true">
<reportElement uuid="10e81545-4f6c-4638-a8cd-8cd5ddc344f5" x="228" y="0" width="32" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{toVehicle.code}]]></textFieldExpression>
</textField>
<textField pattern="HH:mm" isBlankWhenNull="true">
<reportElement uuid="324749f5-8089-49f8-af01-bb6a83cec20a" x="228" y="15" width="32" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{backVehicle.code}]]></textFieldExpression>
</textField>
<textField pattern="HH:mm" isBlankWhenNull="true">
<reportElement uuid="e54cc23c-3dd9-4199-b6ef-4157cfbc53a5" x="260" y="0" width="32" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{beginWork}]]></textFieldExpression>
</textField>
<textField pattern="HH:mm" isBlankWhenNull="true">
<reportElement uuid="bb1cc66a-60b0-4472-aae1-875bd8ea2641" x="260" y="15" width="32" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{endWork}]]></textFieldExpression>
</textField>
<textField pattern="HH:mm" isBlankWhenNull="true">
<reportElement uuid="034668ea-fa09-4967-bf1a-32b937c04729" x="292" y="0" width="32" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{distance}]]></textFieldExpression>
</textField>
<textField pattern="HH:mm" isBlankWhenNull="true">
<reportElement uuid="d9ee1631-7830-44e2-a23d-63be94701d24" x="292" y="15" width="32" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{distanceAmount}]]></textFieldExpression>
</textField>
<textField pattern="HH:mm" isBlankWhenNull="true">
<reportElement uuid="89be17a9-f8cc-4cb6-8254-2e660ab44807" x="324" y="0" width="32" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{fuelConsumption}]]></textFieldExpression>
</textField>
<textField pattern="HH:mm" isBlankWhenNull="true">
<reportElement uuid="5aceac93-7265-4937-b23f-ec83288f6f90" x="324" y="15" width="32" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{fuelAmount}]]></textFieldExpression>
</textField>
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="898d8207-4b4a-421f-9cb6-7bd6fbb1e50b" x="356" y="0" width="35" height="30"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{carefare}]]></textFieldExpression>
</textField>
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="ee41d25d-ad0e-4e5d-992b-c43f8f830f3d" x="392" y="0" width="35" height="30"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{housing}]]></textFieldExpression>
</textField>
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="48f79ec6-69c3-4ba0-9304-04d7aa1484bb" x="428" y="0" width="34" height="30"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{meals}]]></textFieldExpression>
</textField>
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="b8326d57-f701-4986-a71a-a13950194c01" x="463" y="0" width="35" height="30"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{otherExpenses}]]></textFieldExpression>
</textField>
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="8816d4d2-abf0-4d18-af0c-1e14f63955fb" x="499" y="0" width="35" height="30"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
</textField>
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="faa18469-c213-403e-a821-cd0abb6abf0d" x="535" y="0" width="36" height="30"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{adjustedTotal}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="788b372d-2618-40b4-aa75-fb3c685d145b" x="0" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="0e7a1f99-f266-445d-b1b5-da5783e3d9b2" x="572" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="96e78ae2-43fc-451e-9af3-090835916abf" x="32" y="15" width="324" height="1"/>
</line>
<line>
<reportElement uuid="e234611e-3af8-4bfb-83cb-a4de2b109d32" x="0" y="30" width="572" height="1"/>
</line>
<line>
<reportElement uuid="ea2610f3-5892-47c4-9bc0-f0f3504d0ec1" x="32" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="93884a78-b290-4851-bd41-b530d2eb3a8f" x="62" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="c6a3173f-a106-45ed-91cb-3fba96b7a1a6" x="163" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="0c63c512-a60c-4cf2-b6ab-08e649064485" x="195" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="979d629b-2aa8-4fdf-9624-4ae61a338965" x="227" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="ce39dc46-2e5e-45c7-91dc-fc3f2c03c031" x="259" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="63eeff9a-d567-4e2b-b98b-7aea86036f93" x="291" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="cb138966-62bd-4f11-bb44-3f3319cc0c5d" x="323" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="6348010f-28cb-423d-9e19-28944a6b743a" x="355" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="10a2ea79-20bb-4209-894f-8617bc5566c6" x="391" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="19348f09-5aa7-42e5-9c8a-18242af96d8e" x="427" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="30aff81d-64c6-43c4-ab62-22298ef5b429" x="462" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="351d6b43-e5c1-43c8-9850-a3da7639748f" x="498" y="0" width="1" height="31"/>
</line>
<line>
<reportElement uuid="906b2bf2-d8fb-4f99-afd8-0e7b15cb140c" x="534" y="0" width="1" height="31"/>
</line>
</band>
</detail>
<summary>
<band height="18" splitType="Stretch">
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="ba543006-f0a7-4dfe-ba87-d2bfe9760c99" x="499" y="0" width="35" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$V{total_1}]]></textFieldExpression>
</textField>
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="28c6d827-959f-46da-98fa-0b8e5e5e7eb3" x="463" y="0" width="35" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$V{otherExpenses_1}]]></textFieldExpression>
</textField>
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="8b5edcc3-2530-4f81-a744-ebaa65f7053f" x="427" y="0" width="35" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$V{meals_1}]]></textFieldExpression>
</textField>
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="3bba5323-305b-47de-8ee5-b946782b8f02" x="356" y="0" width="35" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$V{carefare_1}]]></textFieldExpression>
</textField>
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="2ed07bb7-5929-4fc2-8820-1d7f1c4002b6" x="392" y="0" width="35" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$V{housing_1}]]></textFieldExpression>
</textField>
<textField pattern="###0.00;-###0.00" isBlankWhenNull="true">
<reportElement uuid="bafec6ef-b7dc-4b1c-bfe5-5991714bcbe7" x="535" y="0" width="36" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$V{adjustedTotal_1}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="9ad05a3b-d644-4aab-9b95-c930e0c269be" x="292" y="0" width="64" height="15"/>
<textElement verticalAlignment="Middle">
<font size="8" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Celkem:]]></text>
</staticText>
<line>
<reportElement uuid="676a0fee-0cf4-469e-af15-8b241699856a" x="291" y="0" width="1" height="18"/>
</line>
<line>
<reportElement uuid="29920dcd-3ab7-4eaf-8809-824c1e2aae03" x="355" y="0" width="1" height="18"/>
</line>
<line>
<reportElement uuid="14c2834f-9dad-4b01-b262-fd3ec5065e32" x="391" y="0" width="1" height="18"/>
</line>
<line>
<reportElement uuid="bde60f40-c185-4b77-8ab8-ce95a3fc6da1" x="427" y="0" width="1" height="18"/>
</line>
<line>
<reportElement uuid="d50a726d-6f6c-4e47-8a21-30f325d29776" x="462" y="0" width="1" height="18"/>
</line>
<line>
<reportElement uuid="e1e60ee6-fe20-4248-8246-7ea9e87ea0a0" x="498" y="0" width="1" height="18"/>
</line>
<line>
<reportElement uuid="30af7c6f-c4e5-48ef-ba70-6e8a82ac0e51" x="534" y="0" width="1" height="18"/>
</line>
<line>
<reportElement uuid="2498110d-0332-4986-943f-cb2132a8825b" x="572" y="0" width="1" height="18"/>
</line>
<line>
<reportElement uuid="ca68b1c6-78de-4f63-89b6-50694fb9a460" x="292" y="17" width="281" height="1"/>
</line>
<line>
<reportElement uuid="d44b788a-05ed-4378-b947-ed5ae87d7174" x="0" y="0" width="1" height="18"/>
</line>
</band>
</summary>
</jasperReport>
Loading…
Cancel
Save