next;
}
- if ( $cust_main->total_unapplied_payments > 0
- || $cust_main->total_unapplied_credits > 0
+ if ( ( $cust_main->total_unapplied_payments > 0
+ || $cust_main->total_unapplied_credits > 0
+ )
+ && ! FS::Conf->new->exists('prepaid-never_renew')
)
{