From 105c166a23234dd923757a477b4efcda65fb2881 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 18 Mar 2002 20:51:09 +0000 Subject: okay, now you can specify an alternate invoice template, and it'll be auto-createad and added to the list of configuration options. closes: Bug#314 --- httemplate/edit/part_bill_event.cgi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'httemplate/edit') diff --git a/httemplate/edit/part_bill_event.cgi b/httemplate/edit/part_bill_event.cgi index 018fc94a4..324daeb90 100755 --- a/httemplate/edit/part_bill_event.cgi +++ b/httemplate/edit/part_bill_event.cgi @@ -126,6 +126,14 @@ 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, + }, + 'bill' => { 'name' => 'Generate invoices (normally only used with a Late Fee event)', 'code' => '$cust_main->bill();', -- cgit v1.2.1