projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f14d53f
)
fix old-style agent-virt logo?
author
ivan
<ivan>
Mon, 13 Jul 2009 09:10:17 +0000
(09:10 +0000)
committer
ivan
<ivan>
Mon, 13 Jul 2009 09:10:17 +0000
(09:10 +0000)
httemplate/view/cust_bill-logo.cgi
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_bill-logo.cgi
b/httemplate/view/cust_bill-logo.cgi
index
09ac9a7
..
ad2ff54
100755
(executable)
--- a/
httemplate/view/cust_bill-logo.cgi
+++ b/
httemplate/view/cust_bill-logo.cgi
@@
-10,7
+10,7
@@
my $conf = new FS::Conf;
my $templatename;
my $agentnum = '';
if ( $cgi->param('invnum') ) {
my $templatename;
my $agentnum = '';
if ( $cgi->param('invnum') ) {
- $templatename = $cgi->param('templatename');
+ $templatename = $cgi->param('template
') || $cgi->param('template
name');
my $cust_bill = qsearchs('cust_bill', { 'invnum' => $cgi->param('invnum') } )
or die 'unknown invnum';
$agentnum = $cust_bill->cust_main->agentnum;
my $cust_bill = qsearchs('cust_bill', { 'invnum' => $cgi->param('invnum') } )
or die 'unknown invnum';
$agentnum = $cust_bill->cust_main->agentnum;