-
-
Save slbug/e41d43a73bcc3c790c62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Created with Jaspersoft Studio version last--> | |
<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="Invoice" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="4eedbb89-b4f6-4469-9ab6-f642a1688cf7"> | |
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="budget"/> | |
<subDataset name="employees" whenResourceMissingType="Error" uuid="105181a2-407f-4367-8396-f746e716f4b0"> | |
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="budget"/> | |
<queryString language="xPath"> | |
<![CDATA[/trip/employees/employee]]> | |
</queryString> | |
<field name="employee" class="java.lang.String"> | |
<fieldDescription><![CDATA[child::text()]]></fieldDescription> | |
</field> | |
</subDataset> | |
<queryString language="xPath"> | |
<![CDATA[/trip]]> | |
</queryString> | |
<field name="title" class="java.lang.String"> | |
<fieldDescription><![CDATA[title]]></fieldDescription> | |
</field> | |
<field name="notes" class="java.lang.String"> | |
<fieldDescription><![CDATA[notes]]></fieldDescription> | |
</field> | |
<field name="start_date" class="java.util.Date"> | |
<fieldDescription><![CDATA[start_date]]></fieldDescription> | |
</field> | |
<field name="end_date" class="java.util.Date"> | |
<fieldDescription><![CDATA[end_date]]></fieldDescription> | |
</field> | |
<field name="lang" class="java.lang.String"> | |
<fieldDescription><![CDATA[@lang]]></fieldDescription> | |
</field> | |
<field name="destination" class="java.lang.String"> | |
<fieldDescription><![CDATA[destination]]></fieldDescription> | |
</field> | |
<field name="participants" class="java.lang.String"> | |
<fieldDescription><![CDATA[participants]]></fieldDescription> | |
</field> | |
<field name="currency" class="java.lang.String"> | |
<fieldDescription><![CDATA[currency]]></fieldDescription> | |
</field> | |
<field name="notes_1" class="java.lang.String"> | |
<fieldDescription><![CDATA[notes]]></fieldDescription> | |
</field> | |
<field name="travel_asistant" class="java.lang.String"> | |
<fieldDescription><![CDATA[travel_asistant]]></fieldDescription> | |
</field> | |
<title> | |
<band height="50"/> | |
</title> | |
<pageHeader> | |
<band height="60"> | |
<textField> | |
<reportElement x="-20" y="0" width="595" height="57" uuid="73dc52f3-cc91-4285-8968-ee266b9cf2de"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"> | |
<font size="16" isBold="true"/> | |
</textElement> | |
<textFieldExpression><![CDATA["Trip Price Calculation \"" + $F{title} + "\""]]></textFieldExpression> | |
</textField> | |
</band> | |
</pageHeader> | |
<detail> | |
<band height="15"> | |
<property name="local_mesure_unitheight" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
<textField> | |
<reportElement x="111" y="0" width="222" height="15" uuid="e363027d-1b50-4cb0-bcb4-d38e1d349798"> | |
<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"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
</reportElement> | |
<textElement textAlignment="Left" verticalAlignment="Middle"/> | |
<textFieldExpression><![CDATA[new SimpleDateFormat("dd.MM").format($F{start_date}) + " - " + new SimpleDateFormat("dd.MM.yyyy").format($F{end_date})]]></textFieldExpression> | |
</textField> | |
<staticText> | |
<reportElement x="0" y="0" width="111" height="15" uuid="2dd06411-c8a8-47b7-8185-c14e6cde303c"> | |
<property name="local_mesure_unitx" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.x" value="px"/> | |
<property name="local_mesure_unity" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.y" value="px"/> | |
<property name="local_mesure_unitheight" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
<property name="local_mesure_unitwidth" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.width" value="px"/> | |
</reportElement> | |
<textElement textAlignment="Right" verticalAlignment="Middle"> | |
<font isBold="true"/> | |
</textElement> | |
<text><![CDATA[Trip Dates: ]]></text> | |
</staticText> | |
<staticText> | |
<reportElement x="333" y="0" width="111" height="15" uuid="f10dc7f5-558e-4753-9495-a6f7ea7a79ef"> | |
<property name="local_mesure_unitheight" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
<property name="local_mesure_unitwidth" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.width" value="px"/> | |
</reportElement> | |
<textElement textAlignment="Right" verticalAlignment="Middle"> | |
<font isBold="true"/> | |
</textElement> | |
<text><![CDATA[Destination: ]]></text> | |
</staticText> | |
<textField> | |
<reportElement x="444" y="0" width="111" height="15" uuid="065feea9-36e7-4bed-8bd0-2aa901aec498"> | |
<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"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
</reportElement> | |
<textElement verticalAlignment="Middle"/> | |
<textFieldExpression><![CDATA[$F{destination}]]></textFieldExpression> | |
</textField> | |
</band> | |
<band height="15"> | |
<property name="local_mesure_unitheight" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
<textField> | |
<reportElement x="444" y="0" width="111" height="15" uuid="41b194fb-fc04-4930-97d9-dc5f5f66edc9"> | |
<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"/> | |
<property name="local_mesure_unitheight" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
</reportElement> | |
<textElement verticalAlignment="Middle"/> | |
<textFieldExpression><![CDATA[$F{travel_asistant}]]></textFieldExpression> | |
</textField> | |
<staticText> | |
<reportElement x="0" y="0" width="111" height="15" uuid="85ab5a6f-0b49-460b-8422-e8e55b5c77a1"> | |
<property name="local_mesure_unitx" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.x" value="px"/> | |
<property name="local_mesure_unity" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.y" value="px"/> | |
<property name="local_mesure_unitheight" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
<property name="local_mesure_unitwidth" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.width" value="px"/> | |
</reportElement> | |
<textElement textAlignment="Right" verticalAlignment="Middle"> | |
<font isBold="true"/> | |
</textElement> | |
<text><![CDATA[Participants: ]]></text> | |
</staticText> | |
<textField> | |
<reportElement x="111" y="0" width="222" height="15" uuid="b71db0a0-cb63-4da2-9db0-0b2ee6e6567c"> | |
<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"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
</reportElement> | |
<textElement textAlignment="Left" verticalAlignment="Middle"/> | |
<textFieldExpression><![CDATA[$F{participants}]]></textFieldExpression> | |
</textField> | |
<staticText> | |
<reportElement x="333" y="0" width="111" height="15" uuid="4d513f83-5dde-4f07-be28-561b932e94e1"> | |
<property name="local_mesure_unitheight" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
<property name="local_mesure_unitwidth" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.width" value="px"/> | |
</reportElement> | |
<textElement textAlignment="Right" verticalAlignment="Middle"> | |
<font isBold="true"/> | |
</textElement> | |
<text><![CDATA[Travel Assistant: ]]></text> | |
</staticText> | |
</band> | |
<band height="50"> | |
<textField> | |
<reportElement x="444" y="0" width="111" height="15" uuid="1ababb04-3a54-4ee4-b258-6ff9ec64f0b4"> | |
<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"/> | |
<property name="local_mesure_unitheight" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
<property name="com.jaspersoft.studio.unit.y" value="px"/> | |
</reportElement> | |
<textElement verticalAlignment="Middle"/> | |
<textFieldExpression><![CDATA[$F{currency}]]></textFieldExpression> | |
</textField> | |
<staticText> | |
<reportElement x="0" y="0" width="111" height="15" uuid="430511d5-3681-4fd5-95ba-d2df6ea11af7"> | |
<property name="local_mesure_unitx" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.x" value="px"/> | |
<property name="local_mesure_unity" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.y" value="px"/> | |
<property name="local_mesure_unitheight" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
<property name="local_mesure_unitwidth" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.width" value="px"/> | |
</reportElement> | |
<textElement textAlignment="Right" verticalAlignment="Middle"> | |
<font isBold="true"/> | |
</textElement> | |
<text><![CDATA[Employees: ]]></text> | |
</staticText> | |
<staticText> | |
<reportElement x="333" y="0" width="111" height="15" uuid="42e75254-ffaf-4490-8c1c-c3ddcc2247d5"> | |
<property name="local_mesure_unitheight" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
<property name="local_mesure_unitwidth" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.width" value="px"/> | |
<property name="com.jaspersoft.studio.unit.y" value="px"/> | |
</reportElement> | |
<textElement textAlignment="Right" verticalAlignment="Middle"> | |
<font isBold="true"/> | |
</textElement> | |
<text><![CDATA[Base Currency: ]]></text> | |
</staticText> | |
<componentElement> | |
<reportElement x="111" y="0" width="222" height="50" uuid="7100ef95-1df3-46d9-8a5f-f891eb5abc42"> | |
<property name="local_mesure_unity" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.y" value="px"/> | |
<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"/> | |
<property name="local_mesure_unitheight" value="pixel"/> | |
<property name="com.jaspersoft.studio.unit.height" value="px"/> | |
</reportElement> | |
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"> | |
<datasetRun subDataset="employees" uuid="fd05bdfa-33c9-436e-9b0d-88b243634cd8"> | |
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> | |
</datasetRun> | |
<jr:listContents height="60" width="222"> | |
<textField> | |
<reportElement x="0" y="0" width="100" height="30" uuid="9c25c8c4-4dee-4dd0-ab65-2124d9106891"/> | |
<textFieldExpression><![CDATA[$F{employee}]]></textFieldExpression> | |
</textField> | |
</jr:listContents> | |
</jr:list> | |
</componentElement> | |
</band> | |
</detail> | |
<pageFooter> | |
<band height="50"/> | |
</pageFooter> | |
</jasperReport> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment