projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better error handling when a package change fails, RT#78504
[freeside.git]
/
FS
/
FS
/
cust_main_Mixin.pm
diff --git
a/FS/FS/cust_main_Mixin.pm
b/FS/FS/cust_main_Mixin.pm
index
5f9a3d6
..
8b6569a
100644
(file)
--- a/
FS/FS/cust_main_Mixin.pm
+++ b/
FS/FS/cust_main_Mixin.pm
@@
-262,6
+262,17
@@
sub cust_statuscolor {
: '000000';
}
: '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
=item prospect_sql
=item active_sql
@@
-398,7
+409,7
@@
sub email_search_result {
my($class, $param) = @_;
my $conf = FS::Conf->new;
my($class, $param) = @_;
my $conf = FS::Conf->new;
- my $send_to_domain = $conf->config('
send-to-
domain');
+ my $send_to_domain = $conf->config('
email-to-voice_
domain');
my $msgnum = $param->{msgnum};
my $from = delete $param->{from};
my $msgnum = $param->{msgnum};
my $from = delete $param->{from};