summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2004-06-01 10:53:10 +0000
committerivan <ivan>2004-06-01 10:53:10 +0000
commitfc0e102e2e843e991f919eba9aba3429c4602ccf (patch)
tree356f85717c4fbcef0b1837171d8d8dc4f7ea7687 /httemplate/edit
parentf492eacdbeb2767aa3ca4390d5c8c753b4573ae2 (diff)
per-agent invoice_from addresses
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/part_bill_event.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/edit/part_bill_event.cgi b/httemplate/edit/part_bill_event.cgi
index d0fa973bf..3985eaf57 100755
--- a/httemplate/edit/part_bill_event.cgi
+++ b/httemplate/edit/part_bill_event.cgi
@@ -179,7 +179,7 @@ tie my %events, 'Tie::IxHash',
'send_agent' => {
'name' => 'Send invoice (email/print) ',
- 'code' => '$cust_bill->send(\'%%%agent_templatename%%%\', %%%agentnum%%%);',
+ 'code' => '$cust_bill->send(\'%%%agent_templatename%%%\', %%%agentnum%%%, \'%%%agent_invoice_from%%%\');',
'html' => sub {
'<TABLE BORDER=0>
<TR>
@@ -191,6 +191,10 @@ tie my %events, 'Tie::IxHash',
<TD>
<INPUT TYPE="text" NAME="agent_templatename" VALUE="%%%agent_templatename%%%">
</TD>
+ <TD ALIGN="right">email From: </TD>
+ <TD>
+ <INPUT TYPE="text" NAME="agent_invoice_from" VALUE="%%%agent_invoice_from%%%">
+ </TD>
</TR>
</TABLE>';
},