[freeside-commits] branch FREESIDE_4_BRANCH updated. 078809276a1904c19fd015423a4d2b94f80fbdca
Christopher Burger
burgerc at freeside.biz
Tue Dec 12 06:42:16 PST 2017
The branch, FREESIDE_4_BRANCH has been updated
via 078809276a1904c19fd015423a4d2b94f80fbdca (commit)
from 59066550d19fb8797f20bd989f9c5af06b42f0f6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 078809276a1904c19fd015423a4d2b94f80fbdca
Author: Christopher Burger <burgerc at freeside.biz>
Date: Mon Dec 11 17:20:56 2017 -0500
RT# 78681 - fixed error where setup fee was being charged when prorate_defer_bill was set even though wave setup fee was selected.
diff --git a/FS/FS/part_pkg/prorate_Mixin.pm b/FS/FS/part_pkg/prorate_Mixin.pm
index beae6d805..5690bbf29 100644
--- a/FS/FS/part_pkg/prorate_Mixin.pm
+++ b/FS/FS/part_pkg/prorate_Mixin.pm
@@ -107,7 +107,8 @@ sub calc_prorate {
)
{
#warn "[calc_prorate] #".$cust_pkg->pkgnum.": running deferred setup\n";
- $param->{'setup_fee'} = $self->calc_setup($cust_pkg, $$sdate, $details);
+ $param->{'setup_fee'} = $self->calc_setup($cust_pkg, $$sdate, $details)
+ unless $cust_pkg->{'Hash'}->{'waive_setup'};
$mnow = $cust_pkg->setup;
$add_period = 1;
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_pkg/prorate_Mixin.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list