summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2002-03-18 20:51:09 +0000
committerivan <ivan>2002-03-18 20:51:09 +0000
commit105c166a23234dd923757a477b4efcda65fb2881 (patch)
treea3fbc319b4446f09dce3544241154870c83acd52 /httemplate/edit
parentd4dabf21a2c9022dfb7023fb5df49f1536b2f29a (diff)
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
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/part_bill_event.cgi8
1 files changed, 8 insertions, 0 deletions
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' =>
+ '<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();',