X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FUI%2FWeb%2Fsmall_custview.pm;h=e82e3326f3840432e197f059535f7c584bcc6529;hb=5376c66e2e5c1849763777f9d44ad013405c1d9e;hp=a1173f7da3a45105d666843f0709687623ea074d;hpb=2bcf13f0f9da22f9afa134320943ea2bfc9c7dcb;p=freeside.git
diff --git a/FS/FS/UI/Web/small_custview.pm b/FS/FS/UI/Web/small_custview.pm
index a1173f7da..e82e3326f 100644
--- 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!'
if $url;
+ if ( $FS::CurrentUser::CurrentUser->num_agents ) {
+ $html .= encode_entities($cust_main->agent->agent). ' ';
+ }
+
$html .= 'Customer #'. $cust_main->display_custnum.
- ': '. encode_entities($cust_main->name). '';
+ ': '. encode_entities($cust_main->name). ''.
' - '.
$cust_main->status_label. '';