+<!-- mason kludge -->
<%
if ( $cgi->param('eventpart') && $cgi->param('eventpart') =~ /^(\d+)$/ ) {
'addpost' => {
'name' => 'Add postal invoicing',
'code' => '$cust_main->invoicing_list_addpost(); "";',
- 'pad' => 20,
+ 'weight' => 20,
},
'comp' => {
'weight' => 50,
},
+ 'send_alternate' => {
+ 'name' => 'Send invoice (email/print) with alternate template',
+ 'code' => '$cust_bill->send(\'%%%templatename%%%\');',
+ 'html' =>
+ '<INPUT TYPE="text" NAME="templatename" VALUE="%%%templatename%%%">',
+ 'weight' => 50,
+ },
+
'bill' => {
'name' => 'Generate invoices (normally only used with a <i>Late Fee</i> event)',
'code' => '$cust_main->bill();',