]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/patron/bills_overlay.xul
adding work_payment type and the /strong/ urging of PINES; extending the auth proxy...
[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                                                                 <menuitem id="payment_type_menuitem7" label="Goods" value="goods_payment"/>
76                                                         </menupopup>
77                                                 </menulist>
78                                         </row>
79                                         <row>
80                                                 <label value="Payment received" style="font-weight: bold"
81                                                         accesskey="a" control="bill_payment_amount" />
82                         
83                                                 <textbox id="bill_payment_amount" style="border: solid thick black"/>
84                                         </row>
85                                         <row>
86                                                 <label value="- Payment applied" />
87                         
88                                                 <textbox id="bpato" observes="bill_payment_applied" />
89                                         </row>
90                                         <row>
91                                                 <label value="= Change" control="bill_change_amount" style="font-weight: bold" />
92         
93                                                 <hbox>
94                                                         <textbox id="bill_change_amount" readonly="true"/>
95                                                 </hbox>
96                                         </row>
97                                         <row class="hide_patron_credit" hidden="true">
98                                                 <label value="or Patron Credit" 
99                                                         style="font-family: bold" />
100         
101                                                 <textbox id="bill_credit_amount" readonly="true"/>
102                                         </row>
103                                 </rows>
104                         </grid>
105                 </groupbox>
106         </hbox>
107         <hbox>
108                 <button id="bill_wizard" label="Bill Patron" accesskey="B" command="cmd_bill_wizard"/>
109                 <button id="bill_history" label="History" accesskey="H" command="cmd_bill_history"/>
110                 <spacer flex="2"/>
111                 <checkbox id="annotate_payment" label="Annotate Payment" persist="checked" checked="false" />
112                 <checkbox id="auto_print" label="Auto-Print" persist="checked" checked="true" />
113                 <button class="hide_patron_credit" hidden="true" disabled="true" id="change_to_credit" label="Convert Change to Patron Credit" command="cmd_change_to_credit"/>
114                 <button id="bill_apply_payment" label="Apply Payment!" accesskey="P" command="cmd_bill_apply_payment"/>
115         </hbox>
116         <label value=" "/>
117 </vbox>
118
119
120 </overlay>