[freeside-commits] branch master updated. 60a758ffd673991869547bf57cba228d53ce6ef3

Ivan ivan at 420.am
Fri Jun 30 13:44:02 PDT 2017


The branch, master has been updated
       via  60a758ffd673991869547bf57cba228d53ce6ef3 (commit)
      from  ef710ebf571104b60d855f87d73732b600ebe455 (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 60a758ffd673991869547bf57cba228d53ce6ef3
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Jun 30 13:44:01 2017 -0700

    fix email on contact report

diff --git a/httemplate/search/contact.html b/httemplate/search/contact.html
index 44c864c..759f095 100644
--- a/httemplate/search/contact.html
+++ b/httemplate/search/contact.html
@@ -24,7 +24,8 @@ my $addl_from = '';
 
 my $email_sub = sub {
   my $contact = shift;
-  my @contact_email = $contact->contact_email;
+  #can't because contactnum is in the wrong field #my @contact_email = $contact->contact_email;
+  my @contact_email = qsearch('contact_email', { 'contactnum' => $contact->contact_contactnum } );
   join(', ', map $_->emailaddress, @contact_email);
 };
 

-----------------------------------------------------------------------

Summary of changes:
 httemplate/search/contact.html |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list