projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad053ec
)
fix agent-specific logos in emailed html invoices
author
ivan
<ivan>
Tue, 30 Jan 2007 23:50:27 +0000
(23:50 +0000)
committer
ivan
<ivan>
Tue, 30 Jan 2007 23:50:27 +0000
(23:50 +0000)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
d55eb43
..
dc45dc3
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-576,11
+576,11
@@
sub generate_email {
my $path = "$FS::UID::conf_dir/conf.$FS::UID::datasrc";
my $file;
my $path = "$FS::UID::conf_dir/conf.$FS::UID::datasrc";
my $file;
- if ( defined($args{'
_template'}) && length($args{'_
template'})
- && -e "$path/logo_". $args{'
_
template'}. ".png"
+ if ( defined($args{'
template'}) && length($args{'
template'})
+ && -e "$path/logo_". $args{'template'}. ".png"
)
{
)
{
- $file = "$path/logo_". $args{'
_
template'}. ".png";
+ $file = "$path/logo_". $args{'template'}. ".png";
} else {
$file = "$path/logo.png";
}
} else {
$file = "$path/logo.png";
}