]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/bill2.xul
Toward a visually slimmer billing interface. Sticking it in the Alternate View slot...
[working/Evergreen.git] / Open-ILS / xul / staff_client / server / patron / bill2.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/circ.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="bill_interface_win" width="700" height="550" oils_persist="sizemode width height"
24         onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
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="bill2.js"/>
34
35         <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
36         <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
37
38     <commandset>
39         <command id="opac" disabled="true"/>
40         <command id="voidall" disabled="true"/>
41         <command id="refund" disabled="true"/>
42         <command id="add" disabled="true"/>
43         <command id="details" disabled="true"/>
44     </commandset>
45
46     <popupset>
47         <popup id="actions_popup">
48             <menuitem command="opac" label="&staff.patron.bill_interface.show_in_catalog.label;" accesskey="&staff.patron.bill_interface.show_in_catalog.accesskey;" oncommand="alert('Not Yet Implemented');"/>
49             <menuitem command="voidall" label="Void All Billings" accesskey="" />
50             <menuitem command="refund" label="Refund" accesskey="" />
51             <menuitem command="add" label="&staff.patron.bill_interface.add_billing.label;" accesskey="" />
52             <menuitem command="details" label="&staff.patron.bill_interface.full_details.label;" accesskey="&staff.patron.bill_interface.full_details.accesskey;"/>
53         </popup>
54     </popupset>
55
56         <vbox flex="1" class="my_overflow">
57         <groupbox orient="vertical" flex="1">
58             <caption id="caption" label="&staff.patron.bill_interface.caption.label;"/>
59             <hbox>
60                 <grid>
61                     <columns>
62                         <column />
63                         <column />
64                     </columns>
65                     <rows>
66                         <row>
67                             <spacer />
68                             <label id="owed_label" value="Owed" control="total_owed" class="emphasis1"/>
69                             <label id="billed_label" value="Billed" control="total_billed" class="emphasis2"/>
70                             <label id="paid_label" value="Paid" control="total_paid" class="emphasis2"/>
71                         </row>
72                         <row>
73                             <label id="total_label" value="Total:" control="total_owed" class="emphasis1"/>
74                             <textbox id="total_owed" readonly="true" context="clipboard"/>
75                             <textbox id="total_billed" readonly="true" context="clipboard"/>
76                             <textbox id="total_paid" readonly="true" context="clipboard"/>
77                         </row>
78                         <row>
79                             <label id="checked_label" value="Checked:" control="checked_owed" class="emphasis2"/>
80                             <textbox id="checked_owed" readonly="true" context="clipboard"/>
81                             <textbox id="checked_billed" readonly="true" context="clipboard"/>
82                             <textbox id="checked_paid" readonly="true" context="clipboard"/>
83                         </row>
84                     </rows>
85                 </grid>
86             </hbox>
87             <hbox>
88                 <label value='&staff.patron.bill_interface.voided_this_session.label;' class="emphasis2"/>
89                 <label id="paid_tally" />
90                 <spacer flex="1"/>
91                 <button label="Bill Patron" accesskey="" />
92                 <button label="History" accesskey="" />
93                 <menubar>
94                     <menu label="Actions for Selected Rows" accesskey="A">
95                         <menupopup>
96                             <menuitem command="opac" label="&staff.patron.bill_interface.show_in_catalog.label;" accesskey="&staff.patron.bill_interface.show_in_catalog.accesskey;" oncommand="alert('Not Yet Implemented');"/>
97                             <menuitem command="voidall" label="Void All Billings" accesskey="V" />
98                             <menuitem command="refund" label="Refund" accesskey="R" />
99                             <menuitem command="add" label="&staff.patron.bill_interface.add_billing.label;" accesskey="A" />
100                             <menuitem command="details" label="&staff.patron.bill_interface.full_details.label;" accesskey="&staff.patron.bill_interface.full_details.accesskey;"/>
101                         </menupopup>
102                     </menu>
103                 </menubar>
104
105             </hbox>
106             <tree id="bill_tree" flex="1" enableColumnDrag="true" seltype="multiple" editable="true" context="actions_popup"/>
107             <hbox>
108                 <hbox id="bill_list_actions" />
109                 <button id="print" label="&staff.patron.bill_interface.print.label;" accesskey="&staff.patron.bill_interface.print.accesskey;" oncommand="print_bills();"/>
110                 <spacer flex="1"/>
111             </hbox>
112         </groupbox>
113         </vbox>
114
115 </window>
116