]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/bills_overlay.xul
459faca43e77365c284d654fdac044c9decab3b7
[Evergreen.git] / Open-ILS / xul / staff_client / server / patron / bills_overlay.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay PUBLIC "" ""[
3         <!--#include virtual="/opac/locale/en-US/lang.dtd"-->
4 ]>
5 <overlay id="bills_overlay" 
6         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
7
8 <script>dump('loading bills_overlay.xul\n');</script>
9
10 <commandset id="bills_cmds" />
11
12 <box id="bills_main" flex="1" orient="vertical" class="my_overflow">
13         <vbox id="bills_top_ui" />
14         <hbox>
15                 <label style="font-weight: bold;" value="Selected Balance:"/><label id="selected_balance"/>
16                 <label style="font-weight: bold;" value="Un-Selected:"/><label id="unselected_balance"/>
17                 <label style="font-weight: bold;" value="Voided:"/><label id="voided_balance"/>
18                 <spacer flex="1"/>
19                 <label id="circulating_hint" hidden="true" style="background: red; color: white" value="Red Items are still Checked Out"/>
20         </hbox>
21         <listbox id="bill_list" flex="1"/>
22         <hbox>
23                 <button command="cmd_uncheck_all" label="Uncheck All"/>
24                 <button command="cmd_check_all" label="Check All"/>
25                 <spacer flex="1"/>
26                 <button command="cmd_print_bills" label="Print Bills" />
27                 <button command="cmd_alternate_view" label="Alternate View" accesskey="V"/>
28         </hbox>
29 </box>
30
31 <vbox id="bills_top_ui">
32         <hbox>
33                 <groupbox>
34                         <caption label="Summary"/>
35                         <grid>
36                                 <columns><column /><column /></columns>                                 
37                                 <rows>
38                                         <row>
39                                                 <label value="Net Balance" />
40         
41                                                 <textbox id="bill_total_owed" value="" readonly="true" />
42                                         </row>
43                                         <row>
44                                                 <label value="- Payment applied" />
45                         
46                                                 <textbox id="bill_payment_applied" readonly="true"/>
47                                         </row>
48                                         <row>
49                                                 <label value="= New Balance" 
50                                                         style="font-family: bold" />
51         
52                                                 <textbox id="bill_new_balance" readonly="true"/>
53                                         </row>
54                                 </rows>
55                         </grid>
56                 </groupbox>
57                 <spacer flex="2"/>
58                 <groupbox>
59                         <caption label="Pay Bill"/>
60                         <grid>
61                                 <columns><column /><column /></columns>                                 
62                                 <rows>
63                                         <row>
64                                                 <label value="Payment Type" 
65                                                         accesskey="t" control="payment_type" />
66                                                 <menulist id="payment_type">
67                                                         <menupopup id="payment_type_menupopup">
68                                                                 <menuitem id="payment_type_menuitem1" label="Cash" value="cash_payment"/>
69                                                                 <menuitem id="payment_type_menuitem2" label="Check" value="check_payment"/>
70                                                                 <menuitem id="payment_type_menuitem3" label="Credit Card" value="credit_card_payment"/>
71                                                                 <!--
72                                                                 <menuitem id="payment_type_menuitem4" label="Patron Credit" value="credit_payment" />
73                                                                 -->
74                                                                 <menuitem id="payment_type_menuitem5" label="Work" value="work_payment"/>
75                                                                 <menuitem id="payment_type_menuitem6" label="Forgive" value="forgive_payment"/>
76                                                                 <menuitem id="payment_type_menuitem7" label="Goods" value="goods_payment"/>
77                                                         </menupopup>
78                                                 </menulist>
79                                         </row>
80                                         <row>
81                                                 <label value="Payment received" style="font-weight: bold"
82                                                         accesskey="a" control="bill_payment_amount" />
83                         
84                                                 <textbox id="bill_payment_amount" style="border: solid thick black"/>
85                                         </row>
86                                         <row>
87                                                 <label value="- Payment applied" />
88                         
89                                                 <textbox id="bpato" observes="bill_payment_applied" />
90                                         </row>
91                                         <row>
92                                                 <label value="= Change" control="bill_change_amount" style="font-weight: bold" />
93         
94                                                 <hbox>
95                                                         <textbox id="bill_change_amount" readonly="true"/>
96                                                 </hbox>
97                                         </row>
98                                         <row class="hide_patron_credit" hidden="true">
99                                                 <label value="or Patron Credit" 
100                                                         style="font-family: bold" />
101         
102                                                 <textbox id="bill_credit_amount" readonly="true"/>
103                                         </row>
104                                 </rows>
105                         </grid>
106                 </groupbox>
107         </hbox>
108         <hbox>
109                 <button id="bill_wizard" label="Bill Patron" accesskey="B" command="cmd_bill_wizard"/>
110                 <button id="bill_history" label="History" accesskey="H" command="cmd_bill_history"/>
111                 <spacer flex="2"/>
112                 <checkbox id="annotate_payment" label="Annotate Payment" persist="checked" checked="false" />
113                 <checkbox id="auto_print" label="Auto-Print" persist="checked" checked="true" />
114                 <button class="hide_patron_credit" hidden="true" disabled="true" id="change_to_credit" label="Convert Change to Patron Credit" command="cmd_change_to_credit"/>
115                 <button id="bill_apply_payment" label="Apply Payment!" accesskey="P" command="cmd_bill_apply_payment"/>
116         </hbox>
117         <label value=" "/>
118 </vbox>
119
120
121 </overlay>