]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/chrome/content/circ/offline_checkout.xul
b4fb6e4dea7a2a5c8cf8b8cc7f75a266b3623ebb
[Evergreen.git] / Open-ILS / xul / staff_client / chrome / content / circ / offline_checkout.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Example Template for remote xul -->
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
10 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
11 <!-- LOCALIZATION -->
12 <!DOCTYPE window SYSTEM "chrome://open_ils_staff_client/locale/lang.dtd">
13
14 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
15 <!-- OVERLAYS -->
16 <?xul-overlay href="chrome://open_ils_staff_client/content/OpenILS/util_overlay_offline.xul"?>
17
18 <window id="offline_checkout_win" sizemode="maximized"
19         onload="try { my_init(); } catch(E) { alert(E); }"
20         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
21
22         <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
23         <!-- BEHAVIOR -->
24         <script type="text/javascript">
25                 var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};
26         </script>
27         <scripts id="openils_util_scripts"/>
28
29         <script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
30         <script type="text/javascript" src="offline_checkout.js"/>
31
32         <groupbox flex="1">
33                 <caption label="Standalone Check Out"/>
34                 <hbox flex="1">
35                         <vbox flex="1">
36                                 <hbox>
37                                         <label value="Step 1)" style="font-weight: bold" />
38                                         <description>Check today's date above.</description>
39                                 </hbox>
40                                 <hbox>
41                                         <label value="Step 2)" style="font-weight: bold" accesskey="2" control="p_barcode"/>
42                                         <description>Enter the patron's barcode:</description>
43                                 </hbox>
44                                 <hbox>
45                                         <spacer flex="1"/>
46                                         <textbox id="p_barcode"/>
47                                 </hbox>
48                                 <hbox>
49                                         <spacer flex="1"/>
50                                         <description>Check barcode?</description>
51                                         <checkbox id="strict_p_barcode" persist="checked"/>
52                                 </hbox>
53                                 <hbox>
54                                         <label value="Step 3)" style="font-weight: bold" accesskey="3" control="duedate"/>
55                                         <description>Enter the item due date:</description>
56                                 </hbox>
57                                 <hbox>
58                                         <spacer flex="1"/>
59                                         <stack>
60                                                 <textbox value="YYYY-MM-DD" style="opacity: 0.3; font-family: monospace;" disabled="true"/>
61                                                 <textbox id="duedate" style="font-family: monospace;"/>
62                                         </stack>
63                                 </hbox>
64                                 <hbox>
65                                         <spacer flex="1"/>
66                                         <menulist id="duedate_menu">
67                                                 <menupopup>
68                                                         <menuitem label="or choose one of these" value="0"/>
69                                                         <menuitem label="Today + 3 days" value="3"/>
70                                                         <menuitem label="Today + 7 days" value="7"/>
71                                                         <menuitem label="Today + 14 days" value="14"/>
72                                                         <menuitem label="Today + 30 days" value="30"/>
73                                                 </menupopup>
74                                         </menulist>
75                                 </hbox>
76                                 <hbox>
77                                         <label value="Step 4)" style="font-weight: bold" accesskey="4" control="i_barcode"/>
78                                         <description>Enter the item barcode:</description>
79                                 </hbox>
80                                 <hbox>
81                                         <spacer flex="1"/>
82                                         <hbox><textbox id="i_barcode"/><button id="enter" label="Enter" accesskey="E"/></hbox>
83                                 </hbox>
84                                 <hbox>
85                                         <spacer flex="1"/>
86                                         <hbox id="x_noncat_type"/>
87                                 </hbox>
88                                 <hbox>
89                                         <spacer flex="1"/>
90                                         <description>Check barcode?</description>
91                                         <checkbox id="strict_i_barcode" persist="checked"/>
92                                 </hbox>
93                                 <hbox>
94                                         <label value="Step 5)" style="font-weight: bold"/>
95                                         <description>Repeat Steps 3 and 4 until done.</description>
96                                 </hbox>
97                                 <hbox>
98                                         <label value="Step 6)" style="font-weight: bold"/>
99                                         <description>Finish</description>
100                                 </hbox>
101                                 <hbox>
102                                         <spacer flex="1"/>
103                                         <description>Print receipt?</description>
104                                         <checkbox id="print_receipt" persist="checked"/>
105                                 </hbox>
106                                 <hbox>
107                                         <spacer flex="1"/>
108                                         <button id="cancel" label="Cancel" />
109                                         <button id="submit" label="Save these transactions" accesskey="S" />
110                                 </hbox>
111                         </vbox>
112                         <splitter>
113                                 <grippy />
114                         </splitter>
115                         <vbox flex="2">
116                                 <tree id="checkout_list" flex="1" enableColumnDrag="true"/>
117                                 <hbox id="checkout_bottom_ui">
118                                         <spacer flex="1"/>
119                                         <button id="delete" label="Delete selected transaction" oncommand="alert('Not Yet Implemented');"/>
120                                 </hbox>
121                         </vbox>
122                 </hbox>
123         </groupbox>
124
125 </window>
126