projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbabe74
)
fix payment application with term discounts, #5318
author
mark
<mark>
Wed, 31 Aug 2011 08:26:29 +0000
(08:26 +0000)
committer
mark
<mark>
Wed, 31 Aug 2011 08:26:29 +0000
(08:26 +0000)
FS/FS/cust_pay.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pay.pm
b/FS/FS/cust_pay.pm
index
c80729a
..
3888cd6
100644
(file)
--- 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,