projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include batch payment and statement events in reports, RT#80156
[freeside.git]
/
httemplate
/
misc
/
location.cgi
diff --git
a/httemplate/misc/location.cgi
b/httemplate/misc/location.cgi
index
188c5c3
..
fab61dd
100644
(file)
--- a/
httemplate/misc/location.cgi
+++ b/
httemplate/misc/location.cgi
@@
-1,4
+1,4
@@
-<%
objToJson(\%hash) %>
+<%
encode_json(\%hash) %>\
<%init>
my $locationnum = $cgi->param('arg');
<%init>
my $locationnum = $cgi->param('arg');
@@
-24,8
+24,9
@@
my $cust_location = qsearchs({
my %hash = ();
%hash = map { $_ => $cust_location->$_() }
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>
if $cust_location;
</%init>