[freeside-commits] freeside/FS/FS cust_bill.pm,1.133,1.134
Ivan,,,
ivan at wavetail.420.am
Sat Jul 9 08:41:20 PDT 2005
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv17116
Modified Files:
cust_bill.pm
Log Message:
fix silly bug preventing html invoicing from finding their logo
Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- cust_bill.pm 9 Jul 2005 10:36:42 -0000 1.133
+++ cust_bill.pm 9 Jul 2005 15:41:18 -0000 1.134
@@ -417,7 +417,10 @@
my $path = "$FS::UID::conf_dir/conf.$FS::UID::datasrc";
my $file;
- if ( [ -e "$path/logo_". $args{'_template'}. ".png" ] ) {
+ if ( length($args{'_template'})
+ && -e "$path/logo_". $args{'_template'}. ".png"
+ )
+ {
$file = "$path/logo_". $args{'_template'}. ".png";
} else {
$file = "$path/logo.png";
@@ -553,8 +556,8 @@
=item send [ TEMPLATENAME [ , AGENTNUM [ , INVOICE_FROM ] ] ]
-Sends this invoice to the destinations configured for this customer: send
-emails or print. See L<FS::cust_main_invoice>.
+Sends this invoice to the destinations configured for this customer: sends
+email, prints and/or faxes. See L<FS::cust_main_invoice>.
TEMPLATENAME, if specified, is the name of a suffix for alternate invoices.
More information about the freeside-commits
mailing list