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 <listbox id="bill_list" flex="1"/>
21 <button command="cmd_uncheck_all" label="Uncheck All"/>
22 <button command="cmd_check_all" label="Check All"/>
24 <button command="cmd_alternate_view" label="Alternate View" accesskey="V"/>
28 <vbox id="bills_top_ui">
31 <caption label="Summary"/>
33 <columns><column /><column /></columns>
36 <label value="Net Balance" />
38 <textbox id="bill_total_owed" value="" readonly="true" />
41 <label value="- Payment applied" />
43 <textbox id="bill_payment_applied" readonly="true"/>
46 <label value="= New Balance"
47 style="font-family: bold" />
49 <textbox id="bill_new_balance" readonly="true"/>
56 <caption label="Pay Bill"/>
58 <columns><column /><column /></columns>
61 <label value="Payment Type"
62 accesskey="t" control="payment_type" />
63 <menulist id="payment_type">
64 <menupopup id="payment_type_menupopup">
65 <menuitem id="payment_type_menuitem1" label="Cash" value="cash_payment"/>
66 <menuitem id="payment_type_menuitem2" label="Check" value="check_payment"/>
67 <menuitem id="payment_type_menuitem3" label="Credit Card" value="credit_card_payment"/>
69 <menuitem id="payment_type_menuitem4" label="Patron Credit" value="credit_payment" />
71 <menuitem id="payment_type_menuitem5" label="Work" value="work_payment"/>
72 <menuitem id="payment_type_menuitem6" label="Forgive" value="forgive_payment"/>
77 <label value="Payment received" style="font-weight: bold"
78 accesskey="a" control="bill_payment_amount" />
80 <textbox id="bill_payment_amount" style="border: solid thick black"/>
83 <label value="- Payment applied" />
85 <textbox id="bpato" observes="bill_payment_applied" />
88 <label value="= Change" control="bill_change_amount" style="font-weight: bold" />
91 <textbox id="bill_change_amount" readonly="true"/>
94 <row class="hide_patron_credit" hidden="true">
95 <label value="or Patron Credit"
96 style="font-family: bold" />
98 <textbox id="bill_credit_amount" readonly="true"/>
105 <button id="bill_wizard" label="Bill Patron" accesskey="B" command="cmd_bill_wizard"/>
106 <button id="bill_history" label="History" accesskey="H" command="cmd_bill_history"/>
108 <checkbox id="auto_print" label="Auto-Print" persist="checked" checked="true" />
109 <button class="hide_patron_credit" hidden="true" disabled="true" id="change_to_credit" label="Convert Change to Patron Credit" command="cmd_change_to_credit"/>
110 <button id="bill_apply_payment" label="Apply Payment!" accesskey="P" command="cmd_bill_apply_payment"/>