diff options
| author | mark <mark> | 2011-08-31 08:27:10 +0000 |
|---|---|---|
| committer | mark <mark> | 2011-08-31 08:27:10 +0000 |
| commit | 1f29b12a16c983f4488058951510ab5785a9cf0a (patch) | |
| tree | 421ebc1c45e79cc8579d2b753317485521d67f1c | |
| parent | dfba562ff61f541ba7c75f2c02b32951b73aa002 (diff) | |
fix payment application with term discounts, #5318
| -rw-r--r-- | FS/FS/cust_pay.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index c80729a4e..3888cd6d0 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -204,7 +204,7 @@ sub insert { } my @pkgs = $cust_main->_discount_pkgs_and_bill; my $cust_bill = shift(@pkgs); - @pkgs = &FS::cust_main::Billing::_discountable_pkgs_at_term($months, @pkgs); + @pkgs = &FS::cust_main::Billing_Discount::_discountable_pkgs_at_term($months, @pkgs); $_->bill($_->last_bill) foreach @pkgs; $error = $cust_main->bill( 'recurring_only' => 1, |
