]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/bills_overlay.xul
0b9bccec2deb59df3efeaa4cfe98c0330c23fb9f
[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_alternate_view" label="Alternate View" accesskey="V"/>
27         </hbox>
28 </box>
29
30 <vbox id="bills_top_ui">
31         <hbox>
32                 <groupbox>
33                         <caption label="Summary"/>
34                         <grid>
35                                 <columns><column /><column /></columns>                                 
36                                 <rows>
37                                         <row>
38                                                 <label value="Net Balance" />
39         
40                                                 <textbox id="bill_total_owed" value="" readonly="true" />
41                                         </row>
42                                         <row>
43                                                 <label value="- Payment applied" />
44                         
45                                                 <textbox id="bill_payment_applied" readonly="true"/>
46                                         </row>
47                                         <row>
48                                                 <label value="= New Balance" 
49                                                         style="font-family: bold" />
50         
51                                                 <textbox id="bill_new_balance" readonly="true"/>
52                                         </row>
53                                 </rows>
54                         </grid>
55                 </groupbox>
56                 <spacer flex="2"/>
57                 <groupbox>
58                         <caption label="Pay Bill"/>
59                         <grid>
60                                 <columns><column /><column /></columns>                                 
61                                 <rows>
62                                         <row>
63                                                 <label value="Payment Type" 
64                                                         accesskey="t" control="payment_type" />
65                                                 <menulist id="payment_type">
66                                                         <menupopup id="payment_type_menupopup">
67                                                                 <menuitem id="payment_type_menuitem1" label="Cash" value="cash_payment"/>
68                                                                 <menuitem id="payment_type_menuitem2" label="Check" value="check_payment"/>
69                                                                 <menuitem id="payment_type_menuitem3" label="Credit Card" value="credit_card_payment"/>
70                                                                 <!--
71                                                                 <menuitem id="payment_type_menuitem4" label="Patron Credit" value="credit_payment" />
72                                                                 -->
73                                                                 <menuitem id="payment_type_menuitem5" label="Work" value="work_payment"/>
74                                                                 <menuitem id="payment_type_menuitem6" label="Forgive" value="forgive_payment"/>
75                                                         </menupopup>
76                                                 </menulist>
77                                         </row>
78                                         <row>
79                                                 <label value="Payment received" style="font-weight: bold"
80                                                         accesskey="a" control="bill_payment_amount" />
81                         
82                                                 <textbox id="bill_payment_amount" style="border: solid thick black"/>
83                                         </row>
84                                         <row>
85                                                 <label value="- Payment applied" />
86                         
87                                                 <textbox id="bpato" observes="bill_payment_applied" />
88                                         </row>
89                                         <row>
90                                                 <label value="= Change" control="bill_change_amount" style="font-weight: bold" />
91         
92                                                 <hbox>
93                                                         <textbox id="bill_change_amount" readonly="true"/>
94                                                 </hbox>
95                                         </row>
96                                         <row class="hide_patron_credit" hidden="true">
97                                                 <label value="or Patron Credit" 
98                                                         style="font-family: bold" />
99         
100                                                 <textbox id="bill_credit_amount" readonly="true"/>
101                                         </row>
102                                 </rows>
103                         </grid>
104                 </groupbox>
105         </hbox>
106         <hbox>
107                 <button id="bill_wizard" label="Bill Patron" accesskey="B" command="cmd_bill_wizard"/>
108                 <button id="bill_history" label="History" accesskey="H" command="cmd_bill_history"/>
109                 <spacer flex="2"/>
110                 <checkbox id="annotate_payment" label="Annotate Payment" persist="checked" checked="false" />
111                 <checkbox id="auto_print" label="Auto-Print" persist="checked" checked="true" />
112                 <button class="hide_patron_credit" hidden="true" disabled="true" id="change_to_credit" label="Convert Change to Patron Credit" command="cmd_change_to_credit"/>
113                 <button id="bill_apply_payment" label="Apply Payment!" accesskey="P" command="cmd_bill_apply_payment"/>
114         </hbox>
115         <label value=" "/>
116 </vbox>
117
118
119 </overlay>