X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpart_bill_event.cgi;h=1b20ef1d28acebac3c69e0ae20dcd3c9f33eeb6c;hb=c4d2226e0cc4bdd6d9f689b061b5f4f5b9609b0b;hp=70e953ca0b094b0d4177e0811f00deac66e85fe4;hpb=8cbba53b09bb5b09355316b7ff8948500c3b4b76;p=freeside.git diff --git a/httemplate/edit/part_bill_event.cgi b/httemplate/edit/part_bill_event.cgi index 70e953ca0..1b20ef1d2 100755 --- a/httemplate/edit/part_bill_event.cgi +++ b/httemplate/edit/part_bill_event.cgi @@ -1,5 +1,4 @@ - - + <% if ( $cgi->param('eventpart') && $cgi->param('eventpart') =~ /^(\d+)$/ ) { @@ -45,7 +44,7 @@ END for (qw(CARD BILL COMP)) { print qq!"; + print " SELECTED>$_"; } else { print ">$_"; } @@ -93,8 +92,8 @@ tie my %events, 'Tie::IxHash', 'addpost' => { 'name' => 'Add postal invoicing', - 'code' => '$cust_main->invoicing_list_addpost(); '';', - 'pad' => 20, + 'code' => '$cust_main->invoicing_list_addpost(); "";', + 'weight' => 20, }, 'comp' => { @@ -109,12 +108,6 @@ tie my %events, 'Tie::IxHash', '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();', @@ -127,6 +120,38 @@ tie my %events, 'Tie::IxHash', 'weight' => 50, }, + 'send_alternate' => { + 'name' => 'Send invoice (email/print) with alternate template', + 'code' => '$cust_bill->send(\'%%%templatename%%%\');', + 'html' => + '', + 'weight' => 50, + }, + + 'send_csv_ftp' => { + 'name' => 'Upload CSV invoice data to an FTP server', + 'code' => '$cust_bill->send_csv( protocol => \'ftp\', + server => \'%%%ftpserver%%%\', + username => \'%%%ftpusername%%%\', + password => \'%%%ftppassword%%%\', + dir => \'%%%ftpdir%%%\' );', + 'html' => + ''. + ''. + ''. + ''. + ''. + ''. + '
FTP server: '. + '
FTP username: '. + ''. + '
FTP password: '. + ''. + '
FTP directory: '. + '
', + 'weight' => 50, + }, + 'bill' => { 'name' => 'Generate invoices (normally only used with a Late Fee event)', 'code' => '$cust_main->bill();', @@ -135,7 +160,7 @@ tie my %events, 'Tie::IxHash', 'apply' => { 'name' => 'Apply unapplied payments and credits', - 'code' => '$cust_main->apply_payments; $cust_main->apply_credits; '';', + 'code' => '$cust_main->apply_payments; $cust_main->apply_credits; "";', 'weight' => 70, },