From a661ced3f9f678a645780eaa0b183d2de5f100fa Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 10 Jan 2009 00:43:06 +0000 Subject: more work on package service addresses: hide locations when they're all the default, config to show them anyway / finish implementing package ordering, fix all the state/county weirdness when changing the location dropdown. RT#4499 --- httemplate/misc/location.cgi | 1 + httemplate/misc/order_pkg.html | 112 ++--------------------------------------- 2 files changed, 4 insertions(+), 109 deletions(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/location.cgi b/httemplate/misc/location.cgi index 3c3a85545..419c59f2e 100644 --- a/httemplate/misc/location.cgi +++ b/httemplate/misc/location.cgi @@ -4,6 +4,7 @@ my $locationnum = $cgi->param('arg'); my $cust_location = qsearchs({ + 'select' => 'cust_location.*', 'table' => 'cust_location', 'hashref' => { 'locationnum' => $locationnum }, 'addl_from' => 'LEFT JOIN cust_main USING ( custnum )', diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html index f91143154..2c8335154 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -1,71 +1,7 @@ <% include('/elements/header-popup.html', 'Order new package' ) %> -<% include('/elements/xmlhttp.html', - 'url' => $p.'misc/location.cgi', - 'subs' => [ 'get_location' ], - ) -%> -