2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/lang.dtd">
3 <overlay id="bills_overlay"
4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6 <script>dump('loading bills_overlay.xul\n');</script>
8 <commandset id="bills_cmds" />
10 <box id="bills_main" flex="1" orient="vertical" class="my_overflow">
11 <vbox id="bills_top_ui" />
12 <listbox id="bill_list" flex="1"/>
15 <vbox id="bills_top_ui">
18 <caption label="Summary"/>
20 <columns><column /><column /></columns>
23 <label value="Total Owed" />
25 <textbox id="bill_total_owed" value="" readonly="true" />
28 <label value="- Payment applied" />
30 <textbox id="bill_payment_applied" readonly="true"/>
33 <label value="= New Balance"
34 style="font-family: bold" />
36 <textbox id="bill_new_balance" readonly="true"/>
43 <caption label="Pay Bill"/>
45 <columns><column /><column /></columns>
48 <label value="Payment Type"
49 accesskey="t" control="payment_type" />
50 <menulist id="payment_type">
51 <menupopup id="payment_type_menupopup">
52 <menuitem id="payment_type_menuitem1" label="Cash" value="cash_payment"/>
53 <menuitem id="payment_type_menuitem2" label="Check" value="check_payment"/>
54 <menuitem id="payment_type_menuitem3" label="Credit Card" value="credit_card_payment"/>
55 <menuitem id="payment_type_menuitem4" label="Patron Credit" value="credit_payment" />
56 <menuitem id="payment_type_menuitem5" label="Work" value="work_payment"/>
57 <menuitem id="payment_type_menuitem6" label="Forgive" value="forgive_payment"/>
62 <label value="Payment received" style="font-weight: bold"
63 accesskey="a" control="bill_payment_amount" />
65 <textbox id="bill_payment_amount" style="border: solid thick black"/>
68 <label value="- Payment applied" />
70 <textbox id="bpato" observes="bill_payment_applied" />
73 <label value="= Change" control="bill_change_amount" />
76 <textbox id="bill_change_amount" />
80 <label value="or Patron Credit"
81 style="font-family: bold" />
83 <textbox id="bill_credit_amount" readonly="true"/>
90 <button id="bill_wizard" label="Bill Patron" accesskey="B" command="cmd_bill_wizard"/>
92 <button id="change_to_credit" label="Convert Change to Patron Credit" command="cmd_change_to_credit"/>
93 <button id="bill_apply_payment" label="Go!" accesskey="G" command="cmd_bill_apply_payment"/>