]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/bill_wizard.xul
LP#1086458: clean up after event listeners in circ/patron interface
[working/Evergreen.git] / Open-ILS / xul / staff_client / server / patron / bill_wizard.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Patron Display -->
4
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
6 <!-- STYLESHEETS -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
9 <?xml-stylesheet href="/xul/server/skin/patron_display.css" type="text/css"?>
10
11 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
12 <!-- LOCALIZATION -->
13 <!DOCTYPE window PUBLIC "" ""[
14     <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
15 ]>
16
17 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
18 <!-- OVERLAYS -->
19 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
20 <?xul-overlay href="/xul/server/patron/bill_summary_overlay.xul"?>
21
22 <window id="patron_bill" title="&staff.patron.bill_wizard.title;"
23     orient="vertical" style="overflow: auto" oils_persist="width height sizemode"
24     onload="try { patron_bill_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }" width="700" height="550"
25     onunload="try { patron_bill_cleanup(); persist_helper_cleanup(); } catch(E) { alert(E); }"
26     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
27
28     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
29     <!-- BEHAVIOR -->
30         <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
31         <scripts id="openils_util_scripts"/>
32
33     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
34     <script type="text/javascript" src="/xul/server/patron/bill_wizard.js"/>
35     
36     <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
37
38     <vbox flex="1">
39
40             <label id="patron_name" class="patronNameLarge"/>
41
42             <groupbox orient="vertical" flex="1" id="summary" hidden="true"/>
43
44             <groupbox flex="1">
45                 <caption label="&staff.patron.bill_wizard.create_bill.label;"/>
46                 <grid>
47                     <columns> <column flex="0" /> <column flex="0" /> </columns>
48                     <rows id="page1_rows">
49                         <row><label value="&staff.patron.bill_wizard.location.value;"/><textbox id="wizard_billing_location" disabled="true" context="clipboard" /></row>
50                         <row><label value="&staff.patron.bill_wizard.transaction_type.value;"/>
51                             <menulist id="xact_type">
52                                 <menupopup>
53                                     <menuitem label="&staff.patron.bill_wizard.grocery.label;" value="grocery" selected="true"/>
54                                     <menuitem label="&staff.patron.bill_wizard.circulation.label;" value="circulation" disabled="true"/>
55                                 </menupopup>
56                             </menulist>
57                         </row>
58                         <row><label value="&staff.patron.bill_wizard.billing_type.label;"/>
59                             <hbox id="menu_placeholder"/>
60                         </row>
61                         <row><label value="&staff.patron.bill_wizard.amount.value;"/><textbox id="bill_amount" context="clipboard" /></row>
62                         <row><label value="&staff.patron.bill_wizard.note.value;"/><textbox id="bill_note" multiline="true" rows="5" context="clipboard" /></row>
63                     </rows>
64                 </grid>
65                 <spacer flex="1"/>
66                 <hbox>
67                     <spacer flex="1"/>
68                     <button label="&staff.patron.bill_wizard.cancel.label;" oncommand="window.close()" accesskey="&staff.patron.bill_wizard.cancel.accesskey;"/>
69                     <button label="&staff.patron.bill_wizard.submit.label;" oncommand="patron_bill_finish(); window.close();" accesskey="&staff.patron.bill_wizard.submit.accesskey;"/>
70                 </hbox>
71             </groupbox>
72     </vbox>
73 </window>
74
75