summaryrefslogtreecommitdiff
path: root/FS/FS/part_bill_event.pm
diff options
context:
space:
mode:
authorivan <ivan>2004-12-11 20:41:38 +0000
committerivan <ivan>2004-12-11 20:41:38 +0000
commit08d3918e91ee3438af37345c94a002dec77fe9bb (patch)
treecfabf2c9314f2c7d3241440f4303e2317e4d20fd /FS/FS/part_bill_event.pm
parentc21b6e69583bec632de7fcd340c29982c868f73d (diff)
add 'send_if_newest' invoice event, closes: Bug#977
Diffstat (limited to 'FS/FS/part_bill_event.pm')
-rw-r--r--FS/FS/part_bill_event.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_bill_event.pm b/FS/FS/part_bill_event.pm
index f90882817..7dfea5066 100644
--- a/FS/FS/part_bill_event.pm
+++ b/FS/FS/part_bill_event.pm
@@ -126,7 +126,7 @@ sub check {
or $c =~ /^\s*\$cust_bill\->(comp|realtime_(card|ach|lec)|batch_card|send)\(\);\s*$/
- or $c =~ /^\s*\$cust_bill\->send\(\'[\w\-\s]+\'\s*(,\s*\d+\s*,\s*'[\w\@\.\-\+]*'\s*)?\);\s*$/
+ or $c =~ /^\s*\$cust_bill\->send(_if_newest)?\(\'[\w\-\s]+\'\s*(,\s*\d+\s*,\s*'[\w\@\.\-\+]*'\s*)?\);\s*$/
or $c =~ /^\s*\$cust_main\->apply_payments; \$cust_main->apply_credits; "";\s*$/