summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-prepaidd
diff options
context:
space:
mode:
Diffstat (limited to 'FS/bin/freeside-prepaidd')
-rw-r--r--FS/bin/freeside-prepaidd6
1 files changed, 4 insertions, 2 deletions
diff --git a/FS/bin/freeside-prepaidd b/FS/bin/freeside-prepaidd
index c095ceee4..fe5b54581 100644
--- a/FS/bin/freeside-prepaidd
+++ b/FS/bin/freeside-prepaidd
@@ -49,8 +49,10 @@ while (1) {
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')
)
{