[freeside-commits] freeside/httemplate/search phone_avail.html, 1.6, 1.7

Erik Levinson levinse at wavetail.420.am
Sat Apr 16 20:27:44 PDT 2011


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

Modified Files:
	phone_avail.html 
Log Message:
bulk DID orders/inventory enhancements, RT11291

Index: phone_avail.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/phone_avail.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- phone_avail.html	28 Dec 2010 17:20:15 -0000	1.6
+++ phone_avail.html	17 Apr 2011 03:27:42 -0000	1.7
@@ -3,7 +3,7 @@
               'name_singular' => 'phone number',
               'query'         => {
                                    'table'   => 'phone_avail',
-                                   'hashref' => {},
+                                   'hashref' => $hashref,
                                    'select'  => join(', ',
                                        'phone_avail.*',
                                        'cust_main.custnum',
@@ -129,6 +129,9 @@
 
 my $count_query = "SELECT COUNT(*) FROM phone_avail $search"; #$addl_from?
 
+my $hashref = {};
+$hashref->{'ordernum'} = $1 if $cgi->param('ordernum') =~ /^(\d+)$/;
+
 my $link_cust = sub {
   my $phone_avail = shift;
   if ( $phone_avail->svcnum ) {



More information about the freeside-commits mailing list