X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_location.pm;h=74b1bd19fe9196a5ba26fb6682cf4466e839f226;hb=6cd1eaed3f43ff8d3e649f76eb2083587d8d63d1;hp=09baff3ceadc1664bf114a4033a06d5dffccea21;hpb=0c76afbb717e1716e6126bc4a120b8d9471614a0;p=freeside.git diff --git a/FS/FS/cust_location.pm b/FS/FS/cust_location.pm index 09baff3ce..74b1bd19f 100644 --- a/FS/FS/cust_location.pm +++ b/FS/FS/cust_location.pm @@ -641,6 +641,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 @@ -650,6 +655,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); }