referral credits overhaul, use billing events, agents can self-configure, limit to...
authorivan <ivan>
Sat, 22 Nov 2008 22:17:28 +0000 (22:17 +0000)
committerivan <ivan>
Sat, 22 Nov 2008 22:17:28 +0000 (22:17 +0000)
commit58f99accce35aa76abe9ff852f6c6ee84e8ce712
tree4403996ba0953f5826d5b84b99d9f99f6629683e
parent1d84feb7fe821b547e211ad03e5c200c8f218797
referral credits overhaul, use billing events, agents can self-configure, limit to once-per-customer, depend on any time from referred package, referred customer payment, specific packages, partial staged credits, RT#3983
47 files changed:
FS/FS/Conf.pm
FS/FS/Schema.pm
FS/FS/cust_credit.pm
FS/FS/cust_main.pm
FS/FS/cust_pkg.pm
FS/FS/part_event.pm
FS/FS/part_event/Action/addpost.pm
FS/FS/part_event/Action/apply.pm
FS/FS/part_event/Action/bill.pm
FS/FS/part_event/Action/cancel.pm
FS/FS/part_event/Action/collect.pm
FS/FS/part_event/Action/cust_bill_batch.pm
FS/FS/part_event/Action/cust_bill_comp.pm
FS/FS/part_event/Action/cust_bill_fee_percent.pm
FS/FS/part_event/Action/cust_bill_realtime_card.pm
FS/FS/part_event/Action/cust_bill_realtime_check.pm
FS/FS/part_event/Action/cust_bill_realtime_lec.pm
FS/FS/part_event/Action/cust_bill_send.pm
FS/FS/part_event/Action/cust_bill_send_agent.pm
FS/FS/part_event/Action/cust_bill_send_alternate.pm
FS/FS/part_event/Action/cust_bill_send_csv_ftp.pm
FS/FS/part_event/Action/cust_bill_send_if_newest.pm
FS/FS/part_event/Action/cust_bill_spool_csv.pm
FS/FS/part_event/Action/cust_bill_suspend_if_balance.pm
FS/FS/part_event/Action/fee.pm
FS/FS/part_event/Action/pkg_referral_credit.pm [new file with mode: 0644]
FS/FS/part_event/Action/pkg_referral_credit_pkg.pm [new file with mode: 0644]
FS/FS/part_event/Action/suspend.pm
FS/FS/part_event/Action/suspend_if_pkgpart.pm
FS/FS/part_event/Action/suspend_unless_pkgpart.pm
FS/FS/part_event/Condition.pm
FS/FS/part_event/Condition/balance.pm
FS/FS/part_event/Condition/balance_age.pm
FS/FS/part_event/Condition/balance_under.pm
FS/FS/part_event/Condition/cust_bill_age.pm
FS/FS/part_event/Condition/cust_bill_has_service.pm
FS/FS/part_event/Condition/cust_bill_owed.pm
FS/FS/part_event/Condition/cust_bill_owed_under.pm
FS/FS/part_event/Condition/cust_payments.pm [new file with mode: 0644]
FS/FS/part_event/Condition/has_referral_custnum.pm [new file with mode: 0644]
FS/FS/part_event/Condition/once_percust.pm [new file with mode: 0644]
FS/FS/part_event/Condition/pkg_age.pm [new file with mode: 0644]
FS/FS/part_event/Condition/pkg_notchange.pm [new file with mode: 0644]
FS/FS/part_event/Condition/pkg_pkgpart.pm [new file with mode: 0644]
FS/FS/part_event/Condition/pkg_recurring.pm [new file with mode: 0644]
FS/FS/part_event/Condition/pkg_unless_pkgpart.pm [new file with mode: 0644]
FS/FS/part_pkg/flat.pm