-
Notifications
You must be signed in to change notification settings - Fork 0
/
reportexubicacion.jrxml
319 lines (319 loc) · 14.2 KB
/
reportexubicacion.jrxml
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
<?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="report1" language="groovy" pageWidth="900" pageHeight="990" columnWidth="860" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="5eeded7a-0ffa-46ed-a30c-fd0c49f32aa6">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="U" class="java.lang.String"/>
<queryString>
<![CDATA[SELECT ID_equipo, Inventario, Tipo_equipo.Tipo_equipo , Marca.Marca, Modelo, Num_serie, Fichas.Ficha, Fichas.Usuario, Ubicacion.Ubicacion, Area.Area, CONVERT(VARCHAR(10), Fecha, 103) AS Fecha, Propiedad, Estado, Observaciones
FROM Bienes, Tipo_equipo, Marca, Ubicacion, Area, Fichas
WHERE Tipo_equipo.ID_tipo=Bienes.Tipo_equipo AND Marca.id_Marca = Bienes.Marca AND Ubicacion.ID_U= Bienes.Ubicacion AND Area.ID_A= Bienes.Area AND Fichas.Ficha= Bienes.Ficha
and Bienes.Ubicacion = $P{U}
ORDER BY ID_equipo ASC]]>
</queryString>
<field name="ID_equipo" class="java.lang.Integer"/>
<field name="Inventario" class="java.lang.String"/>
<field name="Tipo_equipo" class="java.lang.String"/>
<field name="Marca" class="java.lang.String"/>
<field name="Modelo" class="java.lang.String"/>
<field name="Num_serie" class="java.lang.String"/>
<field name="Ficha" class="java.lang.Integer"/>
<field name="Usuario" class="java.lang.String"/>
<field name="Ubicacion" class="java.lang.String"/>
<field name="Area" class="java.lang.String"/>
<field name="Fecha" class="java.lang.String"/>
<field name="Propiedad" class="java.lang.String"/>
<field name="Estado" class="java.lang.String"/>
<field name="Observaciones" class="java.lang.String"/>
<group name="Group1"/>
<group name="Group2"/>
<group name="Group3"/>
<group name="Group4"/>
<background>
<band/>
</background>
<title>
<band height="72">
<frame>
<reportElement mode="Opaque" x="-20" y="-20" width="902" height="92" backcolor="#006699" uuid="36f12dca-b359-4911-ba0f-c60725c2080a"/>
<staticText>
<reportElement x="20" y="20" width="306" height="43" forecolor="#FFFFFF" uuid="c3cd6ade-cbeb-4f34-98b6-42869aae76e3"/>
<textElement>
<font size="34" isBold="true"/>
</textElement>
<text><![CDATA[Inventario General]]></text>
</staticText>
<staticText>
<reportElement x="584" y="63" width="187" height="20" forecolor="#FFFFFF" uuid="e6e4189a-c1d6-4f86-a187-8a010798a121"/>
<textElement textAlignment="Right">
<font size="14" isBold="false"/>
</textElement>
<text><![CDATA[Tecnologia de la informacion]]></text>
</staticText>
</frame>
</band>
</title>
<pageHeader>
<band height="13"/>
</pageHeader>
<columnHeader>
<band height="24">
<staticText>
<reportElement mode="Opaque" x="0" y="0" width="196" height="20" forecolor="#006699" backcolor="#E6E6E6" uuid="44be0664-1266-4164-a9c5-def83f3afb70"/>
<textElement textAlignment="Center">
<font size="14" isBold="true"/>
</textElement>
<text><![CDATA[Bienes de Computo TI]]></text>
</staticText>
<line>
<reportElement x="-20" y="20" width="902" height="1" forecolor="#666666" uuid="760efc47-037f-48d5-b5fd-ea0d62c7ff23"/>
</line>
<textField>
<reportElement isPrintRepeatedValues="false" mode="Opaque" x="196" y="0" width="322" height="20" forecolor="#006699" backcolor="#E6E6E6" uuid="1430b486-50b2-4039-bd5c-093ea94bd697"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA["Equipos Ubicados en: "+$F{Ubicacion}]]></textFieldExpression>
</textField>
</band>
</columnHeader>
<detail>
<band height="135">
<textField>
<reportElement mode="Opaque" x="614" y="0" width="245" height="130" forecolor="#006699" backcolor="#E6E6E6" uuid="a31ebc59-759c-4c66-8ac0-75753942e42f"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[" "+$F{Observaciones}]]></textFieldExpression>
</textField>
<staticText>
<reportElement mode="Opaque" x="0" y="110" width="518" height="20" forecolor="#006699" backcolor="#E6E6E6" uuid="43ccc194-5149-442c-abfb-7ef6fefd6eca"/>
<textElement textAlignment="Center">
<font size="14" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="0" y="68" width="518" height="20" forecolor="#006699" backcolor="#E6E6E6" uuid="ea9f6549-0a2a-40f6-85bb-87e96fb1bae1"/>
<textElement textAlignment="Center">
<font size="14" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="0" y="29" width="518" height="20" forecolor="#006699" backcolor="#E6E6E6" uuid="977a58c0-e96c-47e8-96b8-8dd22dc75b7f"/>
<textElement textAlignment="Center">
<font size="14" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<textField>
<reportElement x="234" y="49" width="284" height="18" forecolor="#006699" uuid="0e59fd19-48fb-49c5-ae21-8fffee0584dd"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[" "+$F{Inventario}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="168" y="49" width="66" height="18" forecolor="#666666" uuid="7b58062e-82f4-4d64-b0dd-0f93d0a39f59"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Inventario:]]></text>
</staticText>
<textField>
<reportElement x="73" y="48" width="95" height="20" forecolor="#006699" uuid="64d50d32-35a1-446e-b681-847e8050ab7a"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[" "+$F{Tipo_equipo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="47" width="73" height="21" forecolor="#666666" uuid="4eaf59ac-d7ad-4f75-bb3b-e6a595539bd5"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Tipo Equipo:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="28" width="73" height="20" forecolor="#666666" uuid="063cf7bf-aa6b-48af-9a54-4ba3ade2ce00"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Ficha:]]></text>
</staticText>
<staticText>
<reportElement x="168" y="28" width="66" height="21" forecolor="#666666" uuid="8b5589a9-e7b8-42cf-8db6-e6267fecd4e1"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Usuario:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="67" width="73" height="21" forecolor="#666666" uuid="b71d8f3b-a3ab-4fb0-868f-c87b4a6ee156"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Ubicacion:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="87" width="73" height="21" forecolor="#666666" uuid="2768610b-6df7-4165-953d-dc5a12fbcadb"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Area:]]></text>
</staticText>
<textField>
<reportElement x="73" y="28" width="95" height="20" forecolor="#006699" uuid="ef939b9f-a0d8-40fa-875c-29d332a68055"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[" "+$F{Ficha}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="234" y="28" width="284" height="21" forecolor="#006699" uuid="d9394691-a768-41c9-8dc1-444f80f0418f"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[" "+$F{Usuario}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="73" y="67" width="445" height="20" forecolor="#006699" uuid="e2ef76a4-8178-4bf5-92c8-440ccae4573f"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[" "+$F{Ubicacion}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="73" y="88" width="445" height="21" forecolor="#006699" uuid="8b90c8e8-d40f-41df-b16c-e45f68dffe53"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[" "+$F{Area}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="345" y="109" width="47" height="20" forecolor="#666666" uuid="e7207a33-f918-4f4b-a811-0a3db1388059"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Fecha:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="109" width="73" height="20" forecolor="#666666" uuid="9defad37-d025-4aef-80ec-0c8d51959118"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Propiedad:]]></text>
</staticText>
<staticText>
<reportElement x="168" y="109" width="66" height="20" forecolor="#666666" uuid="8e1f5f6b-45eb-49a4-aa06-277a468f2e39"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Estado:]]></text>
</staticText>
<staticText>
<reportElement x="518" y="68" width="97" height="21" forecolor="#666666" uuid="5f7fb283-d8af-4846-8363-1f6510e2744a"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Observaciones:]]></text>
</staticText>
<textField pattern="dd/MM/yyyy">
<reportElement x="395" y="109" width="123" height="20" forecolor="#006699" uuid="dabe3fe9-9d11-4c13-86ab-30c0d097e495"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{Fecha}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="73" y="109" width="95" height="20" forecolor="#006699" uuid="2bb001a6-f59b-4977-894d-af30b15a74f1"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[" "+$F{Propiedad}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="234" y="109" width="111" height="20" forecolor="#006699" uuid="43097771-ba0b-4ca6-9c31-c7b3b00ed266"/>
<textElement verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[" "+$F{Estado}]]></textFieldExpression>
</textField>
<line>
<reportElement x="-20" y="130" width="902" height="2" uuid="ef995b4f-cfa1-4824-9e2c-b01e01cdf38e"/>
</line>
<textField>
<reportElement x="72" y="0" width="96" height="28" forecolor="#006699" uuid="a776b1eb-cec9-4c4c-a411-84d7a9999c79"/>
<textElement verticalAlignment="Middle">
<font size="16" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[" "+$F{Marca}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="168" y="0" width="65" height="28" forecolor="#666666" uuid="1a3ea176-465e-406a-9872-d92664f06942"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Modelo:]]></text>
</staticText>
<textField>
<reportElement x="233" y="0" width="111" height="28" forecolor="#006699" uuid="acd9b5bd-cba3-4064-bde1-863f755b00da"/>
<textElement verticalAlignment="Middle">
<font size="16" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[" "+ $F{Modelo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="344" y="0" width="85" height="28" forecolor="#666666" uuid="ca4beae5-796a-4c72-86e1-d40273a81c8c"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Numero Serie:]]></text>
</staticText>
<textField>
<reportElement x="429" y="0" width="89" height="28" forecolor="#006699" uuid="390db157-196f-4a66-89a9-12bd1dd4b87b"/>
<textElement verticalAlignment="Middle">
<font size="16" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[" "+$F{Num_serie}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="0" width="72" height="28" forecolor="#666666" uuid="a3354b0a-0f54-456c-bd7c-4f0e9d2593df"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Marca:]]></text>
</staticText>
</band>
</detail>
<columnFooter>
<band/>
</columnFooter>
<pageFooter>
<band height="17">
<textField>
<reportElement mode="Opaque" x="0" y="4" width="821" height="13" backcolor="#E6E6E6" uuid="6c9ea649-2167-4567-b7f6-782e58ae45c2"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA["Pagina "+$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement mode="Opaque" x="821" y="4" width="40" height="13" backcolor="#E6E6E6" uuid="41ecb29c-fb9c-4482-bef7-d19cfe1424ad"/>
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField pattern="EEEEE dd MMMMM yyyy">
<reportElement x="4" y="4" width="276" height="13" uuid="6a97c5b1-5b0e-42a6-839a-0cce90bdb15b"/>
<textElement>
<font isPdfEmbedded="false"/>
</textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<line>
<reportElement positionType="FixRelativeToBottom" x="0" y="0" width="860" height="1" uuid="c46ae9e2-79af-46ba-be4c-a899ee347180"/>
</line>
</band>
</pageFooter>
<summary>
<band/>
</summary>
</jasperReport>