2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Retrieve Patron By Barcode -->
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="chrome://open_ils_staff_client/skin/global.css" type="text/css"?>
9 <?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
10 <?xml-stylesheet href="/xul/server/skin/patron_display.css" type="text/css"?>
12 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
14 <!DOCTYPE window PUBLIC "" ""[
15 <!--#include virtual="/opac/locale/en-US/lang.dtd"-->
18 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
20 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
22 <window id="patron_barcode_entry_win"
23 onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
24 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
26 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
28 <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
29 <scripts id="openils_util_scripts"/>
31 <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
32 <script type="text/javascript" src="barcode_entry.js"/>
34 <vbox flex="1" class="my_overflow">
35 <groupbox orient="vertical" flex="1">
36 <caption label="Retrieve Patron" />
38 <label value="Barcode:" accesskey="B" control="barcode_tb"/>
39 <textbox id="barcode_tb" />
40 <button id="submit_cb" label="Submit" accesskey="t" oncommand="submit();"/>
41 <checkbox id="quick_checkout" persist="checked" label="Quick Checkout" oncommand="$('checkout_top_ui').hidden = ! this.checked; $('barcode_tb').focus();"/>
43 <label value="Retrieving..." style="color: green" id="progress" hidden="true"/>
46 <label class="patronNameLarge" id="patron_name"/>
48 <label class="hideme barred_indicator" value="(Barred)"/>
49 <label class="hideme expired_indicator" value="(Expired)"/>
50 <label class="hideme inactive_indicator" value="(In-Active)"/>
51 <label class="hideme juvenile_indicator" value="(Juvenile)"/>
52 <label class="hideme alert_indicator" value="(Alert)"/>
53 <label class="hideme note_indicator" value="(See Notes)"/>
54 <label class="hideme max_bills_indicator" value="(Max Bills)"/>
55 <label class="hideme max_overdues_indicator" value="(Max Overdues)"/>
56 <label class="hideme bills_indicator" value="(Has Bills)"/>
57 <label class="hideme overdues_indicator" value="(Has Overdues)"/>
58 <label class="hideme invalid_dob_indicator" value="(Invalid DOB)"/>
59 <label class="hideme invalid_address_indicator" value="(Invalid Address)"/>
61 <groupbox orient="vertical" id="checkout_top_ui" flex="1" disabled="true">
62 <caption label="Check Out Items"/>
63 <vbox flex="1" style="overflow: scroll">
72 <label value="Barcode" style="font-weight: bold;"/>
73 <label value="Due Date" style="font-weight: bold;"/>
74 <label value="Title/Non-Cat Type" style="font-weight: bold;"/>
76 <row id="checkout_controls">
77 <textbox id="checkout_barcode_entry_textbox"/>
78 <menulist id="checkout_duedate_menu" editable="true" onchange="test_date(this);">
80 <menuitem label="Normal" selected="true"/>
81 <menuitem label="Today + 3 days" />
82 <menuitem label="Today + 7 days" />
83 <menuitem label="Today + 14 days" />
84 <menuitem label="Today + 30 days" />
88 <hbox id="checkout_menu_placeholder" flex="0"/>
89 <button label="Submit" accesskey="S" id="checkout_submit" oncommand="submit_item();"/>
93 <label value=" " class="line_item" />
99 <button id="done" label="Done" accesskey="D" oncommand="done();"/>
100 <button id="retrieve_patron" label="Retrieve Patron" accesskey="R" oncommand="retrieve_patron();"/>
101 <checkbox id="strict_barcode" label="Strict Barcode" checked="false" persist="checked"/>
102 <checkbox id="enable_print" label="Enable LPT1 Printing" checked="true" persist="checked"/>