-
Notifications
You must be signed in to change notification settings - Fork 0
/
HoldSlip_NASHV.jrxml
386 lines (386 loc) · 30 KB
/
HoldSlip_NASHV.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
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
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
<?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="HoldSlip-20110107" pageWidth="226" pageHeight="439" columnWidth="226" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0">
<property name="ireport.scriptlethandling" value="0"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="1.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
<import value="net.sf.jasperreports.engine.data.*"/>
<field name="v_p_barcode" class="java.lang.String">
<fieldDescription><![CDATA[Patron barcode]]></fieldDescription>
</field>
<field name="v_i_barcode" class="java.lang.String">
<fieldDescription><![CDATA[Item barcode]]></fieldDescription>
</field>
<field name="v_b_title" class="java.lang.String">
<fieldDescription><![CDATA[Bib title]]></fieldDescription>
</field>
<field name="v_b_author" class="java.lang.String">
<fieldDescription><![CDATA[Bib author]]></fieldDescription>
</field>
<field name="checkin_date" class="java.lang.String">
<fieldDescription><![CDATA[Item check-in date formatted using MONEYFMT env var]]></fieldDescription>
</field>
<field name="login_stat_group" class="java.lang.String">
<fieldDescription><![CDATA[Login stat group]]></fieldDescription>
</field>
<field name="v_b_call_num" class="java.lang.String">
<fieldDescription><![CDATA[Call number of item checked in]]></fieldDescription>
</field>
<field name="v_i_volume" class="java.lang.String">
<fieldDescription><![CDATA[Volume of item checked in]]></fieldDescription>
</field>
<field name="f_i_itemstat" class="java.lang.String">
<fieldDescription><![CDATA[Status of item checked in in long format]]></fieldDescription>
</field>
<field name="v_i_note" class="java.lang.String">
<fieldDescription><![CDATA[Note field in record of item just checked in]]></fieldDescription>
</field>
<field name="v_i_url" class="java.lang.String">
<fieldDescription><![CDATA[URL (y varfld) in item record]]></fieldDescription>
</field>
<field name="precid" class="java.lang.String">
<fieldDescription><![CDATA[Patron recid]]></fieldDescription>
</field>
<field name="irecid" class="java.lang.String">
<fieldDescription><![CDATA[Item recid]]></fieldDescription>
</field>
<field name="f_p_pcode1" class="java.lang.String">
<fieldDescription><![CDATA[pcode1 in patron record]]></fieldDescription>
</field>
<field name="f_p_pcode2" class="java.lang.String">
<fieldDescription><![CDATA[pcode2 in patron record]]></fieldDescription>
</field>
<field name="f_p_pcode3" class="java.lang.String">
<fieldDescription><![CDATA[pcode3 in patron record]]></fieldDescription>
</field>
<field name="v_p_name" class="java.lang.String">
<fieldDescription><![CDATA[Patron's name]]></fieldDescription>
</field>
<field name="v_p_alias" class="java.lang.String">
<fieldDescription><![CDATA[Patron's alias]]></fieldDescription>
</field>
<field name="patron_last_name" class="java.lang.String">
<fieldDescription><![CDATA[Patron's last name]]></fieldDescription>
</field>
<field name="patron_first_name" class="java.lang.String">
<fieldDescription><![CDATA[Patron's first name]]></fieldDescription>
</field>
<field name="address_line_1" class="java.lang.String">
<fieldDescription><![CDATA[Line 1 of patron's address]]></fieldDescription>
</field>
<field name="address_line_2" class="java.lang.String">
<fieldDescription><![CDATA[Line 2 of patron's address]]></fieldDescription>
</field>
<field name="address_line_3" class="java.lang.String">
<fieldDescription><![CDATA[Line 3 of patron's address]]></fieldDescription>
</field>
<field name="v_p_email" class="java.lang.String">
<fieldDescription><![CDATA[Patron's e-mail address]]></fieldDescription>
</field>
<field name="v_p_telephone" class="java.lang.String">
<fieldDescription><![CDATA[Patron's phone number]]></fieldDescription>
</field>
<field name="v_p_telephone2" class="java.lang.String">
<fieldDescription><![CDATA[Patron's other phone number]]></fieldDescription>
</field>
<field name="f_p_ptype" class="java.lang.String">
<fieldDescription><![CDATA[Patron's ptype in long format]]></fieldDescription>
</field>
<field name="f_p_location" class="java.lang.String">
<fieldDescription><![CDATA[Patron's location in long format]]></fieldDescription>
</field>
<field name="hold_note" class="java.lang.String">
<fieldDescription><![CDATA[Hold note]]></fieldDescription>
</field>
<field name="pull_date" class="java.lang.String">
<fieldDescription><![CDATA[Pull date]]></fieldDescription>
</field>
<field name="hold_pickup_loc" class="java.lang.String"/>
<field name="checkin_date_year" class="java.lang.String"/>
<field name="checkin_date_month" class="java.lang.String"/>
<field name="checkin_date_day" class="java.lang.String"/>
<field name="checkin_date_hours24" class="java.lang.String"/>
<field name="checkin_date_hours12" class="java.lang.String"/>
<field name="checkin_date_minutes" class="java.lang.String"/>
<field name="checkin_date_seconds" class="java.lang.String"/>
<field name="checkin_date_ampm" class="java.lang.String"/>
<field name="pull_date_mdt" class="java.lang.String"/>
<variable name="MNPS_Delivery" class="java.lang.String" resetType="Page">
<variableExpression><![CDATA[(($F{hold_pickup_loc}.startsWith("zMNPS") == true || $F{hold_pickup_loc}.startsWith("Public School") == true) && (($F{f_p_ptype}.equals("MNPS - School Librarian") == true) || ($F{f_p_ptype}.equals("MNPS Educator Card") == true) || ($F{f_p_ptype}.endsWith("Student (Delivery)") == true))) ? "TRUE" : (($F{hold_pickup_loc}.startsWith("zMNPS") == true || $F{hold_pickup_loc}.startsWith("Public School") == true) && ($F{f_p_ptype}.equals("MNPS - School Librarian") == false) && ($F{f_p_ptype}.equals("MNPS Educator Card") == false) && ($F{f_p_ptype}.endsWith("Student (Delivery)") == false)) ? "INVALID" : "FALSE"]]></variableExpression>
<initialValueExpression><![CDATA["FALSE"]]></initialValueExpression>
</variable>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band splitType="Stretch"/>
</columnHeader>
<detail>
<band height="432" splitType="Stretch">
<staticText>
<reportElement key="staticText-22" positionType="Float" mode="Opaque" x="13" y="2" width="191" height="47" isRemoveLineWhenBlank="true" forecolor="#FFFFFF" backcolor="#000000"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Center">
<font fontName="SansSerif" size="36" isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[HOLD]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement key="textField-15" positionType="Float" x="13" y="49" width="191" height="51"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Center">
<font fontName="SansSerif" size="36" isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{hold_pickup_loc}.startsWith("Arch") == true ? "ARCHIVES" : $F{hold_pickup_loc}.startsWith("Anne") == true ? "AX" : $F{hold_pickup_loc}.startsWith("Bell") == true ? "BL" : $F{hold_pickup_loc}.startsWith("Bord") == true ? "BX" : $F{hold_pickup_loc}.startsWith("Done") == true ? "DO" : $F{hold_pickup_loc}.startsWith("East") == true ? "EA" : $F{hold_pickup_loc}.startsWith("Edge") == true ? "EH" : $F{hold_pickup_loc}.startsWith("Edmo") == true ? "EP" : $F{hold_pickup_loc}.startsWith("Gree") == true ? "GH" : $F{hold_pickup_loc}.startsWith("Good") == true ? "GO" : $F{hold_pickup_loc}.startsWith("Hadl") == true ? "HA" : $F{hold_pickup_loc}.startsWith("LSDHH") == true ? "HI" : $F{hold_pickup_loc}.startsWith("Herm") == true ? "HM" : $F{hold_pickup_loc}.startsWith("Inte") == true ? "ILL" : $F{hold_pickup_loc}.startsWith("zInt") == true ? "ILL" : $F{hold_pickup_loc}.startsWith("Ingl") == true ? "IN" : $F{hold_pickup_loc}.startsWith("Loob") == true ? "LO" : $F{hold_pickup_loc}.startsWith("Madi") == true ? "MA" : $F{hold_pickup_loc}.startsWith("Gove") == true ? "MN" : $F{hold_pickup_loc}.startsWith("Main-Juvenile Stacks") == true ? "AX" : $F{hold_pickup_loc}.startsWith("Main") == true ? "MN" : $F{hold_pickup_loc}.startsWith("Nash") == true ? "MN" : $F{hold_pickup_loc}.startsWith("Prof") == true ? "MN" : $F{hold_pickup_loc}.startsWith("Refe") == true ? "MN" : $F{hold_pickup_loc}.startsWith("MNPS") == true ? "MNPS" : $F{hold_pickup_loc}.startsWith("zMNP") == true ? "MNPS" : $F{hold_pickup_loc}.startsWith("Publ") == true ? "MNPS" : $F{hold_pickup_loc}.startsWith("Nort") == true ? "NO" : $F{hold_pickup_loc}.startsWith("Old") == true ? "OH" : $F{hold_pickup_loc}.startsWith("Prui") == true ? "PR" : $F{hold_pickup_loc}.startsWith("Rich") == true ? "RP" : $F{hold_pickup_loc}.startsWith("Sout") == true ? "SE" : $F{hold_pickup_loc}.startsWith("Talk") == true ? "TA" : $F{hold_pickup_loc}.startsWith("Thom") == true ? "TL" : $F{hold_pickup_loc}.startsWith("Chil") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Coll") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Digi") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Eboo") == true ? "TS" : $F{hold_pickup_loc}.startsWith("ePer") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Erro") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Fris") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Larg") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Lite") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Maga") == true ? "TS" : $F{hold_pickup_loc}.startsWith("mc") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Non-") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Over") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Polk") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Proj") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Soft") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Tech") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Tran") == true ? "TS" : $F{hold_pickup_loc}.startsWith("Watk") == true ? "WP" : "TS"]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement key="textField-1" x="13" y="405" width="191" height="9"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement rotation="Right">
<font fontName="SansSerif" size="18" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{v_p_name}.indexOf(",") > 0 ? $F{v_p_name}.split(",")[0] : $F{v_p_name}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField-8" positionType="Float" x="13" y="341" width="66" height="30" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement verticalAlignment="Bottom" rotation="Right">
<font fontName="SansSerif" size="14"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{pull_date}.replaceAll("\\s+","\n").substring(0,10)]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement key="textField-12" positionType="Float" x="53" y="130" width="150" height="40"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<font fontName="SansSerif" size="14" isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{v_b_call_num} + ($F{v_i_volume} != null ? $F{v_i_volume} : "")]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText-25" positionType="Float" x="13" y="169" width="40" height="14"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<font fontName="SansSerif" size="10"/>
</textElement>
<text><![CDATA[AUTH:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement key="textField-13" positionType="Float" x="53" y="169" width="150" height="14"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<font fontName="SansSerif" size="10"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{v_b_author}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText-26" stretchType="RelativeToTallestObject" x="13" y="182" width="40" height="39"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<font fontName="SansSerif" size="10"/>
</textElement>
<text><![CDATA[TITLE:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement key="textField-14" x="53" y="182" width="150" height="39"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<font fontName="SansSerif" size="10" isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{v_b_title}.replaceAll("/.+?$","")]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField" x="182" y="341" width="21" height="48"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement rotation="Right">
<font fontName="SansSerif" size="14"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{v_i_barcode}.length() == 14 ? $F{v_i_barcode}.substring(10) : $F{v_i_barcode}.length() == 8 ? $F{v_i_barcode}.substring(3,8) : ""]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement key="textField-18" x="13" y="382" width="162" height="5"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement verticalAlignment="Bottom" rotation="Right">
<font fontName="SansSerif" size="12" isBold="false" pdfFontName="Helvetica"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{v_p_name}.indexOf(",") > 0 ? $F{v_p_name}.split(",")[1] : ""]]></textFieldExpression>
</textField>
<line>
<reportElement key="line-2" x="13" y="126" width="190" height="1"/>
</line>
<textField isBlankWhenNull="true">
<reportElement key="textField-19" positionType="Float" x="53" y="273" width="150" height="14"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<font fontName="SansSerif" size="10"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{checkin_date}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText-27" positionType="Float" x="13" y="273" width="41" height="27"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<font fontName="SansSerif" size="10"/>
</textElement>
<text><![CDATA[LCKIN:]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField-20" x="53" y="287" width="150" height="13"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<font fontName="SansSerif"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{login_stat_group}.equals("0") ? "0 = Patron Placed Holds" : $F{login_stat_group}.equals("100") ? "100 = Main Circulation" : $F{login_stat_group}.equals("105") ? "105 = Main Reference" : $F{login_stat_group}.equals("110") ? "110 = Main Childrens" : $F{login_stat_group}.equals("120") ? "120 = Main Nashville Rm." : $F{login_stat_group}.equals("130") ? "130 = Main AV" : $F{login_stat_group}.equals("140") ? "140 = Interlibrary Loan" : $F{login_stat_group}.equals("150") ? "150 = Main Administration" : $F{login_stat_group}.equals("160") ? "160 = Main Acquisitions" : $F{login_stat_group}.equals("170") ? "170 = Main Cataloging" : $F{login_stat_group}.equals("180") ? "180 = MNPS - Metro Schools" : $F{login_stat_group}.equals("190") ? "190 = Training" : $F{login_stat_group}.equals("200") ? "200 = Donelson" : $F{login_stat_group}.equals("210") ? "210 = Thompson Lane" : $F{login_stat_group}.equals("220") ? "220 = Bellevue" : $F{login_stat_group}.equals("230") ? "230 = Madison" : $F{login_stat_group}.equals("240") ? "240 = Southeast" : $F{login_stat_group}.equals("250") ? "250 = Richland Park" : $F{login_stat_group}.equals("260") ? "260 = Green Hills" : $F{login_stat_group}.equals("270") ? "270 = Inglewood" : $F{login_stat_group}.equals("280") ? "280 = Old Hickory" : $F{login_stat_group}.equals("290") ? "290 = Edgehill" : $F{login_stat_group}.equals("300") ? "300 = Goodlettsville" : $F{login_stat_group}.equals("310") ? "310 = Hadley Park" : $F{login_stat_group}.equals("320") ? "320 = LSDHH" : $F{login_stat_group}.equals("330") ? "330 = North Carnegie" : $F{login_stat_group}.equals("340") ? "340 = Pruitt" : $F{login_stat_group}.equals("350") ? "350 = East" : $F{login_stat_group}.equals("360") ? "360 = Bordeaux" : $F{login_stat_group}.equals("380") ? "380 = Looby" : $F{login_stat_group}.equals("390") ? "390 = Watkins Park" : $F{login_stat_group}.equals("400") ? "400 = Archives" : $F{login_stat_group}.equals("410") ? "410 = Hermitage" : $F{login_stat_group}.equals("430") ? "430 = Edmondson Pike" : $F{login_stat_group}.equals("440") ? "440 = Talking Library" : $F{login_stat_group}.equals("499") ? "499 = Closed Location" : $F{login_stat_group}.equals("600") ? "600 = WebAccess Inside" : $F{login_stat_group}.equals("650") ? "650 = WebAccess Outside" : $F{login_stat_group}.equals("710") ? "710 = Main Selfcheck 101" : $F{login_stat_group}.equals("711") ? "711 = Main Selfcheck 102" : $F{login_stat_group}.equals("712") ? "712 = Main Selfcheck 103" : $F{login_stat_group}.equals("713") ? "713 = Main Selfcheck 104" : $F{login_stat_group}.equals("714") ? "714 = Main Selfcheck 105" : $F{login_stat_group}.equals("720") ? "720 = Main Selfcheck 201" : $F{login_stat_group}.equals("721") ? "721 = Main Selfcheck 202" : $F{login_stat_group}.equals("730") ? "730 = Main Selfcheck 301" : $F{login_stat_group}.equals("731") ? "731 = Main Selfcheck 302" : $F{login_stat_group}.equals("732") ? "732 = Main Selfcheck 303" : $F{login_stat_group}.equals("733") ? "733 = Main Selfcheck 304" : $F{login_stat_group}.equals("734") ? "734 = Main selfcheck 305" : $F{login_stat_group}.equals("735") ? "735 = Main Selfcheck 306" : $F{login_stat_group}.equals("736") ? "736 = Main Selfcheck 307" : $F{login_stat_group}.equals("737") ? "737 = Main Selfcheck 308" : $F{login_stat_group}.equals("800") ? "800 = Hermitage SC 01" : $F{login_stat_group}.equals("801") ? "801 = Hermitage SC 02" : $F{login_stat_group}.equals("802") ? "802 = Hermitage SC 03" : $F{login_stat_group}.equals("803") ? "803 = Hermitage SC 04" : $F{login_stat_group}.equals("804") ? "804 = Hermitage SC 05" : $F{login_stat_group}.equals("810") ? "810 = Madison SC 01" : $F{login_stat_group}.equals("811") ? "811 = Madison SC 02" : $F{login_stat_group}.equals("812") ? "812 = Madison SC 03" : $F{login_stat_group}.equals("813") ? "813 = Madison SC 04" : $F{login_stat_group}.equals("814") ? "814 = Madison SC 05" : $F{login_stat_group}.equals("820") ? "820 = Bordeaux SC 01" : $F{login_stat_group}.equals("821") ? "821 = Bordeaux SC 02" : $F{login_stat_group}.equals("822") ? "822 = Bordeaux SC 03" : $F{login_stat_group}.equals("823") ? "823 = Bordeaux SC 04" : $F{login_stat_group}.equals("830") ? "830 = Green Hills SC 01" : $F{login_stat_group}.equals("831") ? "831 = Green Hills SC 02" : $F{login_stat_group}.equals("832") ? "832 = Green Hills SC 03" : $F{login_stat_group}.equals("833") ? "833 = Green Hills SC 04" : $F{login_stat_group}.equals("834") ? "834 = Green Hills SC 05" : $F{login_stat_group}.equals("840") ? "840 = Edmondson Pike SC 01" : $F{login_stat_group}.equals("841") ? "841 = Edmondson Pike SC 02" : $F{login_stat_group}.equals("842") ? "842 = Edmondson Pike SC 03" : $F{login_stat_group}.equals("843") ? "843 = Edmondson Pike SC 04" : $F{login_stat_group}.equals("844") ? "844 = Edmondson Pike SC 05" : $F{login_stat_group}.equals("850") ? "850 = Richland Park SC 01" : $F{login_stat_group}.equals("851") ? "851 = Richland Park SC 02" : $F{login_stat_group}.equals("860") ? "860 = Pruitt SC 01" : $F{login_stat_group}.equals("861") ? "861 = Pruitt SC 02" : $F{login_stat_group}.equals("870") ? "870 = Looby SC 01" : $F{login_stat_group}.equals("871") ? "871 = Looby SC 02" : $F{login_stat_group}.equals("880") ? "880 = Goodlettsville SC 01" : $F{login_stat_group}.equals("881") ? "881 = Goodlettsville SC 02" : $F{login_stat_group}.equals("882") ? "882 = Goodlettsville SC 03" : $F{login_stat_group}.equals("883") ? "883 = Goodlettsville SC 04" : $F{login_stat_group}.equals("884") ? "884 = Goodlettsville SC 05" : $F{login_stat_group}.equals("885") ? "885 = Goodlettsville SC 06" : $F{login_stat_group}.equals("886") ? "886 = Goodlettsville SC 07" : $F{login_stat_group}.equals("887") ? "887 = Goodlettsville SC 08" : $F{login_stat_group}.equals("888") ? "888 = Goodlettsville SC 09" : $F{login_stat_group}.equals("890") ? "890 = Donelson SC 01" : $F{login_stat_group}.equals("891") ? "891 = Donelson SC 02" : $F{login_stat_group}.equals("900") ? "900 = TRS" : $F{login_stat_group}.equals("901") ? "901 = Bellevue SC 02" : $F{login_stat_group}.equals("902") ? "902 = Bellevue SC 03" : $F{login_stat_group}.equals("903") ? "903 = Bellevue SC 01" : $F{login_stat_group}.equals("910") ? "910 = Hadley Park SC 01" : $F{login_stat_group}.equals("911") ? "911 = Hadley Park SC 02" : $F{login_stat_group}.equals("920") ? "920 = Old Hickory SC 01" : $F{login_stat_group}.equals("921") ? "921 = Old Hickory SC 02" : $F{login_stat_group}.equals("930") ? "930 = Southeast SC 01" : $F{login_stat_group}.equals("931") ? "931 = Southeast SC 02" : $F{login_stat_group}.equals("932") ? "932 = Southeast SC 03" : $F{login_stat_group}.equals("940") ? "940 = Edgehill SC 01" : $F{login_stat_group}.equals("941") ? "941 = Edgehill SC 02" : $F{login_stat_group}.equals("950") ? "950 = Thompson Lane SC 01" : $F{login_stat_group}.equals("951") ? "951 = Thompson Lane SC 02" : $F{login_stat_group}.equals("952") ? "952 = Thompson Lane SC 03" : $F{login_stat_group}.equals("960") ? "960 = East SC 01" : $F{login_stat_group}.equals("961") ? "961 = East SC 02" : $F{login_stat_group}.equals("970") ? "970 = Watkins Park SC 01" : $F{login_stat_group}.equals("980") ? "980 = Inglewood SC 01" : $F{login_stat_group}.equals("981") ? "981 = Inglewood SC 02" : $F{login_stat_group}.equals("990") ? "990 = North SC 01" : $F{login_stat_group}.equals("991") ? "991 = North SC 02" : "ERROR"]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField-21" x="13" y="246" width="190" height="14"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Center"/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{irecid}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField-22" x="13" y="327" width="190" height="14"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Center"/>
<textFieldExpression class="java.lang.String"><![CDATA[$V{MNPS_Delivery}.equals("TRUE") ? $F{v_p_barcode}.replaceAll("\\D","") : ("." + $F{precid}.toUpperCase())]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText-28" mode="Transparent" x="196" y="112" width="8" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[H]]></text>
</staticText>
<componentElement>
<reportElement key="barcode-1" mode="Opaque" x="13" y="221" width="190" height="25" forecolor="#000000" backcolor="#FFFFFF"/>
<jr:barbecue xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" type="Code39 (Extended)" drawText="false" checksumRequired="false">
<jr:codeExpression><![CDATA[$F{irecid}.toUpperCase()]]></jr:codeExpression>
</jr:barbecue>
</componentElement>
<componentElement>
<reportElement key="barcode-2" mode="Opaque" x="13" y="300" width="191" height="25" forecolor="#000000" backcolor="#FFFFFF"/>
<jr:barbecue xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" type="Code39 (Extended)" drawText="false" checksumRequired="false">
<jr:codeExpression><![CDATA[$V{MNPS_Delivery}.equals("TRUE") ? $F{v_p_barcode}.replaceAll("\\D","") : ("." + $F{precid}.toUpperCase())]]></jr:codeExpression>
</jr:barbecue>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement key="textField-41" x="53" y="86" width="150" height="26"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<font fontName="SansSerif" size="10" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$V{MNPS_Delivery}.equals("TRUE") == true ? $F{f_p_location}.replaceFirst("Public School-","") : ($V{MNPS_Delivery}.equals("INVALID") == true ? "INVALID PATRON TYPE - MODIFY HOLD" : "")]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>
</jasperReport>