X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fpart_bill_event.cgi;h=48ed7916b76f2882f5c530d661b9dc82ebb98cf2;hp=324daeb90fd89fd9cb1cb5984dee0515cc8bc7d1;hb=a800fde5d31fb9b9cfe46b1ce2f68ea8e56bff53;hpb=105c166a23234dd923757a477b4efcda65fb2881 diff --git a/httemplate/edit/part_bill_event.cgi b/httemplate/edit/part_bill_event.cgi index 324daeb90..48ed7916b 100755 --- a/httemplate/edit/part_bill_event.cgi +++ b/httemplate/edit/part_bill_event.cgi @@ -20,7 +20,7 @@ if ( $query && $query =~ /^(\d+)$/ ) { } else { $part_bill_event ||= new FS::part_bill_event {}; } -$action ||= $part_bill_event->pkgpart ? 'Edit' : 'Add'; +$action ||= $part_bill_event->eventpart ? 'Edit' : 'Add'; my $hashref = $part_bill_event->hashref; print header("$action Invoice Event Definition", menubar( @@ -41,7 +41,7 @@ print ntable("#cccccc",2), <Payby'. + ''. + 'FTP username: '. + ''. + ''. + 'FTP password: '. + ''. + ''. + 'FTP directory: '. + ''. + ''. + '', + 'weight' => 50, + }, + 'bill' => { 'name' => 'Generate invoices (normally only used with a Late Fee event)', 'code' => '$cust_main->bill();',