diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-10-25 12:08:01 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-10-25 12:08:01 -0700 |
commit | 5556814b7ff65b0a4837390be9331e1841189427 (patch) | |
tree | ffcfabbced62e345cb945c9fa09131133695ffd1 /FS/FS/Template_Mixin.pm | |
parent | ff27ffb0342e4d630a9426a998ffe76de9d6ed8c (diff) |
user-defined site ID / location codes per location, RT#30856, RT#27545
Diffstat (limited to 'FS/FS/Template_Mixin.pm')
-rw-r--r-- | FS/FS/Template_Mixin.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index d652d5349..ce7efcab1 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -2090,8 +2090,9 @@ sub _items_sections { $section->{'sort_weight'} = sprintf('%012s',$location->zip) . $locationnum; $section->{'location'} = { + label_prefix => &{ $escape }($location->label_prefix), map { $_ => &{ $escape }($location->get($_)) } - $location->fields + $location->fields }; } else { $section->{'category'} = $sectionname; |