summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-11-24 12:23:14 -0800
committerMark Wells <mark@freeside.biz>2015-11-24 12:23:14 -0800
commitd5f8aa5cf1787238224add1a836f0d7577f3b9b7 (patch)
treef7fea708486a5eb8c6736bc4942d5ba18968429f /FS
parent9f480e19adb21d793cff899bae5dc80be4746092 (diff)
add billing address fields to RT ticket search, #19154
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_location.pm6
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);
}