From 37dc3ebec42104e6ba77dae9a4d8dbdf31364678 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 22 Nov 2002 11:14:04 +0000 Subject: [PATCH] add lec billing event --- FS/FS/part_bill_event.pm | 2 +- httemplate/edit/part_bill_event.cgi | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 Business::OnlinePayment 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();', -- 2.11.0