X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_location.pm;h=ae24fc2baee52c19efec047eb8640278e186d9b9;hb=50c42300d50c01f61e6bf9ab74e72b97a6128ec5;hp=7f4aa9a79faf729dbd0a74ae0a4b15c42cec234b;hpb=f579cdd720020917d5c6a67eb99fa2e12cda6543;p=freeside.git 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) 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); }