diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-06-02 18:35:23 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-06-02 18:35:23 -0700 |
commit | e73969a3243b7d6edf5dd0b2dd8f941e638af19a (patch) | |
tree | 1995173f12be0149ff3aa2f74039ec5785e12391 /FS/bin | |
parent | 32dfc94685512fd871f290a00a8b2807befa994e (diff) |
add prepaid-never_renew flag, RT#26274
Diffstat (limited to 'FS/bin')
-rw-r--r-- | FS/bin/freeside-prepaidd | 6 |
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') ) { |