[freeside-commits] freeside/httemplate/view cust_bill-logo.cgi, 1.10, 1.11
Mark Wells
mark at wavetail.420.am
Thu Sep 15 03:19:05 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv16658/httemplate/view
Modified Files:
cust_bill-logo.cgi
Log Message:
invoice template and config localization, #12367
Index: cust_bill-logo.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_bill-logo.cgi,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -w -d -r1.10 -r1.11
--- cust_bill-logo.cgi 13 Jul 2009 09:10:17 -0000 1.10
+++ cust_bill-logo.cgi 15 Sep 2011 10:18:57 -0000 1.11
@@ -5,7 +5,7 @@
unless $FS::CurrentUser::CurrentUser->access_right('View invoices')
or $FS::CurrentUser::CurrentUser->access_right('Configuration');
-my $conf = new FS::Conf;
+my $conf;
my $templatename;
my $agentnum = '';
@@ -13,6 +13,7 @@
$templatename = $cgi->param('template') || $cgi->param('templatename');
my $cust_bill = qsearchs('cust_bill', { 'invnum' => $cgi->param('invnum') } )
or die 'unknown invnum';
+ $conf = $cust_bill->conf;
$agentnum = $cust_bill->cust_main->agentnum;
} else {
my($query) = $cgi->keywords;
More information about the freeside-commits
mailing list