diff options
Diffstat (limited to 'httemplate/misc')
-rw-r--r-- | httemplate/misc/location.cgi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/misc/location.cgi b/httemplate/misc/location.cgi index 188c5c3df..35ae0f107 100644 --- a/httemplate/misc/location.cgi +++ b/httemplate/misc/location.cgi @@ -24,8 +24,9 @@ my $cust_location = qsearchs({ my %hash = (); %hash = map { $_ => $cust_location->$_() } - qw( address1 address2 city county state zip country - location_kind location_type location_number ) + ( FS::cust_main->location_fields, + qw( location_kind location_type location_number ) + ) if $cust_location; </%init> |