[freeside-commits] branch FREESIDE_4_BRANCH updated. 3f3bc48566ce23104d3e008b50c823d236af9b5c
Ivan
ivan at 420.am
Thu Aug 3 16:27:19 PDT 2017
The branch, FREESIDE_4_BRANCH has been updated
via 3f3bc48566ce23104d3e008b50c823d236af9b5c (commit)
from acd1c06475188ca5b810b02811a2d741ae931d85 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3f3bc48566ce23104d3e008b50c823d236af9b5c
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Aug 3 16:27:18 2017 -0700
fix agent display on reports when set in conf setting cust-fields, RT#76948
diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm
index 1955746..f8f1173 100644
--- a/FS/FS/cust_main_Mixin.pm
+++ b/FS/FS/cust_main_Mixin.pm
@@ -262,6 +262,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
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_main_Mixin.pm | 11 +++++++++++
1 file changed, 11 insertions(+)
More information about the freeside-commits
mailing list