summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
authorlevinse <levinse>2011-04-17 03:27:42 +0000
committerlevinse <levinse>2011-04-17 03:27:42 +0000
commit073169e80bea0560b64e468a76121bf837de34f3 (patch)
tree9beb2f6069f62d28032311e5f9fdb567fcb4330e /httemplate/search
parent0bce81dcafbe1116a7dcd3254d58ebbebaf18ae9 (diff)
bulk DID orders/inventory enhancements, RT11291
Diffstat (limited to 'httemplate/search')
-rw-r--r--httemplate/search/phone_avail.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/search/phone_avail.html b/httemplate/search/phone_avail.html
index 8dec7b247..1335379ae 100644
--- a/httemplate/search/phone_avail.html
+++ b/httemplate/search/phone_avail.html
@@ -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 $addl_from = ' LEFT JOIN cust_svc USING ( svcnum ) '.
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 ) {