2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Patron Display -->
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
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"?>
12 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
14 <!DOCTYPE window PUBLIC "" ""[
15 <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
18 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
20 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
21 <!--<?xul-overlay href="/xul/server/patron/bill_summary_overlay.xul"?>-->
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">
27 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
29 <script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
30 <scripts id="openils_util_scripts"/>
32 <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
33 <script type="text/javascript" src="bill_history.js"/>
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"/>
38 <vbox flex="1" class="my_overflow">
39 <groupbox orient="vertical" flex="1">
40 <caption id="caption" label="&staff.patron.bill_history.caption.label;"/>
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();"/>
47 <tabpanel orient="vertical">
51 <toolbaritem pack="center">
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" />
61 <progressmeter id="bills_meter" flex="1" hidden="true" mode="undetermined"/>
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;" />
69 <datepicker id="bills_date1" type="popup" />
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;" />
75 <datepicker id="bills_date2" type="popup" />
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" />
85 <tree id="bill_tree" flex="1" enableColumnDrag="true" seltype="multiple"/>
87 <hbox id="bill_list_actions" />
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;"/>
96 <tabpanel orient="vertical">
100 <toolbaritem pack="center">
102 <label value='&staff.patron.bill_history.selected_paid.label;' style='font-weight: bold;'/>
103 <label id="payments_paid_tally" />
108 <progressmeter id="payments_meter" flex="1" hidden="true" mode="undetermined"/>
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;" />
116 <datepicker id="payments_date1" type="popup" />
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;" />
122 <datepicker id="payments_date2" type="popup" />
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" />
132 <tree id="payments_tree" flex="1" enableColumnDrag="true" seltype="multiple"/>
134 <hbox id="payments_list_actions" />
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;"/>