diff options
author | ivan <ivan> | 2001-10-09 23:10:17 +0000 |
---|---|---|
committer | ivan <ivan> | 2001-10-09 23:10:17 +0000 |
commit | 4bbf90e800406ff75a5fed09ba5cd71293cda542 (patch) | |
tree | fd0e96a0b2c0d47f6d3aa2181953341b7eecb254 /bin | |
parent | 2e1ca65dcfcf6a8ef41a10e15e3d20200ffc871a (diff) |
add `unsuspendauto' config file: enable the automatic unsuspension of suspended
packages when a customer's balance due changes from positive to zero or
negative as the result of a payment or credit
add cust_pkg.manual_flag to disable this behaviour per customer package (no UI
to set this yet)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fs-setup | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/fs-setup b/bin/fs-setup index 476b84d87..edfc5ff1c 100755 --- a/bin/fs-setup +++ b/bin/fs-setup @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: fs-setup,v 1.60 2001-10-02 16:00:30 jeff Exp $ +# $Id: fs-setup,v 1.61 2001-10-09 23:10:17 ivan Exp $ #to delay loading dbdef until we're ready BEGIN { $FS::Record::setup_hack = 1; } @@ -481,6 +481,7 @@ sub tables_hash_hack { 'susp', @date_type, 'cancel', @date_type, 'expire', @date_type, + 'manual_flag', 'char', 'NULL', 1, ], 'primary_key' => 'pkgnum', 'unique' => [ [] ], |