|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- Created with Jaspersoft Studio version 6.5.1.final using JasperReports Library version 6.5.1 --> |
| 3 | +<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="lancamentos-por-pessoa" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="58acf290-79bc-4138-8b10-a72f7a0d1323"> |
| 4 | + <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> |
| 5 | + <parameter name="DT_INICIO" class="java.util.Date"/> |
| 6 | + <parameter name="DT_FIM" class="java.util.Date"/> |
| 7 | + <queryString> |
| 8 | + <![CDATA[]]> |
| 9 | + </queryString> |
| 10 | + <field name="total" class="java.math.BigDecimal"/> |
| 11 | + <field name="tipo" class="com.example.algamoney.api.model.TipoLancamento"/> |
| 12 | + <field name="pessoa" class="com.example.algamoney.api.model.Pessoa"/> |
| 13 | + <title> |
| 14 | + <band height="60" splitType="Stretch"> |
| 15 | + <textField> |
| 16 | + <reportElement x="11" y="15" width="533" height="30" uuid="4c0dc64f-1b05-4145-a713-4d57089e6f8b"/> |
| 17 | + <textElement textAlignment="Center" verticalAlignment="Middle"> |
| 18 | + <font size="18"/> |
| 19 | + </textElement> |
| 20 | + <textFieldExpression><![CDATA["Lançamentos por pessoa de " + DATEFORMAT($P{DT_INICIO}, "dd/MM/yyyy") + " até " + DATEFORMAT($P{DT_FIM}, "dd/MM/yyyy")]]></textFieldExpression> |
| 21 | + </textField> |
| 22 | + </band> |
| 23 | + </title> |
| 24 | + <columnHeader> |
| 25 | + <band height="25" splitType="Stretch"> |
| 26 | + <rectangle> |
| 27 | + <reportElement x="0" y="0" width="555" height="25" backcolor="#D4D4D4" uuid="6286af83-11eb-4a4f-811c-7f1ff4d3dc46"/> |
| 28 | + </rectangle> |
| 29 | + <line> |
| 30 | + <reportElement x="80" y="0" width="1" height="25" uuid="57a07db4-d370-440d-889c-2d451fae5c70"/> |
| 31 | + </line> |
| 32 | + <line> |
| 33 | + <reportElement x="480" y="0" width="1" height="25" uuid="a3a84aff-06b3-4e87-b66d-ced0367ec30d"/> |
| 34 | + </line> |
| 35 | + <staticText> |
| 36 | + <reportElement x="1" y="1" width="79" height="23" uuid="4e3327e0-a0b5-4bf4-96f0-0be06a48d412"/> |
| 37 | + <textElement textAlignment="Center" verticalAlignment="Middle"/> |
| 38 | + <text><![CDATA[Tipo]]></text> |
| 39 | + </staticText> |
| 40 | + <staticText> |
| 41 | + <reportElement x="82" y="1" width="398" height="23" uuid="2731a6ea-556b-47e6-95ff-909ee28bad4c"/> |
| 42 | + <textElement textAlignment="Center" verticalAlignment="Middle"/> |
| 43 | + <text><![CDATA[Pessoa]]></text> |
| 44 | + </staticText> |
| 45 | + <staticText> |
| 46 | + <reportElement x="481" y="1" width="74" height="23" uuid="28c8e6f1-c298-4f95-bc28-f0c9aa315282"/> |
| 47 | + <textElement textAlignment="Center" verticalAlignment="Middle"/> |
| 48 | + <text><![CDATA[Total]]></text> |
| 49 | + </staticText> |
| 50 | + </band> |
| 51 | + </columnHeader> |
| 52 | + <detail> |
| 53 | + <band height="25" splitType="Stretch"> |
| 54 | + <line> |
| 55 | + <reportElement x="0" y="0" width="1" height="25" uuid="97b64cbd-bf37-42ab-b44f-598d19309f0c"/> |
| 56 | + </line> |
| 57 | + <line> |
| 58 | + <reportElement x="80" y="0" width="1" height="25" uuid="ad4cdbf3-6af5-44c2-9260-74a0f5417bdd"/> |
| 59 | + </line> |
| 60 | + <line> |
| 61 | + <reportElement x="480" y="0" width="1" height="25" uuid="910afb37-4d92-4274-a384-29664034be43"/> |
| 62 | + </line> |
| 63 | + <line> |
| 64 | + <reportElement x="554" y="0" width="1" height="25" uuid="0425291a-62a8-41aa-81de-ccbafca0c581"/> |
| 65 | + </line> |
| 66 | + <line> |
| 67 | + <reportElement x="0" y="24" width="555" height="1" uuid="50d4b333-1e55-411f-8ea1-b9e4e5eeb527"/> |
| 68 | + </line> |
| 69 | + <textField> |
| 70 | + <reportElement x="5" y="1" width="69" height="23" uuid="2bd81544-88ba-49f7-a9d9-37c6b99bf4e7"/> |
| 71 | + <textElement verticalAlignment="Middle"/> |
| 72 | + <textFieldExpression><![CDATA[$F{tipo}.getDescricao()]]></textFieldExpression> |
| 73 | + </textField> |
| 74 | + <textField> |
| 75 | + <reportElement x="90" y="1" width="379" height="22" uuid="dbe6c9a0-8a52-4702-b728-f98b47da0ea5"/> |
| 76 | + <textElement verticalAlignment="Middle"/> |
| 77 | + <textFieldExpression><![CDATA[$F{pessoa}.getNome()]]></textFieldExpression> |
| 78 | + </textField> |
| 79 | + <textField pattern="¤#,##0.00;¤-#,##0.00"> |
| 80 | + <reportElement x="495" y="1" width="54" height="24" uuid="89c71af5-f01d-422a-821d-e3b203ef9191"/> |
| 81 | + <textElement textAlignment="Right" verticalAlignment="Middle"/> |
| 82 | + <textFieldExpression><![CDATA[$F{total}]]></textFieldExpression> |
| 83 | + </textField> |
| 84 | + </band> |
| 85 | + </detail> |
| 86 | + <pageFooter> |
| 87 | + <band height="25" splitType="Stretch"> |
| 88 | + <textField> |
| 89 | + <reportElement x="1" y="0" width="140" height="25" uuid="51868060-3978-478a-be3c-c7f2b21939fb"/> |
| 90 | + <textElement verticalAlignment="Middle"/> |
| 91 | + <textFieldExpression><![CDATA["Data " + DATEFORMAT(TODAY(), "dd/MM/yyyy")]]></textFieldExpression> |
| 92 | + </textField> |
| 93 | + <textField> |
| 94 | + <reportElement x="454" y="0" width="100" height="25" uuid="ab1c2327-7749-4f1c-9322-86b1698276ca"/> |
| 95 | + <textElement textAlignment="Right" verticalAlignment="Middle"/> |
| 96 | + <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> |
| 97 | + </textField> |
| 98 | + </band> |
| 99 | + </pageFooter> |
| 100 | +</jasperReport> |
0 commit comments