]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/bill_wizard.xul
patch from jamesrf for lp#756880 for Grocery Billing Location in Bill Patron wizard
[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     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
26
27     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
28     <!-- BEHAVIOR -->
29         <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
30         <scripts id="openils_util_scripts"/>
31
32     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
33     <script type="text/javascript" src="/xul/server/patron/bill_wizard.js"/>
34     
35     <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
36
37     <vbox flex="1">
38
39             <label id="patron_name" class="patronNameLarge"/>
40
41             <groupbox orient="vertical" flex="1" id="summary" hidden="true"/>
42
43             <groupbox flex="1">
44                 <caption label="&staff.patron.bill_wizard.create_bill.label;"/>
45                 <grid>
46                     <columns> <column flex="0" /> <column flex="0" /> </columns>
47                     <rows id="page1_rows">
48                         <row><label value="&staff.patron.bill_wizard.location.value;"/><textbox id="wizard_billing_location" disabled="true" context="clipboard" /></row>
49                         <row><label value="&staff.patron.bill_wizard.transaction_type.value;"/>
50                             <menulist id="xact_type">
51                                 <menupopup>
52                                     <menuitem label="&staff.patron.bill_wizard.grocery.label;" value="grocery" selected="true"/>
53                                     <menuitem label="&staff.patron.bill_wizard.circulation.label;" value="circulation" disabled="true"/>
54                                 </menupopup>
55                             </menulist>
56                         </row>
57                         <row><label value="&staff.patron.bill_wizard.billing_type.label;"/>
58                             <hbox id="menu_placeholder"/>
59                         </row>
60                         <row><label value="&staff.patron.bill_wizard.amount.value;"/><textbox id="bill_amount" context="clipboard" /></row>
61                         <row><label value="&staff.patron.bill_wizard.note.value;"/><textbox id="bill_note" multiline="true" rows="5" context="clipboard" /></row>
62                     </rows>
63                 </grid>
64                 <spacer flex="1"/>
65                 <hbox>
66                     <spacer flex="1"/>
67                     <button label="&staff.patron.bill_wizard.cancel.label;" oncommand="window.close()" accesskey="&staff.patron.bill_wizard.cancel.accesskey;"/>
68                     <button label="&staff.patron.bill_wizard.submit.label;" oncommand="patron_bill_finish(); window.close();" accesskey="&staff.patron.bill_wizard.submit.accesskey;"/>
69                 </hbox>
70             </groupbox>
71     </vbox>
72 </window>
73
74