diff options
author | ivan <ivan> | 2005-12-25 00:52:27 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-12-25 00:52:27 +0000 |
commit | 3213e7c1e281dbdba8baa980028482df3b9c1873 (patch) | |
tree | 7096d01bf15dafbdfdc707d28ee6d2d88761acad /FS/FS/part_bill_event.pm | |
parent | 9cc2ba7cbf26eefbd1d01a2f98b47a24a8766428 (diff) |
add invoice event to suspend only when greater than N amount
Diffstat (limited to 'FS/FS/part_bill_event.pm')
-rw-r--r-- | FS/FS/part_bill_event.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/part_bill_event.pm b/FS/FS/part_bill_event.pm index 573b21b..8143e34 100644 --- a/FS/FS/part_bill_event.pm +++ b/FS/FS/part_bill_event.pm @@ -134,6 +134,8 @@ sub check { or $c =~ /^\s*\$cust_main\->suspend_(if|unless)_pkgpart\([\d\,\s]*\);\s*$/ + or $c =~ /^\s*\$cust_bill\->cust_suspend_if_balance_over\([\d\.\s]*\);\s*$/ + or do { #log return "illegal eventcode: $c"; |