]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/bill_history.xul
128ce1d27d59973868867e3527a0adfc9b7c9f91
[working/Evergreen.git] / Open-ILS / xul / staff_client / server / patron / bill_history.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_history_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="bill_history.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     <vbox flex="1" class="my_overflow">
39         <groupbox orient="vertical" flex="1">
40             <caption id="caption" label="&staff.patron.bill_history.caption.label;"/>
41             <tabbox flex="1">
42                 <tabs>
43                     <tab label="&staff.patron.bill_history.tab.transactions.label;" accesskey="&staff.patron.bill_history.tab.transactions.accesskey;"/>
44                     <tab label="&staff.patron.bill_history.tab.payments.label;" accesskey="&staff.patron.bill_history.tab.payments.accesskey;" oncommand="payment_history_init();"/>
45                 </tabs>
46                 <tabpanels flex="1">
47                     <tabpanel orient="vertical">
48                         <hbox>
49                             <toolbox flex="1">
50                                 <toolbar>
51                                     <toolbaritem pack="center">
52                                         <hbox>
53                                             <label value='&staff.patron.bill_history.selected_billed.label;' style='font-weight: bold;'/>
54                                             <label id="billed_tally" />
55                                             <label value='&staff.patron.bill_history.selected_paid.label;' style='font-weight: bold;'/>
56                                             <label id="paid_tally" />
57                                         </hbox>
58                                     </toolbaritem>
59                                     <toolbarspring/>
60                                     <toolbaritem>
61                                         <progressmeter id="bills_meter" flex="1" hidden="true" mode="undetermined"/>
62                                     </toolbaritem>
63                                     <toolbaritem> 
64                                         <vbox pack="center">
65                                             <label control="bills_date1"
66                                                 value="&staff.patron.bill_history.bills.start_date.label;" 
67                                                 accesskey="&staff.patron.bill_history.bills.start_date.accesskey;" />
68                                         </vbox>
69                                         <datepicker id="bills_date1" type="popup" />
70                                         <vbox pack="center">
71                                             <label control="bills_date2"
72                                                 value="&staff.patron.bill_history.bills.end_date.label;" 
73                                                 accesskey="&staff.patron.bill_history.bills.end_date.accesskey;" />
74                                         </vbox>
75                                         <datepicker id="bills_date2" type="popup" />
76                                     </toolbaritem>
77                                     <toolbarbutton id="bills_retrieve_btn"
78                                         label="&staff.patron.bill_history.bills.retrieve.label;"
79                                         accesskey="&staff.patron.bill_history.bills.retrieve.accesskey;"
80                                         oncommand="retrieve_mbts_for_list();"
81                                         style="-moz-user-focus: normal" />
82                                 </toolbar>
83                             </toolbox>
84                         </hbox>
85                         <tree id="bill_tree" flex="1" enableColumnDrag="true" seltype="multiple"/>
86                         <hbox>
87                             <hbox id="bill_list_actions" />
88                             <spacer flex="1"/>
89                             <button id="opac" label="&staff.patron.bill_history.show_in_catalog.label;" accesskey="&staff.patron.bill_history.show_in_catalog.accesskey;" hidden="true" oncommand="alert('Not Yet Implemented');"/>
90                             <button id="print" label="&staff.patron.bill_history.print.label;" accesskey="&staff.patron.bill_history.print.accesskey;" hidden="false" oncommand="print_bills();"/>
91                             <button id="add" label="&staff.patron.bill_history.add_billing.label;" disabled="true"/>
92                             <button id="copy_details" disabled="true" label="&staff.patron.items_overlay.sel_copy_details.label;" accesskey="&staff.patron.items_overlay.sel_copy_details.accesskey;" />
93                             <button id="details" label="&staff.patron.bill_history.full_details.label;" disabled="true" accesskey="&staff.patron.bill_history.full_details.accesskey;"/>
94                         </hbox>
95                     </tabpanel>
96                     <tabpanel orient="vertical">
97                         <hbox>
98                             <toolbox flex="1">
99                                 <toolbar>
100                                     <toolbaritem pack="center">
101                                         <hbox>
102                                             <label value='&staff.patron.bill_history.selected_paid.label;' style='font-weight: bold;'/>
103                                             <label id="payments_paid_tally" />
104                                         </hbox>
105                                     </toolbaritem>
106                                     <toolbarspring/>
107                                     <toolbaritem>
108                                         <progressmeter id="payments_meter" flex="1" hidden="true" mode="undetermined"/>
109                                     </toolbaritem>
110                                     <toolbaritem>
111                                         <vbox pack="center">
112                                             <label control="payments_date1"
113                                                 value="&staff.patron.bill_history.payments.start_date.label;" 
114                                                 accesskey="&staff.patron.bill_history.payments.start_date.accesskey;" />
115                                         </vbox>
116                                         <datepicker id="payments_date1" type="popup" />
117                                         <vbox pack="center">
118                                             <label control="payments_date2"
119                                                 value="&staff.patron.bill_history.payments.end_date.label;" 
120                                                 accesskey="&staff.patron.bill_history.payments.end_date.accesskey;" />
121                                         </vbox>
122                                         <datepicker id="payments_date2" type="popup" />
123                                     </toolbaritem>
124                                     <toolbarbutton id="payments_retrieve_btn"
125                                         label="&staff.patron.bill_history.payments.retrieve.label;"
126                                         accesskey="&staff.patron.bill_history.payments.retrieve.accesskey;"
127                                         oncommand="retrieve_payments();"
128                                         style="-moz-user-focus: normal" />
129                                 </toolbar>
130                             </toolbox>
131                         </hbox>
132                         <tree id="payments_tree" flex="1" enableColumnDrag="true" seltype="multiple"/>
133                         <hbox>
134                             <hbox id="payments_list_actions" />
135                             <spacer flex="1"/>
136                             <button id="copy_details_from_payments" disabled="true" label="&staff.patron.items_overlay.sel_copy_details.label;" accesskey="&staff.patron.items_overlay.sel_copy_details.accesskey;" />
137                             <button id="payments_details" label="&staff.patron.bill_history.full_details.label;" disabled="true" accesskey="&staff.patron.bill_history.full_details.accesskey;"/>
138                         </hbox>
139                     </tabpanel>
140                 </tabpanels>
141             </tabbox>
142         </groupbox>
143     </vbox>
144
145 </window>
146