diff options
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-x | httemplate/edit/cust_location.cgi | 1 | ||||
-rw-r--r-- | httemplate/edit/process/change-cust_pkg.html | 2 |
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; } |