diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-07-02 19:52:06 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-07-02 19:52:06 -0700 |
commit | a1183aad7a409d1212c7e3cdb4a9f02e93578d31 (patch) | |
tree | b734561531c961b7b5e0781420ba87db79f1695a | |
parent | 856db1a116ffe0e2d79d572c14abcac488e128bd (diff) |
rt time price plan doesn't pick up all RT time; better to not have it available at all than underbill
-rw-r--r-- | FS/FS/part_pkg/incomplete/rt_time.pm (renamed from FS/FS/part_pkg/rt_time.pm) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_pkg/rt_time.pm b/FS/FS/part_pkg/incomplete/rt_time.pm index 11b7ee85c..f96eba628 100644 --- a/FS/FS/part_pkg/rt_time.pm +++ b/FS/FS/part_pkg/incomplete/rt_time.pm @@ -44,7 +44,7 @@ sub calc_recur { my $charges = 0; $charges += $self->calc_usage(@_); - $charges += $self->calc_recur_Common(@_); + $charges += ($cust_pkg->quantity || 1) * $self->calc_recur_Common(@_); $charges; |