[freeside-commits] freeside/httemplate/search qual.cgi,1.1,1.2
Erik Levinson
levinse at wavetail.420.am
Tue Dec 7 12:38:54 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv31643/httemplate/search
Modified Files:
qual.cgi
Log Message:
added prospect support to qualifications, RT7111
Index: qual.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/qual.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- qual.cgi 7 Dec 2010 19:04:43 -0000 1.1
+++ qual.cgi 7 Dec 2010 20:38:52 -0000 1.2
@@ -73,6 +73,10 @@
if ( $cgi->param('custnum') && $cgi->param('custnum') =~ /^(\d+)$/ ) {
$extra_sql = " where custnum = $1 or locationnum in "
. " (select locationnum from cust_location where custnum = $1)";
+} elsif ( $cgi->param('prospectnum')
+ && $cgi->param('prospectnum') =~ /^(\d+)$/ ) {
+ $extra_sql = " where prospectnum = $1 or locationnum in "
+ . " (select locationnum from cust_location where prospectnum = $1)";
}
</%init>
More information about the freeside-commits
mailing list