diff options
author | Mark Wells <mark@freeside.biz> | 2016-07-12 17:31:33 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-07-12 17:31:47 -0700 |
commit | 92aeca588c2e42aae2d50dc0d6b1115c4e4a768d (patch) | |
tree | c1dc539f0cfa373c4b63210556abfadc34bab475 /FS/FS/cust_location.pm | |
parent | 6f5ea058941c0acb13b02c86287c54974bd3d59f (diff) |
restore location labels on invoices, but remove the 'default service location' prefix from everywhere, #71474
Diffstat (limited to 'FS/FS/cust_location.pm')
-rw-r--r-- | FS/FS/cust_location.pm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/FS/FS/cust_location.pm b/FS/FS/cust_location.pm index 0dec065e6..90400984c 100644 --- a/FS/FS/cust_location.pm +++ b/FS/FS/cust_location.pm @@ -722,9 +722,12 @@ sub label_prefix { } elsif ( $label_prefix eq '_location' && $self->locationname ) { $prefix = $self->locationname; - } elsif ( ( $opt{'cust_main'} || $self->custnum ) - && $self->locationnum == $cust_or_prospect->ship_locationnum ) { - $prefix = 'Default service location'; + #} elsif ( ( $opt{'cust_main'} || $self->custnum ) + # && $self->locationnum == $cust_or_prospect->ship_locationnum ) { + # $prefix = 'Default service location'; + #} + } else { + $prefix = ''; } $prefix; |