summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-12-31 17:35:09 -0800
committerMark Wells <mark@freeside.biz>2013-12-31 17:35:09 -0800
commitacbc7e3c55a3d5a0e9999b0630653ad510d4b19a (patch)
tree41791bd264725fb239567c6fca8bc9d156c0c698 /httemplate/edit
parent1564f23d66008e6167af8b517dce364127d34c3c (diff)
enable census tract lookup and manual entry in package order/change and location edit, #26722
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/cust_location.cgi1
-rw-r--r--httemplate/edit/process/change-cust_pkg.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/edit/cust_location.cgi b/httemplate/edit/cust_location.cgi
index 93ce32382..774b66730 100755
--- a/httemplate/edit/cust_location.cgi
+++ b/httemplate/edit/cust_location.cgi
@@ -19,6 +19,7 @@ ACTION="<% $p %>edit/process/cust_location.cgi" METHOD=POST>
'form' => 'EditLocationForm',
'callback' => 'document.EditLocationForm.submit();',
'with_census' => 1,
+ 'with_census_functions' => 1,
&>
</TABLE>
diff --git a/httemplate/edit/process/change-cust_pkg.html b/httemplate/edit/process/change-cust_pkg.html
index 0d571defd..96175e1e4 100644
--- a/httemplate/edit/process/change-cust_pkg.html
+++ b/httemplate/edit/process/change-cust_pkg.html
@@ -35,7 +35,7 @@ if ( $cgi->param('locationnum') == -1 ) {
my $cust_location = FS::cust_location->new({
'custnum' => $cust_pkg->custnum,
map { $_ => scalar($cgi->param($_)) }
- qw( address1 address2 city county state zip country )
+ FS::cust_main->location_fields
});
$change{'cust_location'} = $cust_location;
}