summaryrefslogtreecommitdiff
path: root/FS/bin
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-06-02 18:35:22 -0700
committerIvan Kohler <ivan@freeside.biz>2014-06-02 18:35:22 -0700
commit8a21d677b660e24677f6c4796f0f07a696ab8332 (patch)
treec358899628e2868f530c1e9851ea827f45ab56b8 /FS/bin
parent3eca5f238e3bd9c316766fd0726fae13a0bf26a3 (diff)
add prepaid-never_renew flag, RT#26274
Diffstat (limited to 'FS/bin')
-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')
)
{