X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fedit%2Fpart_bill_event.cgi;h=25d9bc0ffd72f3acf7ec442047d6f3aa4249b76d;hb=22a35047ecdffff80110e06cc08fc84f9ddba9b0;hp=c41cfe9cfa1b57a20bb93c367fb10d55100bbfca;hpb=c7ff9a58360788ce776022606c4ec3496062013b;p=freeside.git
diff --git a/httemplate/edit/part_bill_event.cgi b/httemplate/edit/part_bill_event.cgi
index c41cfe9cf..25d9bc0ff 100755
--- a/httemplate/edit/part_bill_event.cgi
+++ b/httemplate/edit/part_bill_event.cgi
@@ -1,5 +1,3 @@
-
-
<%
if ( $cgi->param('eventpart') && $cgi->param('eventpart') =~ /^(\d+)$/ ) {
@@ -45,7 +43,7 @@ END
for (qw(CARD BILL COMP)) {
print qq!";
+ print " SELECTED>$_";
} else {
print ">$_";
}
@@ -93,32 +91,56 @@ tie my %events, 'Tie::IxHash',
'addpost' => {
'name' => 'Add postal invoicing',
- 'code' => '$cust_main->invoicing_list_addpost();',
+ 'code' => '$cust_main->invoicing_list_addpost(); "";',
'pad' => 20,
},
+ 'comp' => {
+ 'name' => 'Pay invoice with a complimentary "payment"',
+ 'code' => '$cust_bill->comp();',
+ 'weight' => 30,
+ },
+
+ 'realtime-card' => {
+ 'name' => 'Run card with a Business::OnlinePayment realtime gateway',
+ 'code' => '$cust_bill->realtime_card();',
+ 'weight' => 30,
+ },
+
+ 'realtime-card-cybercash' => {
+ 'name' => '(deprecated) Run card with CyberCash CashRegister realtime gateway',
+ 'code' => '$cust_bill->realtime_card_cybercash();',
+ 'weight' => 30,
+ },
+
+ 'batch-card' => {
+ 'name' => 'Add card to the pending credit card batch',
+ 'code' => '$cust_bill->batch_card();',
+ 'weight' => 40,
+ },
+
'send' => {
'name' => 'Send invoice (email/print)',
- 'code' => '',
- 'weight' => 30
+ 'code' => '$cust_bill->send();',
+ 'weight' => 50,
},
'bill' => {
- 'name' => 'Generate invoices',
+ 'name' => 'Generate invoices (normally only used with a Late Fee event)',
'code' => '$cust_main->bill();',
- 'weight' => 40,
+ 'weight' => 60,
},
'apply' => {
'name' => 'Apply unapplied payments and credits',
- 'code' => '$cust_main->apply_payments; $cust_main->apply_credits;',
- 'weight' => 50,
+ 'code' => '$cust_main->apply_payments; $cust_main->apply_credits; "";',
+ 'weight' => 70,
},
'collect' => {
- 'name' => 'Collect on invoices',
+ 'name' => 'Collect on invoices (normally only used with a Late Fee and Generate Invoice events)',
'code' => '$cust_main->collect();',
- 'weight' => 60,
+ 'weight' => 80,
},
;