Subversion Repository Public Repository

TransPort_Tracking

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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
<?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="OilEntryClientReport" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="0d34299b-920e-4866-b217-f3a241c470cc">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="ReportTitle" class="java.lang.String"/>
	<parameter name="start" class="java.lang.String"/>
	<parameter name="end" class="java.lang.String"/>
	<parameter name="from" class="java.util.Date"/>
	<parameter name="to" class="java.util.Date"/>
	<parameter name="Name" class="java.lang.String"/>
	<queryString>
		<![CDATA[SELECT
     oil_entry.`id` AS oil_entry_id,
     DATE_FORMAT(oil_entry.`date`,'%d/%m/%Y') AS oil_entry_date,
     oil_entry.`meter_reading` AS oil_entry_meter_reading,
     oil_entry.`oil_quantity` AS oil_entry_oil_quantity,
     oil_entry.`total_price` AS oil_entry_total_price,
     vehicle_master.`vehicle_number` AS vehicle_owner_name,
     client_master.`name` AS client_master_name,
(SELECT party_master.`name` FROM party_master Where party_master.`id`=oil_entry.`party_id`)
     AS party_master_name
FROM
     `oil_entry` oil_entry INNER JOIN `client_master` client_master ON oil_entry.`client_id` = client_master.`id`
     INNER JOIN `vehicle_master` vehicle_master ON oil_entry.`vehicle_id` = vehicle_master.`id`
     INNER JOIN `vehicle_owner` vehicle_owner ON vehicle_master.`vehicle_owner` = vehicle_owner.`id`
WHERE
     oil_entry.`date` >= $P{from}
AND
     oil_entry.`date` <= $P{to}
AND
     client_master.`name` = $P{Name}]]>
	</queryString>
	<field name="oil_entry_id" class="java.lang.Integer"/>
	<field name="oil_entry_date" class="java.lang.String"/>
	<field name="oil_entry_meter_reading" class="java.math.BigDecimal"/>
	<field name="oil_entry_oil_quantity" class="java.math.BigDecimal"/>
	<field name="oil_entry_total_price" class="java.math.BigDecimal"/>
	<field name="vehicle_owner_name" class="java.lang.String"/>
	<field name="client_master_name" class="java.lang.String"/>
	<field name="party_master_name" class="java.lang.String"/>
	<variable name="TotalPrice" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{oil_entry_total_price}]]></variableExpression>
	</variable>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="109" splitType="Stretch">
			<staticText>
				<reportElement uuid="a4cc05e6-bc80-4687-8420-43aa60f1899b" x="0" y="0" width="279" height="22" forecolor="#666600"/>
				<textElement textAlignment="Left">
					<font fontName="SansSerif" size="14" isBold="true"/>
				</textElement>
				<text><![CDATA[Kumar Syndicate Private Limited]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="13be86bf-6794-4427-8d76-53a6e64cfc38" x="279" y="0" width="163" height="22" forecolor="#666600"/>
				<textElement textAlignment="Right" verticalAlignment="Middle"/>
				<text><![CDATA[Report Run Date : ]]></text>
			</staticText>
			<textField pattern="dd MMMMM yyyy">
				<reportElement uuid="9373ce3d-9584-4745-a809-9e53e6caef90" x="442" y="0" width="113" height="22" forecolor="#666600"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="00001ba0-51c4-48b8-a8d4-f5c4111f8fc0" x="0" y="22" width="92" height="25" forecolor="#666600"/>
				<textElement verticalAlignment="Middle">
					<font size="12" isBold="false"/>
				</textElement>
				<text><![CDATA[Report Name :]]></text>
			</staticText>
			<line>
				<reportElement uuid="089374d1-5590-4404-b144-cd118d6381bc" x="0" y="47" width="555" height="1"/>
			</line>
			<staticText>
				<reportElement uuid="a0c25421-bdd2-4502-be42-d72df3bb2d06" x="0" y="47" width="555" height="22" forecolor="#666600"/>
				<textElement>
					<font size="12"/>
				</textElement>
				<text><![CDATA[Report Parameters : ]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="886d268b-353c-4462-bf4c-5bbe35372925" x="0" y="69" width="70" height="20" forecolor="#FF3300"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[From Date : ]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="8e0b8242-7465-4a98-9c4b-11470fa5bf9d" x="170" y="69" width="54" height="20" forecolor="#FF3300"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[To Date : ]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="51478ea3-f700-4a4f-85ca-6f9671c010d8" x="0" y="89" width="48" height="20"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font isStrikeThrough="false"/>
				</textElement>
				<text><![CDATA[Name :]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement uuid="7928b097-2185-468e-a095-05b4cf9a34ce" x="70" y="69" width="100" height="20"/>
				<textElement textAlignment="Left" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$P{start}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="b02b9b1c-e5a4-4b1a-9a60-ceceb9a8d486" x="224" y="69" width="122" height="20"/>
				<textElement textAlignment="Left" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$P{end}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="0ee92f6c-b4cb-4d6f-a109-261ae3f8c0e9" x="48" y="89" width="298" height="20"/>
				<textElement textAlignment="Left" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$P{Name}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="2442fc07-0711-44aa-abbe-33a3a8cbfeb6" x="92" y="22" width="463" height="25" forecolor="#FF3300"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Algerian" size="14" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{ReportTitle}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="8" splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="20" splitType="Stretch">
			<staticText>
				<reportElement uuid="0343719b-5e9f-4880-8936-58fff703816c" x="97" y="0" width="137" height="20" forecolor="#00CC33"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Party Name]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="70cc87c3-f49b-49a5-abe0-70eed990d966" x="234" y="0" width="79" height="20" forecolor="#00CC33"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Vehicle No]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="0377c35c-31e7-45fa-831a-658fa610bc3c" x="398" y="0" width="74" height="20" forecolor="#00CC33"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Oil Volume]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="be62be17-b423-46df-955e-4389b4b5bae4" x="313" y="0" width="85" height="20" forecolor="#00CC33"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Meter Reading]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="428e93e2-1970-45b2-b834-d7ec06a52de4" x="34" y="0" width="63" height="20" forecolor="#00CC33"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Date]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="69adef23-301a-4825-af48-dbda0b9169ad" x="0" y="0" width="34" height="20" forecolor="#00CC33"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[ID]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="0eea53fb-4e12-402a-a592-317bd1627c80" x="472" y="0" width="83" height="20" forecolor="#00CC33"/>
				<box>
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Total Price]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="40" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="4c068f91-f9a4-4625-94c0-227523016894" stretchType="RelativeToBandHeight" x="0" y="0" width="34" height="20"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{oil_entry_id}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="8c007462-89d3-485f-a2d3-1673e1b4a1f5" stretchType="RelativeToBandHeight" x="234" y="0" width="79" height="20"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{vehicle_owner_name}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="35ba54e9-1332-4db9-92fa-758b5ed0e3a3" stretchType="RelativeToBandHeight" x="313" y="0" width="85" height="20"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{oil_entry_meter_reading}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="3cfbe85b-c789-44f2-a908-617477afa286" stretchType="RelativeToBandHeight" x="398" y="0" width="74" height="20"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{oil_entry_oil_quantity}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="45d3758c-885b-43da-b081-02631c4741df" stretchType="RelativeToBandHeight" x="34" y="0" width="63" height="20"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{oil_entry_date}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="e2dd13e1-cd2e-4b0c-a5c4-c204f69b84b5" x="97" y="0" width="137" height="20"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{party_master_name}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="ef16d82a-078e-40da-ae50-6af29796f89d" x="472" y="0" width="83" height="20"/>
				<box>
					<pen lineWidth="0.75" lineColor="#00CC33"/>
					<topPen lineWidth="0.75" lineColor="#00CC33"/>
					<leftPen lineWidth="0.75" lineColor="#00CC33"/>
					<bottomPen lineWidth="0.75" lineColor="#00CC33"/>
					<rightPen lineWidth="0.75" lineColor="#00CC33"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{oil_entry_total_price}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="337bbbab-9cc6-41c3-93eb-97044c53b5bd" x="372" y="20" width="100" height="20"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="11" isBold="true"/>
				</textElement>
				<text><![CDATA[Total Price (INR) :]]></text>
			</staticText>
			<textField pattern="" isBlankWhenNull="true">
				<reportElement uuid="1fb01cf4-fd59-4ee3-997c-3953446f8fa8" x="472" y="20" width="83" height="20"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{TotalPrice}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band height="14" splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="21" splitType="Stretch">
			<textField>
				<reportElement uuid="db7aae8b-860a-4cf0-b2cc-da933489b814" x="435" y="0" width="80" height="20"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement uuid="9540874f-761f-411b-b814-563a7f7bb0e5" x="515" y="0" width="40" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
	<summary>
		<band height="12" splitType="Stretch"/>
	</summary>
</jasperReport>

Commits for TransPort_Tracking/TransPortTracking/src/main/resources/reports/OilEntryClientReport.jrxml

Diff revisions: vs.
Revision Author Commited Message
1 girijabapi picture girijabapi Sat 28 Jul, 2018 05:29:14 +0000