diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-11-24 14:39:18 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-11-24 14:39:18 -0600 |
commit | 1658a54e6008907666cc57c5d957fcd208a74a85 (patch) | |
tree | 6d86ce5158510c151f4fb525582b9d4eb4cede61 /FS | |
parent | 60cad35f8b6bebefd8c9d78a83d70e0d5ddd68bf (diff) | |
parent | 50c42300d50c01f61e6bf9ab74e72b97a6128ec5 (diff) |
Merge branch 'FREESIDE_4_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_4_BRANCH
Diffstat (limited to 'FS')
-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); } |