199 lines
9.5 KiB
Plaintext
199 lines
9.5 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!-- Created with Jaspersoft Studio version 6.11.0.final using JasperReports Library version 6.11.0-0c4056ccaa4d25a5a8c45672d2f764ea3498bebb -->
|
||
|
<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.sql.tables" value=""/>
|
||
|
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="DataAdapter.xml"/>
|
||
|
<property name="com.jaspersoft.studio.unit." value="pixel"/>
|
||
|
<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
|
||
|
<property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
|
||
|
<property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
|
||
|
<property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
|
||
|
<property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
|
||
|
<property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
|
||
|
<property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
|
||
|
<property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
|
||
|
<style name="Title" forecolor="#FFFFFF" fontName="Times New Roman" fontSize="50" isBold="false" pdfFontName="Times-Bold"/>
|
||
|
<style name="SubTitle" forecolor="#CCCCCC" fontName="Times New Roman" fontSize="18" isBold="false" pdfFontName="Times-Roman"/>
|
||
|
<style name="Column header" forecolor="#666666" fontName="Times New Roman" fontSize="14" isBold="true"/>
|
||
|
<style name="Detail" mode="Transparent" fontName="Times New Roman"/>
|
||
|
<style name="Row" mode="Transparent" fontName="Times New Roman" pdfFontName="Times-Roman">
|
||
|
<conditionalStyle>
|
||
|
<conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 0]]></conditionExpression>
|
||
|
<style mode="Opaque" backcolor="#EEEFF0"/>
|
||
|
</conditionalStyle>
|
||
|
</style>
|
||
|
<style name="Table">
|
||
|
<box>
|
||
|
<pen lineWidth="1.0" lineColor="#000000"/>
|
||
|
<topPen lineWidth="1.0" lineColor="#000000"/>
|
||
|
<leftPen lineWidth="1.0" lineColor="#000000"/>
|
||
|
<bottomPen lineWidth="1.0" lineColor="#000000"/>
|
||
|
<rightPen lineWidth="1.0" lineColor="#000000"/>
|
||
|
</box>
|
||
|
</style>
|
||
|
<style name="Table_TH" mode="Opaque" backcolor="#FFFFFF">
|
||
|
<box>
|
||
|
<pen lineWidth="0.5" lineColor="#000000"/>
|
||
|
<topPen lineWidth="0.5" lineColor="#000000"/>
|
||
|
<leftPen lineWidth="0.5" lineColor="#000000"/>
|
||
|
<bottomPen lineWidth="0.5" lineColor="#000000"/>
|
||
|
<rightPen lineWidth="0.5" lineColor="#000000"/>
|
||
|
</box>
|
||
|
</style>
|
||
|
<style name="Table_CH" mode="Opaque" backcolor="#CACED0">
|
||
|
<box>
|
||
|
<pen lineWidth="0.5" lineColor="#000000"/>
|
||
|
<topPen lineWidth="0.5" lineColor="#000000"/>
|
||
|
<leftPen lineWidth="0.5" lineColor="#000000"/>
|
||
|
<bottomPen lineWidth="0.5" lineColor="#000000"/>
|
||
|
<rightPen lineWidth="0.5" lineColor="#000000"/>
|
||
|
</box>
|
||
|
</style>
|
||
|
<style name="Table_TD" mode="Opaque" backcolor="#FFFFFF">
|
||
|
<box>
|
||
|
<pen lineWidth="0.5" lineColor="#000000"/>
|
||
|
<topPen lineWidth="0.5" lineColor="#000000"/>
|
||
|
<leftPen lineWidth="0.5" lineColor="#000000"/>
|
||
|
<bottomPen lineWidth="0.5" lineColor="#000000"/>
|
||
|
<rightPen lineWidth="0.5" lineColor="#000000"/>
|
||
|
</box>
|
||
|
<conditionalStyle>
|
||
|
<conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 0]]></conditionExpression>
|
||
|
<style backcolor="#D8D8D8"/>
|
||
|
</conditionalStyle>
|
||
|
</style>
|
||
|
<subDataset name="tableDataset" uuid="f13e6d36-5148-4ecc-bbe3-3035def80980">
|
||
|
<queryString>
|
||
|
<![CDATA[]]>
|
||
|
</queryString>
|
||
|
</subDataset>
|
||
|
<queryString language="SQL">
|
||
|
<![CDATA[select gestiones.descripcion, sum(transacciones.precio)
|
||
|
from gestiones
|
||
|
join transacciones on transacciones.idGestion = gestiones.id
|
||
|
group by gestiones.id, gestiones.descripcion]]>
|
||
|
</queryString>
|
||
|
<field name="descripcion" class="java.lang.String">
|
||
|
<property name="com.jaspersoft.studio.field.label" value="descripcion"/>
|
||
|
<property name="com.jaspersoft.studio.field.tree.path" value="gestiones"/>
|
||
|
</field>
|
||
|
<field name="sum(transacciones.precio)" class="java.lang.Double">
|
||
|
<property name="com.jaspersoft.studio.field.label" value="sum(transacciones.precio)"/>
|
||
|
</field>
|
||
|
<title>
|
||
|
<band height="82" splitType="Stretch">
|
||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||
|
<line>
|
||
|
<reportElement x="0" y="80" width="556" height="1" uuid="806ce5df-1219-4876-ae0c-ca7405b1f246">
|
||
|
<property name="local_mesure_unitheight" value="pixel"/>
|
||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||
|
</reportElement>
|
||
|
</line>
|
||
|
<staticText>
|
||
|
<reportElement x="415" y="10" width="50" height="20" uuid="0f86baff-6386-4f3f-b3fe-2388707babe8"/>
|
||
|
<box rightPadding="4"/>
|
||
|
<textElement textAlignment="Right"/>
|
||
|
<text><![CDATA[Date:]]></text>
|
||
|
</staticText>
|
||
|
<textField pattern="EEEEE dd MMMMM yyyy">
|
||
|
<reportElement x="465" y="10" width="84" height="20" uuid="bb10dbe1-0a4f-4722-9953-c163b63cf979"/>
|
||
|
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||
|
</textField>
|
||
|
<image hAlign="Center">
|
||
|
<reportElement x="0" y="0" width="65" height="60" uuid="94883631-a913-43e2-b182-ab8d77d0181e"/>
|
||
|
<imageExpression><![CDATA["invoice_logo.png"]]></imageExpression>
|
||
|
</image>
|
||
|
<textField pattern="EEEEE dd MMMMM yyyy">
|
||
|
<reportElement x="465" y="30" width="84" height="20" uuid="3836ce65-eca3-4cad-a6de-b1818def0a2b"/>
|
||
|
<textFieldExpression><![CDATA["INV0001"]]></textFieldExpression>
|
||
|
</textField>
|
||
|
<staticText>
|
||
|
<reportElement x="415" y="30" width="50" height="20" uuid="0b3f9342-da78-4cfa-9fc5-2301c4749678"/>
|
||
|
<box rightPadding="4"/>
|
||
|
<textElement textAlignment="Right"/>
|
||
|
<text><![CDATA[Invoice #]]></text>
|
||
|
</staticText>
|
||
|
<staticText>
|
||
|
<reportElement x="95" y="0" width="210" height="25" uuid="e622555d-198b-4ccd-a4a1-c59c53304058">
|
||
|
<property name="local_mesure_unitheight" value="pixel"/>
|
||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||
|
</reportElement>
|
||
|
<textElement>
|
||
|
<font size="19" isBold="true"/>
|
||
|
</textElement>
|
||
|
<text><![CDATA[Your company name]]></text>
|
||
|
</staticText>
|
||
|
<staticText>
|
||
|
<reportElement x="95" y="55" width="205" height="15" uuid="b8cc42fd-b569-497d-834d-7e854040ad18"/>
|
||
|
<text><![CDATA[900800700]]></text>
|
||
|
</staticText>
|
||
|
<staticText>
|
||
|
<reportElement x="95" y="25" width="205" height="15" uuid="c226e44d-3bb5-4145-b0b3-903bf1d79fde"/>
|
||
|
<text><![CDATA[Calle inventada 17]]></text>
|
||
|
</staticText>
|
||
|
<staticText>
|
||
|
<reportElement x="95" y="40" width="205" height="15" uuid="b96f7183-44f8-43ad-ba60-43d8fbf50b6e"/>
|
||
|
<text><![CDATA[Madrid]]></text>
|
||
|
</staticText>
|
||
|
</band>
|
||
|
</title>
|
||
|
<columnHeader>
|
||
|
<band height="20">
|
||
|
<staticText>
|
||
|
<reportElement style="Column header" positionType="Float" x="0" y="0" width="277" height="20" forecolor="#000000" uuid="57dffb8d-3b93-4b5f-97cf-28fa1dc03bf9">
|
||
|
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="fb053cc8-e14e-4244-b7c4-c5e5201bd034"/>
|
||
|
</reportElement>
|
||
|
<textElement>
|
||
|
<font fontName="Arial" size="12" isBold="true"/>
|
||
|
</textElement>
|
||
|
<text><![CDATA[descripcion]]></text>
|
||
|
</staticText>
|
||
|
<staticText>
|
||
|
<reportElement style="Column header" positionType="Float" x="277" y="0" width="277" height="20" forecolor="#000000" uuid="a4b427b3-f106-4cb8-a175-7574edf518be">
|
||
|
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="99e14397-834b-4a0f-ad03-571054b699b6"/>
|
||
|
</reportElement>
|
||
|
<textElement>
|
||
|
<font fontName="Arial" size="12" isBold="true"/>
|
||
|
</textElement>
|
||
|
<text><![CDATA[suma transacciones]]></text>
|
||
|
</staticText>
|
||
|
</band>
|
||
|
</columnHeader>
|
||
|
<detail>
|
||
|
<band height="35">
|
||
|
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
|
||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||
|
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
|
||
|
<reportElement style="Table_TD" positionType="Float" x="0" y="0" width="277" height="20" uuid="0a730749-b3ce-498c-861a-52e89eb08101">
|
||
|
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="fb053cc8-e14e-4244-b7c4-c5e5201bd034"/>
|
||
|
</reportElement>
|
||
|
<textElement>
|
||
|
<font fontName="Arial" size="12" isBold="false"/>
|
||
|
</textElement>
|
||
|
<textFieldExpression><![CDATA[$F{descripcion}]]></textFieldExpression>
|
||
|
</textField>
|
||
|
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
|
||
|
<reportElement style="Detail" positionType="Float" x="290" y="0" width="264" height="20" uuid="ae73ffab-73f4-4b35-b41f-ef90146f0469">
|
||
|
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="99e14397-834b-4a0f-ad03-571054b699b6"/>
|
||
|
</reportElement>
|
||
|
<textElement>
|
||
|
<font fontName="Arial" size="12" isBold="false"/>
|
||
|
</textElement>
|
||
|
<textFieldExpression><![CDATA[$F{sum(transacciones.precio)}]]></textFieldExpression>
|
||
|
</textField>
|
||
|
</band>
|
||
|
</detail>
|
||
|
<lastPageFooter>
|
||
|
<band height="45">
|
||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||
|
<staticText>
|
||
|
<reportElement positionType="Float" mode="Opaque" x="-10" y="0" width="556" height="30" backcolor="#E6E8E9" uuid="36aa233d-4305-48e6-974a-1bbf89bb3c8f"/>
|
||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||
|
<font fontName="Serif" size="9" isItalic="true"/>
|
||
|
</textElement>
|
||
|
<text><![CDATA[THANKYOU FOR YOUR BUSINESS]]></text>
|
||
|
</staticText>
|
||
|
</band>
|
||
|
</lastPageFooter>
|
||
|
</jasperReport>
|