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_print_bills" label="Print Bills" />
27 <button command="cmd_alternate_view" label="Alternate View" accesskey="V"/>
31 <vbox id="bills_top_ui">
34 <caption label="Summary"/>
36 <columns><column /><column /></columns>
39 <label value="Net Balance" />
41 <textbox id="bill_total_owed" value="" readonly="true" />
44 <label value="- Payment applied" />
46 <textbox id="bill_payment_applied" readonly="true"/>
49 <label value="= New Balance"
50 style="font-family: bold" />
52 <textbox id="bill_new_balance" readonly="true"/>
59 <caption label="Pay Bill"/>
61 <columns><column /><column /></columns>
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"/>
72 <menuitem id="payment_type_menuitem4" label="Patron Credit" value="credit_payment" />
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"/>
81 <label value="Payment received" style="font-weight: bold"
82 accesskey="a" control="bill_payment_amount" />
84 <textbox id="bill_payment_amount" style="border: solid thick black"/>
87 <label value="- Payment applied" />
89 <textbox id="bpato" observes="bill_payment_applied" />
92 <label value="= Change" control="bill_change_amount" style="font-weight: bold" />
95 <textbox id="bill_change_amount" readonly="true"/>
98 <row class="hide_patron_credit" hidden="true">
99 <label value="or Patron Credit"
100 style="font-family: bold" />
102 <textbox id="bill_credit_amount" readonly="true"/>
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"/>
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"/>