projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve display of ticket service links, #17067
[freeside.git]
/
rt
/
lib
/
RT
/
URI
/
freeside
/
Internal.pm
diff --git
a/rt/lib/RT/URI/freeside/Internal.pm
b/rt/lib/RT/URI/freeside/Internal.pm
index
b5e56ee
..
61b256e
100644
(file)
--- a/
rt/lib/RT/URI/freeside/Internal.pm
+++ b/
rt/lib/RT/URI/freeside/Internal.pm
@@
-161,12
+161,12
@@
sub _FreesideURILabelLong {
} elsif ( $table eq 'cust_svc' ) {
my $string = '';
} elsif ( $table eq 'cust_svc' ) {
my $string = '';
- my $cust = $self->CustomerResolver;
- if ( $cust ) {
- $string = $cust->AsStringLong;
- }
- $string .= '<B><A HREF="' . $self->HREF . '">' .
-
$self->AsString . '</A></B>'
;
+ # we now do this within the UI
+ #my $cust = $self->CustomerResolver;
+ #if ( $cust ) {
+ # $string = $cust->AsStringLong;
+ #}
+
$string .= $self->AsString
;
return $string;
} else {
return $string;
} else {
@@
-177,6
+177,16
@@
sub _FreesideURILabelLong {
}
}
+sub AsString {
+ my $self = shift;
+ if ( $self->{'fstable'} eq 'cust_svc' ) {
+ return '<B><A HREF="' . $self->HREF . '">' .
+ $self->_FreesideURILabel . '</A></B>';
+ } else {
+ $self->SUPER::AsString;
+ }
+}
+
sub CustomerResolver {
my $self = shift;
if ( $self->{fstable} eq 'cust_main' ) {
sub CustomerResolver {
my $self = shift;
if ( $self->{fstable} eq 'cust_main' ) {