2 <!DOCTYPE overlay PUBLIC "" ""[
3 <!--#include virtual="/opac/locale/en-US/lang.dtd"-->
5 <overlay id="bills_overlay"
6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
8 <script>dump('loading bills_overlay.xul\n');</script>
10 <commandset id="bills_cmds" />
12 <box id="bills_main" flex="1" orient="vertical" class="my_overflow">
13 <vbox id="bills_top_ui" />
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"/>
19 <label id="circulating_hint" hidden="true" style="background: red; color: white" value="Red Items are still Checked Out"/>
21 <listbox id="bill_list" flex="1"/>
23 <button command="cmd_uncheck_all" label="Uncheck All"/>
24 <button command="cmd_check_all" label="Check All"/>
26 <button command="cmd_alternate_view" label="Alternate View" accesskey="V"/>
30 <vbox id="bills_top_ui">
33 <caption label="Summary"/>
35 <columns><column /><column /></columns>
38 <label value="Net Balance" />
40 <textbox id="bill_total_owed" value="" readonly="true" />
43 <label value="- Payment applied" />
45 <textbox id="bill_payment_applied" readonly="true"/>
48 <label value="= New Balance"
49 style="font-family: bold" />
51 <textbox id="bill_new_balance" readonly="true"/>
58 <caption label="Pay Bill"/>
60 <columns><column /><column /></columns>
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"/>
71 <menuitem id="payment_type_menuitem4" label="Patron Credit" value="credit_payment" />
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"/>
80 <label value="Payment received" style="font-weight: bold"
81 accesskey="a" control="bill_payment_amount" />
83 <textbox id="bill_payment_amount" style="border: solid thick black"/>
86 <label value="- Payment applied" />
88 <textbox id="bpato" observes="bill_payment_applied" />
91 <label value="= Change" control="bill_change_amount" style="font-weight: bold" />
94 <textbox id="bill_change_amount" readonly="true"/>
97 <row class="hide_patron_credit" hidden="true">
98 <label value="or Patron Credit"
99 style="font-family: bold" />
101 <textbox id="bill_credit_amount" readonly="true"/>
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"/>
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"/>