RT# 30783 Clean up json code for free_addrs
[freeside.git] / FS / FS / cust_main / Billing.pm
index 08b10c1..9cf9b56 100644 (file)
@@ -1052,6 +1052,9 @@ sub _make_lines {
         }
     }
 
+    $lineitems++
+    if $cust_pkg->waive_setup && $part_pkg->can('prorate_setup') && $part_pkg->prorate_setup($cust_pkg, $time);
+
     if ( $cust_pkg->get('setup') ) {
       # don't change it
     } elsif ( $cust_pkg->get('start_date') ) {