diff options
author | Mark Wells <mark@freeside.biz> | 2015-11-24 12:23:14 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-11-24 12:23:25 -0800 |
commit | 50c42300d50c01f61e6bf9ab74e72b97a6128ec5 (patch) | |
tree | e95a1a89581b80611ffca3785d4886245c8f9659 /FS/FS/cust_location.pm | |
parent | f579cdd720020917d5c6a67eb99fa2e12cda6543 (diff) |
add billing address fields to RT ticket search, #19154
Diffstat (limited to 'FS/FS/cust_location.pm')
-rw-r--r-- | FS/FS/cust_location.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/FS/FS/cust_location.pm b/FS/FS/cust_location.pm index 7f4aa9a79..ae24fc2ba 100644 --- a/FS/FS/cust_location.pm +++ b/FS/FS/cust_location.pm @@ -647,6 +647,11 @@ Prospect object (see L<FS::prospect_main>) String used to join location elements +=item no_prefix + +Don't label the default service location as "Default service location". +May become the default at some point. + =back =cut @@ -656,6 +661,7 @@ sub location_label { my $prefix = $self->label_prefix; $prefix .= ($opt{join_string} || ': ') if $prefix; + $prefix = '' if $opt{'no_prefix'}; $prefix . $self->SUPER::location_label(%opt); } |