summaryrefslogtreecommitdiff
path: root/FS/FS/part_bill_event.pm
diff options
context:
space:
mode:
authorivan <ivan>2005-12-25 00:52:27 +0000
committerivan <ivan>2005-12-25 00:52:27 +0000
commit3213e7c1e281dbdba8baa980028482df3b9c1873 (patch)
tree7096d01bf15dafbdfdc707d28ee6d2d88761acad /FS/FS/part_bill_event.pm
parent9cc2ba7cbf26eefbd1d01a2f98b47a24a8766428 (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.pm2
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";