-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreport.jrxml
More file actions
164 lines (164 loc) · 5.66 KB
/
report.jrxml
File metadata and controls
164 lines (164 loc) · 5.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?xml version="1.0" encoding="UTF-8"?>
<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="null" language="groovy" pageWidth="226" pageHeight="425" columnWidth="186" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="a4ced29d-46fa-4fa7-b56e-78b05170778d">
<property name="ireport.zoom" value="2.8531167061100033"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="192"/>
<parameter name="inventoryP" class="java.lang.String">
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
</parameter>
<queryString language="SQL">
<![CDATA[SELECT
id,
customer_id,
type,
brand,
productName,
quantity,
price,
date
FROM
customer;]]>
</queryString>
<field name="id" class="java.lang.Integer">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="customer_id" class="java.lang.Integer">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="type" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="brand" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="productName" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="quantity" class="java.lang.Integer">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="price" class="java.lang.Double">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="date" class="java.sql.Date">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<group name="pay footer">
<groupExpression><![CDATA[$F{id}]]></groupExpression>
<groupFooter>
<band height="50">
<staticText>
<reportElement x="23" y="13" width="44" height="13" uuid="e6cad7f1-b4f1-4fcc-aefb-b54991171e3f"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[Total : LKR]]></text>
</staticText>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="73" splitType="Stretch">
<staticText>
<reportElement x="23" y="24" width="140" height="38" uuid="ab81c2c8-fd2f-4539-93cc-52851cd551ae"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Gill Sans Ultra Bold" size="14"/>
</textElement>
<text><![CDATA[Malintha POS System]]></text>
</staticText>
<staticText>
<reportElement x="109" y="0" width="45" height="16" uuid="00214b8f-abe4-4a27-92cf-41b5ac8418e5"/>
<textElement>
<font size="7"/>
</textElement>
<text><![CDATA[Customer #: ]]></text>
</staticText>
<textField>
<reportElement x="154" y="0" width="22" height="16" uuid="20ca87ab-5325-4695-a88a-b790a285f044"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{customer_id}]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band height="5" splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="26" splitType="Stretch">
<staticText>
<reportElement x="0" y="0" width="52" height="20" uuid="5eddcf27-6dc6-4331-ba2f-4134d8a0c08d"/>
<textElement textAlignment="Center">
<font size="7"/>
</textElement>
<text><![CDATA[Brand]]></text>
</staticText>
<staticText>
<reportElement x="52" y="0" width="52" height="20" uuid="4c12bfc4-b7c5-4556-aa96-fb1022f4e12d"/>
<textElement textAlignment="Center">
<font size="7"/>
</textElement>
<text><![CDATA[Product]]></text>
</staticText>
<staticText>
<reportElement x="104" y="0" width="32" height="20" uuid="3d6a71c0-afa1-4498-a921-951ab092a773"/>
<textElement textAlignment="Center">
<font size="7"/>
</textElement>
<text><![CDATA[Qty]]></text>
</staticText>
<staticText>
<reportElement x="136" y="0" width="50" height="20" uuid="02b6e22a-1b43-4545-8e9a-d0a2d0b61186"/>
<textElement textAlignment="Center">
<font size="7"/>
</textElement>
<text><![CDATA[Price]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="25" splitType="Stretch">
<textField>
<reportElement x="0" y="0" width="52" height="20" uuid="54d1bc49-66f6-4784-a154-bd555da745ae"/>
<textElement textAlignment="Center">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{brand}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="52" y="0" width="57" height="20" uuid="18f06679-8964-414f-a414-e747ca8464f5"/>
<textElement textAlignment="Center">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{productName}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="109" y="0" width="27" height="20" uuid="dcec1cb5-79be-4b29-9b44-3941b77a1cf8"/>
<textElement textAlignment="Center">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{quantity}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="136" y="0" width="50" height="20" uuid="6eaf7cad-6a60-4719-a58b-045e34ef7a30"/>
<textElement textAlignment="Center">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{price}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="45" splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="54" splitType="Stretch"/>
</pageFooter>
<summary>
<band height="42" splitType="Stretch"/>
</summary>
</jasperReport>