]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/bill_wizard.xul
split the javascript out of the xul here
[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="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/${locale}/lang.dtd"-->
16 ]>
17
18 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
19 <!-- OVERLAYS -->
20 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
21 <?xul-overlay href="/xul/server/patron/bill_summary_overlay.xul"?>
22
23 <window id="patron_bill" title="&staff.patron.bill_wizard.title;"
24         orient="vertical" style="overflow: auto"
25         onload="try { patron_bill_init(); font_helper(); } catch(E) { alert(E); }" width="700" height="550"
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="commonStrings" src="/xul/server/locale/<!--#echo var='locale'-->/common.properties" />
37         <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
38
39         <vbox flex="1">
40
41                         <label id="patron_name" class="patronNameLarge"/>
42
43                         <groupbox orient="vertical" flex="1" id="summary" hidden="true"/>
44
45                         <groupbox flex="1">
46                                 <caption label="&staff.patron.bill_wizard.create_bill.label;"/>
47                                 <grid>
48                                         <columns> <column flex="0" /> <column flex="0" /> </columns>
49                                         <rows id="page1_rows">
50                                                 <row><label value="&staff.patron.bill_wizard.location.value;"/><textbox id="billing_location" disabled="true" /></row>
51                                                 <row><label value="&staff.patron.bill_wizard.transaction_type.value;"/>
52                                                         <menulist id="xact_type">
53                                                                 <menupopup>
54                                                                         <menuitem label="&staff.patron.bill_wizard.grocery.label;" value="grocery" selected="true"/>
55                                                                         <menuitem label="&staff.patron.bill_wizard.circulation.label;" value="circulation" disabled="true"/>
56                                                                 </menupopup>
57                                                         </menulist>
58                                                 </row>
59                                                 <row><label value="&staff.patron.bill_wizard.billing_type.label;"/>
60                                                         <hbox id="menu_placeholder"/>
61                                                 </row>
62                                                 <row><label value="&staff.patron.bill_wizard.amount.value;"/><textbox id="bill_amount" /></row>
63                                                 <row><label value="&staff.patron.bill_wizard.note.value;"/><textbox id="bill_note" multiline="true" rows="5" /></row>
64                                         </rows>
65                                 </grid>
66                                 <spacer flex="1"/>
67                                 <hbox>
68                                         <spacer flex="1"/>
69                                         <button label="&staff.patron.bill_wizard.cancel.label;" oncommand="window.close()" accesskey="&staff.patron.bill_wizard.cancel.accesskey;"/>
70                                         <button label="&staff.patron.bill_wizard.submit.label;" oncommand="patron_bill_finish(); window.close();" accesskey="&staff.patron.bill_wizard.submit.accesskey;"/>
71                                 </hbox>
72                         </groupbox>
73         </vbox>
74 </window>
75
76