freeside/httemplate/view cust_bill-pdf.cgi,1.5,1.6 cust_bill-ps.cgi,1.2,1.3

ivan ivan at pouncequick.420.am
Tue Oct 5 06:43:50 PDT 2004


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory pouncequick:/tmp/cvs-serv4110

Modified Files:
	cust_bill-pdf.cgi cust_bill-ps.cgi 
Log Message:
links to show alternate invoices also

Index: cust_bill-ps.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_bill-ps.cgi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cust_bill-ps.cgi	5 Oct 2004 13:35:41 -0000	1.2
+++ cust_bill-ps.cgi	5 Oct 2004 13:43:45 -0000	1.3
@@ -3,7 +3,7 @@
 #untaint invnum
 my($query) = $cgi->keywords;
 $query =~ /^((.+)-)?(\d+)$/;
-my $templatename = $1;
+my $templatename = $2;
 my $invnum = $3;
 
 my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum});

Index: cust_bill-pdf.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_bill-pdf.cgi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cust_bill-pdf.cgi	5 Oct 2004 13:35:41 -0000	1.5
+++ cust_bill-pdf.cgi	5 Oct 2004 13:43:45 -0000	1.6
@@ -3,7 +3,7 @@
 #untaint invnum
 my($query) = $cgi->keywords;
 $query =~ /^((.+)-)?(\d+)(.pdf)?$/;
-my $templatename = $1;
+my $templatename = $2;
 my $invnum = $3;
 
 my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum});




More information about the freeside-commits mailing list