Přidány nové tiskové sestavy "Protokol předběžné kontroly" do agend Fakturace požadavků a Požadavky na služební cesty.

master
Josef Rokos 9 years ago
parent 1475babaa1
commit a93c515bc0

@ -151,7 +151,9 @@ public class Constants {
new ReportMapping(MOD_ORDER, new Report(5, false, "Objednávka", "order", true, true)), new ReportMapping(MOD_ORDER, new Report(5, false, "Objednávka", "order", true, true)),
new ReportMapping(MOD_REQUIREMENTS, new Report(6, false, "Požadavky", "requirements")), new ReportMapping(MOD_REQUIREMENTS, new Report(6, false, "Požadavky", "requirements")),
new ReportMapping(MOD_TRIPREQUIREMENTS, new Report(7, true, "Žádost o SC", "tripRequirementApp", false, true)), new ReportMapping(MOD_TRIPREQUIREMENTS, new Report(7, true, "Žádost o SC", "tripRequirementApp", false, true)),
new ReportMapping(MOD_REQUIREMENTS, new Report(8, true, "Protokol o kontrole", "orderRequirement", false, true)) new ReportMapping(MOD_REQUIREMENTS, new Report(8, true, "Protokol o kontrole", "orderRequirement", false, true)),
new ReportMapping(MOD_INVOICING, new Report(9, false, "Přehled o protokolech předběžné kontroly", "requirementProtocol")),
new ReportMapping(MOD_TRIPREQUIREMENTS, new Report(10, true, "Přehled o protokolech předběžné kontroly", "tripRequirementProtocol"))
}; };
// pokud je v agnde vic nez jedena podepisovaci sestava, musi se definovat ktera sestava nalezi jake entite // pokud je v agnde vic nez jedena podepisovaci sestava, musi se definovat ktera sestava nalezi jake entite

