diff options
author | ivan <ivan> | 2002-11-22 11:14:04 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-11-22 11:14:04 +0000 |
commit | 37dc3ebec42104e6ba77dae9a4d8dbdf31364678 (patch) | |
tree | d4c9c834359b7c17ef50eb9f796d2435533063fd | |
parent | 071c5ee7dfb91ff3106310cedd002cff0554b9aa (diff) |
add lec billing event
-rw-r--r-- | FS/FS/part_bill_event.pm | 2 | ||||
-rwxr-xr-x | httemplate/edit/part_bill_event.cgi | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/FS/FS/part_bill_event.pm b/FS/FS/part_bill_event.pm index dc10be879..a75a011b0 100644 --- a/FS/FS/part_bill_event.pm +++ b/FS/FS/part_bill_event.pm @@ -124,7 +124,7 @@ sub check { $c =~ /^\s*\$cust_main\->(suspend|cancel|invoicing_list_addpost|bill|collect)\(\);\s*("";)?\s*$/ - or $c =~ /^\s*\$cust_bill\->(comp|realtime_card|realtime_ach|realtime_card_cybercash|batch_card|send)\(\);\s*$/ + or $c =~ /^\s*\$cust_bill\->(comp|realtime_(card|ach|lec)|realtime_card_cybercash|batch_card|send)\(\);\s*$/ or $c =~ /^\s*\$cust_bill\->send\(\'\w+\'\);\s*$/ diff --git a/httemplate/edit/part_bill_event.cgi b/httemplate/edit/part_bill_event.cgi index 30a60ea41..2104b4530 100755 --- a/httemplate/edit/part_bill_event.cgi +++ b/httemplate/edit/part_bill_event.cgi @@ -114,6 +114,12 @@ tie my %events, 'Tie::IxHash', 'weight' => 30, }, + 'realtime-lec' => { + 'name' => 'Run phone bill ("LEC") billing with a <a href="http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment">Business::OnlinePayment</a> realtime gateway', + 'code' => '$cust_bill->realtime_lec();', + 'weight' => 30, + }, + 'batch-card' => { 'name' => 'Add card to the pending credit card batch', 'code' => '$cust_bill->batch_card();', |