[freeside-commits] freeside/httemplate/view cust_bill-logo.cgi, 1.10, 1.10.8.1

Mark Wells mark at wavetail.420.am
Thu Sep 15 17:15:50 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv30348/httemplate/view

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	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.10.8.1
diff -u -w -d -r1.10 -r1.10.8.1
--- cust_bill-logo.cgi	13 Jul 2009 09:10:17 -0000	1.10
+++ cust_bill-logo.cgi	16 Sep 2011 00:15:48 -0000	1.10.8.1
@@ -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