@ -70,6 +70,18 @@ public class Invoicing extends BaseData implements Cloneable
this.completed = completed; this.completed = completed;
} }
public String getInvoiceNumbers() {
String ret = "";
for (InvoicingItem invNum : items) {
if (!ret.isEmpty()) {
ret += ", ";
}
ret += invNum.getInvoiceNumber();
}
return ret;
}
@Override @Override
public Object clone() throws CloneNotSupportedException public Object clone() throws CloneNotSupportedException
{ {

@ -59,6 +59,14 @@ public class InvoicingServiceImpl extends AbstractOwnedService<Invoicing> implem
invoicing.setItems(inv.getItems()); invoicing.setItems(inv.getItems());
} }
@Transactional
@LazyLoader
public void loadReqAuth(Invoicing invoicing) {
Invoicing inv = getById(invoicing.getId());
Hibernate.initialize(inv.getRequirement().getAuthorization());
invoicing.getRequirement().setAuthorization(inv.getRequirement().getAuthorization());
}
@Override @Override
public void calculate(Invoicing invoicing) { public void calculate(Invoicing invoicing) {
BigDecimal total = BigDecimal.ZERO; BigDecimal total = BigDecimal.ZERO;

@ -0,0 +1,260 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 5.6.2.final using JasperReports Library version 5.6.1 -->
<!-- 2016-02-29T12:57:46 -->
<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="requirementProtocol" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b9143b9d-c262-47c6-9b06-26ae82fb8222">
<property name="ireport.zoom" value="2.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="P_MAIN_ADDRESS" class="java.lang.String"/>
<parameter name="P_LOGO" class="java.lang.String"/>
<queryString>
<![CDATA[]]>
</queryString>
<field name="completed" class="java.lang.Boolean">
<fieldDescription><![CDATA[completed]]></fieldDescription>
</field>
<field name="items" class="java.util.List">
<fieldDescription><![CDATA[items]]></fieldDescription>
</field>
<field name="requirement" class="info.bukova.isspst.data.Requirement">
<fieldDescription><![CDATA[requirement]]></fieldDescription>
</field>
<field name="totalInvoiced" class="java.math.BigDecimal">
<fieldDescription><![CDATA[totalInvoiced]]></fieldDescription>
</field>
<field name="requirement.sumTotal" class="java.math.BigDecimal">
<fieldDescription><![CDATA[requirement.sumTotal]]></fieldDescription>
</field>
<field name="requirement.workgroup" class="info.bukova.isspst.data.Workgroup">
<fieldDescription><![CDATA[requirement.workgroup]]></fieldDescription>
</field>
<field name="requirement.reqDate" class="java.util.Date">
<fieldDescription><![CDATA[requirement.reqDate]]></fieldDescription>
</field>
<field name="requirement.ownedBy" class="info.bukova.isspst.data.User">
<fieldDescription><![CDATA[requirement.ownedBy]]></fieldDescription>
</field>
<field name="requirement.numser" class="java.lang.String">
<fieldDescription><![CDATA[requirement.numser]]></fieldDescription>
</field>
<field name="requirement.authorization" class="java.util.List">
<fieldDescription><![CDATA[requirement.authorization]]></fieldDescription>
</field>
<field name="requirement.centre" class="info.bukova.isspst.data.Workgroup">
<fieldDescription><![CDATA[requirement.centre]]></fieldDescription>
</field>
<field name="requirement.description" class="java.lang.String">
<fieldDescription><![CDATA[requirement.description]]></fieldDescription>
</field>
<field name="invoiceNumbers" class="java.lang.String">
<fieldDescription><![CDATA[invoiceNumbers]]></fieldDescription>
</field>
<variable name="Variable_1" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="57">
<image onErrorType="Blank">
<reportElement x="0" y="0" width="100" height="54" uuid="42476349-f707-4035-b93e-23e50fc5e82e">
<printWhenExpression><![CDATA[$P{P_LOGO} != null]]></printWhenExpression>
</reportElement>
<imageExpression><![CDATA[$P{P_LOGO}]]></imageExpression>
</image>
<textField>
<reportElement x="113" y="0" width="689" height="46" uuid="408b5871-7dc2-4d87-a432-f3cc8df0f823"/>
<textElement textAlignment="Center">
<font size="16" isBold="true" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1250"/>
</textElement>
<textFieldExpression><![CDATA[$P{P_MAIN_ADDRESS}]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band height="23" splitType="Stretch">
<staticText>
<reportElement x="0" y="0" width="802" height="20" uuid="f2f383c9-f1b1-4222-8b22-7c816fff5ad5"/>
<textElement textAlignment="Center">
<font size="12" isBold="true" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1250" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Přehled o protokolech předběžné kontroly - materiál a služby]]></text>
</staticText>
</band>
</pageHeader>
<columnHeader>
<band height="19" splitType="Stretch">
<staticText>
<reportElement x="0" y="2" width="59" height="16" uuid="253a78a3-4a58-4c75-b285-e5174e3884b8"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Poř. číslo]]></text>
</staticText>
<staticText>
<reportElement x="59" y="2" width="121" height="16" uuid="2e7488ea-d0ae-4a5a-9045-559b8eb50e5c"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Vytvořil]]></text>
</staticText>
<staticText>
<reportElement x="180" y="2" width="74" height="16" uuid="b56f7ea9-b643-4a74-885a-75994fa440cc"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Datum]]></text>
</staticText>
<staticText>
<reportElement x="254" y="2" width="182" height="16" uuid="3726c2fd-16b7-4363-bc39-a8ff67cd2cae"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Text]]></text>
</staticText>
<staticText>
<reportElement x="512" y="2" width="104" height="16" uuid="efee783f-86e7-43dc-8b00-7f13d45c7575"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Středisko]]></text>
</staticText>
<staticText>
<reportElement x="616" y="2" width="100" height="16" uuid="1440fa7a-3099-4c7b-ad57-f7b2b30d17f4"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Komise]]></text>
</staticText>
<staticText>
<reportElement x="436" y="2" width="76" height="16" uuid="08d27f94-b848-410e-ba5d-4e4fc7d00c6f"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Částka]]></text>
</staticText>
<staticText>
<reportElement x="716" y="2" width="85" height="16" uuid="866008ad-b265-4ea7-b016-4bbf8278c66e"/>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Fakturováno]]></text>
</staticText>
<line>
<reportElement x="0" y="18" width="801" height="1" uuid="a121ad98-744c-4865-b724-951ccaae90f1"/>
</line>
<line>
<reportElement x="0" y="0" width="801" height="1" uuid="fb3d8c46-4bb2-4873-ba3e-fa6c7f524e9f"/>
</line>
<line>
<reportElement x="-1" y="0" width="1" height="19" uuid="db8f3dfc-c7fe-4fc1-ab67-f347d708dbb4"/>
</line>
<line>
<reportElement x="801" y="0" width="1" height="19" uuid="339d76ce-0b71-4944-ba2b-4f50b752c0f7"/>
</line>
</band>
</columnHeader>
<detail>
<band height="62" splitType="Stretch">
<textField>
<reportElement x="0" y="0" width="59" height="30" uuid="a15af2dc-b301-4831-b22b-475a608df8da"/>
<textFieldExpression><![CDATA[$F{requirement.numser}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="59" y="0" width="121" height="30" uuid="4d368fd8-8086-4c70-b4a1-f76038a988e4"/>
<textFieldExpression><![CDATA[""+$F{requirement.ownedBy}]]></textFieldExpression>
</textField>
<textField pattern="d.M.yyyy">
<reportElement x="180" y="0" width="74" height="30" uuid="29e3191d-1caf-4561-8d01-37fa20562dfe"/>
<textFieldExpression><![CDATA[$F{requirement.reqDate}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="254" y="0" width="182" height="30" uuid="6c8111ea-c0dd-47de-bfb2-67778119e133"/>
<textFieldExpression><![CDATA[$F{requirement.description}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="512" y="0" width="104" height="30" uuid="1c6551c1-3060-4d1f-844b-3b809a0e1b25"/>
<textElement>
<font pdfEncoding="Cp1250"/>
</textElement>
<textFieldExpression><![CDATA[""+$F{requirement.centre}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="616" y="0" width="106" height="30" uuid="140dc16a-7bdd-4705-9dc1-b2485230884c"/>
<textFieldExpression><![CDATA[$F{requirement.workgroup}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="722" y="0" width="78" height="30" uuid="b3d6b361-5940-48a1-81f1-769c7f5c93ba">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$F{totalInvoiced}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="72" y="46" width="730" height="14" uuid="b6b32169-0b11-4978-94b0-db4d763ba2e7"/>
<textFieldExpression><![CDATA[$F{invoiceNumbers}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="164" y="32" width="142" height="14" uuid="ab6c4887-b42e-448c-985f-6bec6541b752"/>
<textFieldExpression><![CDATA[""+((info.bukova.isspst.data.AuthItem)$F{requirement.authorization}.get($F{requirement.authorization}.size()-3)).getApprover().toString()]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="6" y="32" width="100" height="14" uuid="aca43869-02d9-4f75-9eba-e801ceedfe00"/>
<text><![CDATA[Příkazce operace:]]></text>
</staticText>
<staticText>
<reportElement x="329" y="32" width="96" height="14" uuid="e9776606-e2db-4e33-99d1-bc689f269ecd"/>
<text><![CDATA[Správce rozpočtu:]]></text>
</staticText>
<textField pattern="d.M.yyyy">
<reportElement x="106" y="32" width="58" height="14" uuid="b26bac22-064f-4016-bd15-a5c43f729bf0"/>
<textFieldExpression><![CDATA[((info.bukova.isspst.data.AuthItem)$F{requirement.authorization}.get($F{requirement.authorization}.size()-3)).getAuthDate()]]></textFieldExpression>
</textField>
<textField pattern="d.M.yyyy">
<reportElement x="425" y="32" width="57" height="14" uuid="47fbad6f-267e-4d00-83d2-e84c3b3c8a1e"/>
<textFieldExpression><![CDATA[((info.bukova.isspst.data.AuthItem)$F{requirement.authorization}.get($F{requirement.authorization}.size()-1)).getAuthDate()]]></textFieldExpression>
</textField>
<textField>
<reportElement x="482" y="32" width="142" height="14" uuid="fa5d5931-5dd2-40ab-bf9b-3cc83b7e3eb6"/>
<textFieldExpression><![CDATA[""+((info.bukova.isspst.data.AuthItem)$F{requirement.authorization}.get($F{requirement.authorization}.size()-1)).getApprover().toString()]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="6" y="46" width="66" height="14" uuid="f08bf6f4-5b87-41df-8d7b-f04f673cb274"/>
<text><![CDATA[Čísla faktur:]]></text>
</staticText>
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="436" y="0" width="73" height="30" uuid="329bacea-bec5-4ecf-894c-25bef2ad2020">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$F{requirement.sumTotal}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="61" width="801" height="1" uuid="720248ac-87bb-418f-a9c3-45b0f6f07c10"/>
</line>
<line>
<reportElement x="-1" y="0" width="1" height="62" uuid="d1d8fc07-5bbe-4f11-bc89-90e8b20f1557"/>
</line>
<line>
<reportElement x="801" y="0" width="1" height="62" uuid="f83f5852-bf4f-44d4-8663-d38232a16811"/>
</line>
<line>
<reportElement x="6" y="30" width="787" height="1" uuid="aa982c09-4682-4cb3-aae6-33fd2e1edea6"/>
<graphicElement>
<pen lineStyle="Dashed"/>
</graphicElement>
</line>
</band>
</detail>
<pageFooter>
<band height="15" splitType="Stretch">
<textField>
<reportElement x="0" y="2" width="800" height="12" uuid="9f84e90a-2fbf-4026-9d8b-8accd8bbc933"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

@ -0,0 +1,251 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 5.6.2.final using JasperReports Library version 5.6.1 -->
<!-- 2016-02-29T14:56:06 -->
<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="tripRequirementProtocol" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="8e9e589b-57d9-476e-838c-00ead08604a1">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="P_MAIN_ADDRESS" class="java.lang.String"/>
<parameter name="P_LOGO" class="java.lang.String"/>
<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="description" class="java.lang.String">
<fieldDescription><![CDATA[description]]></fieldDescription>
</field>
<field name="from" class="java.lang.String">
<fieldDescription><![CDATA[from]]></fieldDescription>
</field>
<field name="numser" class="java.lang.String">
<fieldDescription><![CDATA[numser]]></fieldDescription>
</field>
<field name="ownedBy" class="info.bukova.isspst.data.User">
<fieldDescription><![CDATA[ownedBy]]></fieldDescription>
</field>
<field name="to" class="java.lang.String">
<fieldDescription><![CDATA[to]]></fieldDescription>
</field>
<field name="tripDate" class="java.util.Date">
<fieldDescription><![CDATA[tripDate]]></fieldDescription>
</field>
<field name="state" class="info.bukova.isspst.data.RequirementState">
<fieldDescription><![CDATA[state]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="59" splitType="Stretch">
<textField>
<reportElement x="113" y="0" width="689" height="46" uuid="33458c13-a1ec-4e96-ab93-60f001e32542"/>
<textElement textAlignment="Center">
<font size="16" isBold="true" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1250"/>
</textElement>
<textFieldExpression><![CDATA[$P{P_MAIN_ADDRESS}]]></textFieldExpression>
</textField>
<image onErrorType="Blank">
<reportElement x="0" y="0" width="100" height="54" uuid="159b16e8-ffa6-4ff5-956f-8807ebc11eb3">
<printWhenExpression><![CDATA[$P{P_LOGO} != null]]></printWhenExpression>
</reportElement>
<imageExpression><![CDATA[$P{P_LOGO}]]></imageExpression>
</image>
</band>
</title>
<pageHeader>
<band height="21" splitType="Stretch">
<staticText>
<reportElement x="0" y="0" width="802" height="20" uuid="4872723e-e595-428b-86ac-62cdd4cc932e"/>
<textElement textAlignment="Center">
<font size="12" isBold="true" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1250" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Přehled o protokolech předběžné kontroly - služebni cesty]]></text>
</staticText>
</band>
</pageHeader>
<columnHeader>
<band height="26" splitType="Stretch">
<staticText>
<reportElement x="60" y="0" width="120" height="24" uuid="89d5a299-f284-41c9-945f-64b5be915017"/>
<textElement verticalAlignment="Middle">
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Vytvořil]]></text>
</staticText>
<staticText>
<reportElement x="181" y="1" width="56" height="24" uuid="0a7322c1-10f5-4c95-a53b-f63dee37f406">
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Datum cesty]]></text>
</staticText>
<staticText>
<reportElement x="238" y="0" width="120" height="24" uuid="464a2dea-c3fd-44af-8a3f-d798439fdebb">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Odkud]]></text>
</staticText>
<staticText>
<reportElement x="360" y="1" width="120" height="24" uuid="3b0f360a-3f0d-4aa1-9d2f-595b6dbc4899">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Kam]]></text>
</staticText>
<staticText>
<reportElement x="480" y="0" width="184" height="24" uuid="561ed640-ff43-4b10-84dc-ecb197b1b1bf"/>
<textElement verticalAlignment="Middle">
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Účel cesty]]></text>
</staticText>
<staticText>
<reportElement x="664" y="0" width="135" height="24" uuid="9ba12077-6e53-4f88-8832-e53aab38514e"/>
<textElement verticalAlignment="Middle">
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Středisko]]></text>
</staticText>
<staticText>
<reportElement x="0" y="0" width="58" height="24" uuid="31ef839b-ebf8-482b-8057-9ad06497618c"/>
<textElement verticalAlignment="Middle">
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Poř. číslo]]></text>
</staticText>
<line>
<reportElement x="0" y="25" width="802" height="1" uuid="45abdfb0-2556-477d-8ab3-2a23228bb13b"/>
</line>
<line>
<reportElement x="0" y="0" width="802" height="1" uuid="9897ab69-fd50-4636-90b4-a1222c298572"/>
</line>
<line>
<reportElement x="-1" y="0" width="1" height="26" uuid="d6dfebfe-84b5-4a13-9184-564cb9e3b8f5"/>
</line>
<line>
<reportElement x="802" y="0" width="1" height="26" uuid="00b50c00-5e63-49b3-99df-010e85d522e4"/>
</line>
</band>
</columnHeader>
<detail>
<band height="49" splitType="Stretch">
<printWhenExpression><![CDATA[$F{state} == info.bukova.isspst.data.RequirementState.APPROVED]]></printWhenExpression>
<textField>
<reportElement x="0" y="0" width="59" height="30" uuid="08dabb19-6f18-4cdc-8b99-0c083373ac66">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textFieldExpression><![CDATA[$F{numser}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="60" y="0" width="121" height="30" uuid="4d4dd931-ead0-48b0-9690-b42a60042ec6">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textFieldExpression><![CDATA[$F{ownedBy}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="180" y="0" width="58" height="30" uuid="83d276e3-c446-4c3f-b4d9-20f6cffa7f97">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textFieldExpression><![CDATA[$F{tripDate}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="240" y="0" width="120" height="30" uuid="8df1e3b1-27d0-433e-a491-4d013d22a0de">
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textFieldExpression><![CDATA[$F{from}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="360" y="0" width="120" height="30" uuid="d2849222-5b8c-4a2f-988b-434f857e6064">
<property name="local_mesure_unitx" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textFieldExpression><![CDATA[$F{to}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="482" y="0" width="182" height="30" uuid="fafb983a-da26-451c-93a0-dc448cc239b8">
<property name="local_mesure_unitx" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="666" y="0" width="134" height="30" uuid="d1895e83-6180-459e-a227-28e3b21194ae">
<property name="local_mesure_unitx" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="local_mesure_unitwidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textFieldExpression><![CDATA[$F{centre}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="6" y="32" width="100" height="14" uuid="4852a6b8-010e-47f1-acdd-6d3952d77dc7"/>
<text><![CDATA[Příkazce operace:]]></text>
</staticText>
<textField pattern="d.M.yyyy">
<reportElement x="106" y="32" width="58" height="14" uuid="1c2d9bbe-348a-432c-ae8a-a605d8e94fe0"/>
<textFieldExpression><![CDATA[((info.bukova.isspst.data.AuthItem)$F{authorization}.get($F{authorization}.size()-2)).getAuthDate()]]></textFieldExpression>
</textField>
<textField>
<reportElement x="164" y="32" width="142" height="14" uuid="7a058478-5726-446d-a915-ba6ade259c6e"/>
<textFieldExpression><![CDATA[""+((info.bukova.isspst.data.AuthItem)$F{authorization}.get($F{authorization}.size()-2)).getApprover().toString()]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="329" y="32" width="96" height="14" uuid="12d60e5d-cf2c-4b0a-aa5a-80a5c72a8ffa"/>
<text><![CDATA[Správce rozpočtu:]]></text>
</staticText>
<textField pattern="d.M.yyyy">
<reportElement x="425" y="32" width="57" height="14" uuid="6b42a8a9-3e48-46ab-b6eb-fd38207be058"/>
<textFieldExpression><![CDATA[((info.bukova.isspst.data.AuthItem)$F{authorization}.get($F{authorization}.size()-1)).getAuthDate()]]></textFieldExpression>
</textField>
<textField>
<reportElement x="482" y="32" width="142" height="14" uuid="21845f04-f6a8-4ade-9cad-899d58ac382f"/>
<textFieldExpression><![CDATA[""+((info.bukova.isspst.data.AuthItem)$F{authorization}.get($F{authorization}.size()-1)).getApprover().toString()]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="47" width="802" height="1" uuid="0c6241ad-a868-40a2-b11a-6bf1d9cb25b4"/>
</line>
<line>
<reportElement x="-1" y="0" width="1" height="48" uuid="3f3af00d-3ccd-4531-aa9e-a80120fd803e"/>
</line>
<line>
<reportElement x="802" y="0" width="1" height="48" uuid="3e6438bd-2d8b-467f-ab8f-265aead85220"/>
</line>
<line>
<reportElement x="6" y="30" width="784" height="1" uuid="4c6a9ac9-bceb-479f-bb71-34083c6684e3"/>
<graphicElement>
<pen lineStyle="Dashed"/>
</graphicElement>
</line>
</band>
</detail>
<pageFooter>
<band height="21" splitType="Stretch">
<textField>
<reportElement x="0" y="0" width="802" height="19" uuid="44f19d5f-ad2d-49d6-a179-8a4d60def307"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>
Loading…
Cancel
Save