]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/barcode_entry.xul
prototype quick checkout
[Evergreen.git] / Open-ILS / xul / staff_client / server / patron / barcode_entry.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Retrieve Patron By Barcode -->
4
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
6 <!-- STYLESHEETS -->
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"?>
11
12 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
13 <!-- LOCALIZATION -->
14 <!DOCTYPE window PUBLIC "" ""[
15         <!--#include virtual="/opac/locale/en-US/lang.dtd"-->
16 ]>
17
18 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
19 <!-- OVERLAYS -->
20 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
21
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">
25
26         <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
27         <!-- BEHAVIOR -->
28         <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
29         <scripts id="openils_util_scripts"/>
30
31         <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
32         <script type="text/javascript" src="barcode_entry.js"/>
33
34         <vbox flex="1" class="my_overflow">
35                 <groupbox orient="vertical" flex="1">
36                         <caption label="Retrieve Patron" />
37                         <hbox>
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();"/>
42                         </hbox>
43                         <label value="Retrieving..." style="color: green" id="progress" hidden="true"/>
44                         <vbox id="status">
45                         </vbox>
46                         <label class="patronNameLarge" id="patron_name"/>
47                         <hbox>
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)"/>
60                         </hbox>
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">
64                                         <grid flex="1">
65                                                 <columns>
66                                                         <column/>
67                                                         <column/>
68                                                         <column/>
69                                                 </columns>
70                                                 <rows id="rows">
71                                                         <row>
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;"/>
75                                                         </row>
76                                                         <row id="checkout_controls">
77                                                                 <textbox id="checkout_barcode_entry_textbox"/>                                          
78                                                                 <menulist id="checkout_duedate_menu" editable="true" onchange="test_date(this);">
79                                                                         <menupopup>
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" />
85                                                                         </menupopup>
86                                                                 </menulist>
87                                                                 <hbox>
88                                                                         <hbox id="checkout_menu_placeholder" flex="0"/>
89                                                                         <button label="Submit" accesskey="S" id="checkout_submit" oncommand="submit_item();"/>
90                                                                 </hbox>
91                                                         </row>
92                                                         <row id="spacer">
93                                                                 <label value=" " class="line_item" />
94                                                         </row>
95                                                 </rows>
96                                         </grid>
97                                 </vbox>
98                                 <hbox>
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"/> 
103                                 </hbox>
104                         </groupbox>
105                 </groupbox>
106         </vbox>
107
108 </window>
109