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

Ivan,,, ivan at wavetail.420.am
Mon Jul 13 02:10:19 PDT 2009


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

Modified Files:
	cust_bill-logo.cgi 
Log Message:
fix old-style agent-virt logo?

Index: cust_bill-logo.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_bill-logo.cgi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- cust_bill-logo.cgi	9 Feb 2009 14:05:31 -0000	1.9
+++ cust_bill-logo.cgi	13 Jul 2009 09:10:17 -0000	1.10
@@ -10,7 +10,7 @@
 my $templatename;
 my $agentnum = '';
 if ( $cgi->param('invnum') ) {
-  $templatename = $cgi->param('templatename');
+  $templatename = $cgi->param('template') || $cgi->param('templatename');
   my $cust_bill = qsearchs('cust_bill', { 'invnum' => $cgi->param('invnum') } )
     or die 'unknown invnum';
   $agentnum = $cust_bill->cust_main->agentnum;



More information about the freeside-commits mailing list