projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcde944
)
fix agent display on reports when set in conf setting cust-fields, RT#76948
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 3 Aug 2017 23:27:19 +0000
(16:27 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 3 Aug 2017 23:27:19 +0000
(16:27 -0700)
FS/FS/cust_main_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main_Mixin.pm
b/FS/FS/cust_main_Mixin.pm
index
6e9111e
..
28d894b
100644
(file)
--- a/
FS/FS/cust_main_Mixin.pm
+++ b/
FS/FS/cust_main_Mixin.pm
@@
-248,6
+248,17
@@
sub cust_statuscolor {
: '000000';
}
+=item agent_name
+
+=cut
+
+sub agent_name {
+ my $self = shift;
+ $self->cust_linked
+ ? $self->cust_main->agent_name
+ : $self->cust_unlinked_msg;
+}
+
=item prospect_sql
=item active_sql