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(); font_helper(); persist_helper(); } 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_checkout.js"/>
32 <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
35 <caption label="&staff.circ.offline_checkout.main.label;"/>
39 <label value="&common.step1.label;" style="font-weight: bold" />
40 <description>&common.check_date.description;</description>
43 <label value="&common.step2.label;" style="font-weight: bold" accesskey="&common.step2.accesskey;" control="p_barcode"/>
44 <description>&staff.circ.offline_checkout.step2.description;</description>
48 <textbox id="p_barcode"/>
52 <description>&common.check_barcode.description;</description>
53 <checkbox id="strict_p_barcode" oils_persist="checked"/>
56 <label value="&common.step3.label;" style="font-weight: bold" accesskey="&common.step3.accesskey;" control="duedate"/>
57 <description>&common.due_date.description;</description>
61 <textbox id="duedate" style="font-family: monospace;"/>
65 <menulist id="duedate_menu">
67 <menuitem label="&common.date_helper;" value="0"/>
68 <menuitem label="&common.date_helper.3_days;" value="3"/>
69 <menuitem label="&common.date_helper.7_days;" value="7"/>
70 <menuitem label="&common.date_helper.14_days;" value="14"/>
71 <menuitem label="&common.date_helper.21_days;" value="21"/>
72 <menuitem label="&common.date_helper.28_days;" value="28"/>
73 <menuitem label="&common.date_helper.30_days;" value="30"/>
78 <label value="&common.step4.label;" style="font-weight: bold" accesskey="&common.step4.accesskey;" control="i_barcode"/>
79 <description>&common.enter_barcode.description;</description>
83 <hbox><textbox id="i_barcode"/><button id="enter" label="&common.enter.label;" accesskey="&common.enter.accesskey;"/></hbox>
87 <hbox id="x_noncat_type"/>
91 <description>&common.check_barcode.description;</description>
92 <checkbox id="strict_i_barcode" oils_persist="checked"/>
95 <label value="&common.step5.label;" style="font-weight: bold"/>
96 <description>&staff.circ.offline_checkout.step5.description;</description>
99 <label value="&common.step6.label;" style="font-weight: bold"/>
100 <description>&staff.circ.offline.finish.description;</description>
104 <description>&staff.circ.offline.print.description;</description>
105 <checkbox id="print_receipt" oils_persist="checked"/>
109 <button id="cancel" hidden="true" label="&common.cancel;" />
110 <button id="submit" label="&common.save_transactions.label;" accesskey="&common.save_transactions.accesskey;" />
117 <tree id="checkout_list" flex="1" enableColumnDrag="true"/>
118 <hbox id="checkout_bottom_ui">
120 <button id="delete" label="&common.delete_transactions.label;" oncommand="alert('&common.unimplemented;');"/>