2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Example Template for remote xul -->
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"?>
10 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
12 <!DOCTYPE window SYSTEM "chrome://open_ils_staff_client/locale/lang.dtd">
14 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
16 <?xul-overlay href="chrome://open_ils_staff_client/content/OpenILS/util_overlay_offline.xul"?>
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">
22 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
24 <script type="text/javascript">
25 var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};
27 <scripts id="openils_util_scripts"/>
29 <script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
30 <script type="text/javascript" src="offline_renew.js"/>
33 <caption label="Standalone Renew"/>
37 <label value="Step 1)" style="font-weight: bold" />
38 <description>Check today's date above.</description>
41 <label value="Step 2)" style="font-weight: bold" accesskey="2" control="p_barcode"/>
42 <description>(Optional) Enter the patron's barcode:</description>
46 <textbox id="p_barcode" />
50 <description>Check barcode?</description>
51 <checkbox id="strict_p_barcode" persist="checked"/>
54 <label value="Step 3)" style="font-weight: bold" accesskey="3" control="duedate"/>
55 <description>Enter the item due date:</description>
59 <textbox id="duedate" style="font-family: monospace;"/>
63 <menulist id="duedate_menu">
65 <menuitem label="or choose one of these" value="0"/>
66 <menuitem label="Today + 3 days" value="3"/>
67 <menuitem label="Today + 7 days" value="7"/>
68 <menuitem label="Today + 14 days" value="14"/>
69 <menuitem label="Today + 30 days" value="30"/>
74 <label value="Step 4)" style="font-weight: bold" accesskey="4" control="i_barcode"/>
75 <description>Enter the item barcode:</description>
79 <hbox><textbox id="i_barcode"/><button id="enter" label="Enter" accesskey="E"/></hbox>
83 <description>Check barcode?</description>
84 <checkbox id="strict_i_barcode" persist="checked"/>
87 <label value="Step 5)" style="font-weight: bold"/>
88 <description>Repeat Steps 3 and 4 until done.</description>
91 <label value="Step 6)" style="font-weight: bold"/>
92 <description>Finish</description>
96 <description>Print receipt?</description>
97 <checkbox id="print_receipt" persist="checked"/>
101 <button id="cancel" label="Cancel" />
102 <button id="submit" label="Save these transactions" accesskey="S" />
109 <tree id="checkout_list" flex="1" enableColumnDrag="true"/>
110 <hbox id="checkout_bottom_ui">
112 <button id="delete" label="Delete selected transaction" oncommand="alert('Not Yet Implemented');"/>