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:35 -0800
commit6cd1eaed3f43ff8d3e649f76eb2083587d8d63d1 (patch)
treed98ba06e9d78ccef4db6c91fffa37c6339171272 /FS
parentb5630d6d144f7691edd2a01e79bbc3549aa1dd21 (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 09baff3ce..74b1bd19f 100644
--- a/FS/FS/cust_location.pm
+++ b/FS/FS/cust_location.pm
@@ -641,6 +641,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
@@ -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);
}