Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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="order_invoice" pageWidth="595" pageHeight="842" columnWidth="595" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="8097441b-b627-4087-9c50-5a1364d01f22">
- <property name="ireport.zoom" value="1.771561000000006"/>
- <property name="ireport.x" value="9"/>
- <property name="ireport.y" value="361"/>
- <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
- <style name="Address" fontName="Arial" fontSize="14" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1250"/>
- <style name="Normal" isDefault="true" markup="none" fontName="Arial" fontSize="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" isPdfEmbedded="true"/>
- <style name="Normal_Fett" markup="none" fontName="Arial" fontSize="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
- <subDataset name="Table Dataset 1" uuid="1429d4e4-622d-437d-b24c-5145bf03e416"/>
- <parameter name="ID" class="java.lang.Integer"/>
- <queryString language="xPath">
- <![CDATA[//order]]>
- </queryString>
- <field name="id" class="java.lang.String">
- <fieldDescription><![CDATA[id]]></fieldDescription>
- </field>
- <field name="created-at" class="java.lang.String">
- <fieldDescription><![CDATA[jasper-created-at]]></fieldDescription>
- </field>
- <field name="amount-net" class="java.lang.String">
- <fieldDescription><![CDATA[jasper-amount-net]]></fieldDescription>
- </field>
- <field name="amount-gross" class="java.lang.String">
- <fieldDescription><![CDATA[jasper-amount-gross]]></fieldDescription>
- </field>
- <field name="vat" class="java.lang.String">
- <fieldDescription><![CDATA[jasper-vat-as-amount]]></fieldDescription>
- </field>
- <field name="net-fee" class="java.lang.String">
- <fieldDescription><![CDATA[jasper-net-fee-as-amount]]></fieldDescription>
- </field>
- <field name="gross-fee" class="java.lang.String">
- <fieldDescription><![CDATA[jasper-gross-fee-as-amount]]></fieldDescription>
- </field>
- <field name="fee" class="java.lang.String">
- <fieldDescription><![CDATA[jasper-fee]]></fieldDescription>
- </field>
- <field name="payment-issued" class="java.lang.String">
- <fieldDescription><![CDATA[jasper-payment-issued]]></fieldDescription>
- </field>
- <field name="project-number" class="java.lang.String">
- <fieldDescription><![CDATA[project-number]]></fieldDescription>
- </field>
- <field name="invoice-number" class="java.lang.String">
- <fieldDescription><![CDATA[invoice-number]]></fieldDescription>
- </field>
- <field name="contact-person" class="java.lang.String">
- <fieldDescription><![CDATA[contact-person]]></fieldDescription>
- </field>
- <field name="agency-name" class="java.lang.String">
- <fieldDescription><![CDATA[agency-name]]></fieldDescription>
- </field>
- <field name="salutation" class="java.lang.String">
- <fieldDescription><![CDATA[user/salutation]]></fieldDescription>
- </field>
- <field name="firstname" class="java.lang.String">
- <fieldDescription><![CDATA[firstname]]></fieldDescription>
- </field>
- <field name="lastname" class="java.lang.String">
- <fieldDescription><![CDATA[user/lastname]]></fieldDescription>
- </field>
- <field name="street1" class="java.lang.String">
- <fieldDescription><![CDATA[user/address/street1]]></fieldDescription>
- </field>
- <field name="street2" class="java.lang.String">
- <fieldDescription><![CDATA[user/address/street2]]></fieldDescription>
- </field>
- <field name="zip" class="java.lang.String">
- <fieldDescription><![CDATA[user/address/zip]]></fieldDescription>
- </field>
- <field name="city" class="java.lang.String">
- <fieldDescription><![CDATA[user/address/city]]></fieldDescription>
- </field>
- <field name="order_invoice_nr" class="java.lang.String">
- <fieldDescription><![CDATA[order-invoice-nr]]></fieldDescription>
- </field>
- <field name="order_date" class="java.lang.String">
- <fieldDescription><![CDATA[order-date]]></fieldDescription>
- </field>
- <background>
- <band splitType="Stretch"/>
- </background>
- <title>
- <band height="616" splitType="Stretch">
- <rectangle>
- <reportElement x="56" y="378" width="480" height="80" uuid="0361a574-f7cb-4cff-960b-7a4f84345007"/>
- </rectangle>
- <rectangle>
- <reportElement x="66" y="134" width="235" height="109" forecolor="#B5B5B5" uuid="e3b7b381-bf14-4fed-b446-72b08c62d01b"/>
- <graphicElement>
- <pen lineWidth="0.5" lineStyle="Dotted"/>
- </graphicElement>
- </rectangle>
- <textField>
- <reportElement style="Address" x="69" y="158" width="200" height="16" uuid="de5ed78c-67f4-4075-8319-55f9ad42409a"/>
- <textElement>
- <font size="12"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{salutation}.equals("m") ? "Mr." + " " + $F{lastname} : "Ms." + " " + $F{lastname}]]></textFieldExpression>
- </textField>
- <textField isBlankWhenNull="true">
- <reportElement style="Address" positionType="Float" x="69" y="190" width="200" height="16" uuid="fab7f20f-4763-4412-a591-e911963077ed"/>
- <textElement>
- <font size="12"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{street2}]]></textFieldExpression>
- </textField>
- <textField>
- <reportElement style="Address" positionType="Float" x="69" y="206" width="200" height="16" uuid="0261c50e-4b44-4e4e-a7ca-2f80a736ca9d"/>
- <textElement>
- <font size="12"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{zip} + " " + $F{city}]]></textFieldExpression>
- </textField>
- <line>
- <reportElement x="66" y="151" width="235" height="1" uuid="02debcf9-4a8b-420d-b6c0-5cda8358b561"/>
- </line>
- <staticText>
- <reportElement x="69" y="134" width="232" height="15" uuid="b25a42e5-1b17-487d-b44f-39780feab6d1"/>
- <textElement verticalAlignment="Bottom" markup="none">
- <font fontName="Times New Roman" size="9"/>
- </textElement>
- <text><![CDATA[Lorem Ipsum]]></text>
- </staticText>
- <textField>
- <reportElement style="Normal" x="360" y="231" width="176" height="12" uuid="b8957382-ec96-4539-bd9b-914633bdf6e4"/>
- <textElement textAlignment="Right" markup="none">
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{payment-issued}]]></textFieldExpression>
- </textField>
- <line>
- <reportElement x="10" y="296" width="20" height="1" uuid="c4ef84f5-3c62-4e33-85b4-805abc03f6ea"/>
- </line>
- <staticText>
- <reportElement style="Normal_Fett" x="56" y="307" width="213" height="20" uuid="19f66e39-b0d3-4518-9424-cab34d7c1455"/>
- <textElement markup="none">
- <font fontName="Times New Roman" size="12" isBold="true" isUnderline="true"/>
- </textElement>
- <text><![CDATA[Invoice number: ]]></text>
- </staticText>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="67" y="388" width="71" height="12" uuid="565add13-61f4-4916-a7df-7ad6b982d64d"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[from:]]></text>
- </staticText>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="67" y="424" width="71" height="12" uuid="d3d4c40e-b4b9-4b47-b1f9-2be35b388fa9"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Sum(net):]]></text>
- </staticText>
- <textField>
- <reportElement style="Address" positionType="Float" x="69" y="174" width="200" height="16" isRemoveLineWhenBlank="true" uuid="4f179089-7c08-499d-b5a6-1ab51390ca63"/>
- <textElement>
- <font size="12"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{street1}]]></textFieldExpression>
- </textField>
- <textField>
- <reportElement style="Normal" positionType="Float" x="156" y="388" width="373" height="12" uuid="9fa7ccce-da6a-4645-b2e2-f93742e084e9"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{created-at}]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="67" y="412" width="71" height="12" uuid="6dc12ed6-01c3-4db8-ad78-128447a7a735"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Invoice:]]></text>
- </staticText>
- <textField pattern="#,##0.00 ¤">
- <reportElement style="Normal" positionType="Float" x="144" y="508" width="42" height="12" uuid="e77f43eb-30bb-479c-8af7-08cb3ede8b79"/>
- <textElement textAlignment="Right">
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{net-fee}]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="67" y="400" width="71" height="12" uuid="f970602b-a24d-4f68-8e45-210b65206105"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Agency:]]></text>
- </staticText>
- <textField pattern="#,##0.00 ¤">
- <reportElement style="Normal" positionType="Float" x="144" y="533" width="42" height="12" uuid="5e4b5e96-889f-45dc-b096-65ccd73514a1"/>
- <textElement textAlignment="Right">
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{gross-fee}]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="56" y="520" width="89" height="12" uuid="4643b849-8142-416b-820c-d26a85267772"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[VAT 9%:]]></text>
- </staticText>
- <textField pattern="#,##0.00 ¤" isBlankWhenNull="false">
- <reportElement style="Normal" positionType="Float" x="156" y="424" width="373" height="12" uuid="42657574-ba4f-451f-bea6-2ef2024c6429"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{amount-net}]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="67" y="436" width="71" height="12" uuid="69dd1454-e659-44f9-a57b-2830cbc8584e"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Sum(gross):]]></text>
- </staticText>
- <line>
- <reportElement x="57" y="532" width="129" height="1" uuid="8dfc2783-3b74-4270-b70a-84805cd8c315"/>
- </line>
- <textField>
- <reportElement style="Normal" positionType="Float" x="156" y="400" width="373" height="12" uuid="80d1f9c8-7e96-4426-ad18-e545ba9781b0"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{agency-name}]]></textFieldExpression>
- </textField>
- <textField>
- <reportElement style="Normal" positionType="Float" x="156" y="412" width="373" height="12" uuid="5c4a692b-8dae-44d4-99b7-affa168c9a40"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{invoice-number}]]></textFieldExpression>
- </textField>
- <textField pattern="#,##0.00 ¤">
- <reportElement style="Normal" positionType="Float" x="144" y="520" width="42" height="12" uuid="b07d3b85-7da1-4213-8b84-0e636f27e58d"/>
- <textElement textAlignment="Right">
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{vat}]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="56" y="508" width="89" height="12" uuid="053e8317-9984-4c93-aa50-7eed9d81414d"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Fee:]]></text>
- </staticText>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="56" y="533" width="89" height="12" uuid="ef11aec8-c063-44bd-a7a1-74c50064fbea"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Total (gross)]]></text>
- </staticText>
- <textField pattern="#,##0.00 ¤" isBlankWhenNull="false">
- <reportElement style="Normal" positionType="Float" x="156" y="436" width="372" height="12" uuid="0cd52151-7041-4d4f-b2d4-e2469dbe25f1"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{amount-gross}]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="57" y="587" width="316" height="29" uuid="b1688de4-4a8e-41d3-9142-924634f11703"/>
- <textElement markup="none">
- <font fontName="Times New Roman" size="8" isBold="false"/>
- </textElement>
- <text><![CDATA[Best regards]]></text>
- </staticText>
- <textField pattern="yyyy-MM-dd">
- <reportElement style="Normal_Fett" x="283" y="307" width="136" height="20" uuid="e8b2e184-f4cd-4283-b158-3dfbfad579d6"/>
- <textElement markup="none">
- <font fontName="Times New Roman" size="12" isBold="true" isUnderline="false"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{order_invoice_nr}]]></textFieldExpression>
- </textField>
- <textField>
- <reportElement style="Normal" mode="Transparent" x="57" y="469" width="480" height="28" forecolor="#000000" backcolor="#FFFFFF" uuid="598d68f4-262a-4680-a9b7-82b8eac7d5b1"/>
- <box padding="0" topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0"/>
- <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
- <font fontName="Times New Roman" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="true"/>
- <paragraph lineSpacing="Single" lineSpacingSize="1.0" firstLineIndent="0" leftIndent="0" rightIndent="0" spacingBefore="0" spacingAfter="0" tabStopWidth="40"/>
- </textElement>
- <textFieldExpression><![CDATA["Lorem Ipsum"]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement style="Normal" x="56" y="353" width="480" height="20" uuid="04c98997-bd57-4e55-8937-877415dfcf9b"/>
- <textElement markup="none">
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Lorem Ipsum]]></text>
- </staticText>
- <textField pattern="dd.MM.yyyy">
- <reportElement style="Normal" positionType="Float" x="56" y="340" width="373" height="12" uuid="4b5f4973-f851-4fc4-8d77-843d3c38bff0"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{salutation}.equals("m") ? "Dear Mr." + " " + $F{lastname} + ",": "Dear Ms." + " " + $F{lastname} + ","]]></textFieldExpression>
- </textField>
- </band>
- </title>
- <pageFooter>
- <band height="75">
- <staticText>
- <reportElement style="Normal" positionType="Float" x="213" y="14" width="180" height="12" uuid="da3e6a95-847e-4cfa-aded-b57c43a33f5a"/>
- <textElement textAlignment="Center" markup="none">
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Lorem Ipsum]]></text>
- </staticText>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="57" y="14" width="156" height="12" uuid="13f1d0c0-2057-4a45-81f9-c36fa702ecdc"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Lorem Ipsum]]></text>
- </staticText>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="393" y="14" width="151" height="12" uuid="2974fed5-d2d0-4433-91d8-2bc5b261184b"/>
- <textElement textAlignment="Right" markup="none">
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[1234567890]]></text>
- </staticText>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="57" y="26" width="156" height="12" uuid="35af7640-5faf-403a-834f-86f3e28f4538"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Lorem Ipsum]]></text>
- </staticText>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="393" y="26" width="151" height="12" uuid="9af111e6-db8c-48db-9bac-0d6fdce5262e"/>
- <textElement textAlignment="Right" markup="none">
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[loremipsum@example.com]]></text>
- </staticText>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="213" y="26" width="180" height="12" uuid="46d3b124-807f-4a08-abdc-acc5bac24a7f"/>
- <textElement textAlignment="Center" markup="none">
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Lorem Ipsum]]></text>
- </staticText>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="57" y="38" width="156" height="12" uuid="9b9a38ea-98aa-4f45-b938-28a3ad74ffb5"/>
- <textElement>
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Lorem Ipsum]]></text>
- </staticText>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="393" y="38" width="151" height="12" uuid="9fb60612-41a7-40e3-a2ea-0e2ae86257f4"/>
- <textElement textAlignment="Right" markup="none">
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Lorem Ipsum]]></text>
- </staticText>
- <staticText>
- <reportElement style="Normal" positionType="Float" x="213" y="38" width="180" height="12" uuid="6a9b0b20-dc82-491a-bba4-825dbe6f8996"/>
- <textElement textAlignment="Center" markup="none">
- <font fontName="Times New Roman" size="8"/>
- </textElement>
- <text><![CDATA[Lorem Ipsum]]></text>
- </staticText>
- </band>
- </pageFooter>
- </jasperReport>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement