summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-05-15 09:44:53 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-05-15 09:44:53 -0400
commit8286d9921bf88afd0ddd367f3894f12fc2347f09 (patch)
tree0f41f5605c098973ed0799f2604d28b551b3c772
parent93cd3a291f74744fbba0a6eafda142ed069ce58e (diff)
Revert "RT# 77964 - Added check for prorate package in billing.pm fix for V3 backport"
This reverts commit fad6e3456699062c05301bff45243a88df93e312.
-rw-r--r--FS/FS/cust_main/Billing.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/FS/FS/cust_main/Billing.pm b/FS/FS/cust_main/Billing.pm
index 8a6056b67..debff8a53 100644
--- a/FS/FS/cust_main/Billing.pm
+++ b/FS/FS/cust_main/Billing.pm
@@ -1253,11 +1253,6 @@ sub _make_lines {
}
}
- if ($cust_pkg->waive_setup && $part_pkg->plan eq "prorate") {
- $lineitems++;
- $setup = 0 if $part_pkg->prorate_setup($cust_pkg, $time);
- }
-
$cust_pkg->setfield('setup', $time)
unless $cust_pkg->setup;
#do need it, but it won't get written to the db