projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include agent and restore cust-level status in small_custview
[freeside.git]
/
FS
/
FS
/
UI
/
Web
/
small_custview.pm
diff --git
a/FS/FS/UI/Web/small_custview.pm
b/FS/FS/UI/Web/small_custview.pm
index
a1173f7
..
e82e332
100644
(file)
--- a/
FS/FS/UI/Web/small_custview.pm
+++ b/
FS/FS/UI/Web/small_custview.pm
@@
-95,8
+95,12
@@
sub small_custview {
$html = qq!<A HREF="$url?! . $cust_main->custnum . '">'
if $url;
$html = qq!<A HREF="$url?! . $cust_main->custnum . '">'
if $url;
+ if ( $FS::CurrentUser::CurrentUser->num_agents ) {
+ $html .= encode_entities($cust_main->agent->agent). ' ';
+ }
+
$html .= 'Customer #<B>'. $cust_main->display_custnum.
$html .= 'Customer #<B>'. $cust_main->display_custnum.
- '
: '. encode_entities($cust_main->name). '</B></A>';
+ '
</B>: <B>'. encode_entities($cust_main->name). '</B></A>'.
' - <B><FONT COLOR="#'. $cust_main->statuscolor. '">'.
$cust_main->status_label. '</FONT></B>';
' - <B><FONT COLOR="#'. $cust_main->statuscolor. '">'.
$cust_main->status_label. '</FONT></B>';