[freeside-commits] branch master updated. b4883ac11a0ddabd2b78a7451fe3634f9510f5f7
Mitch Jackson
mitch at freeside.biz
Thu Jun 14 14:39:19 PDT 2018
The branch, master has been updated
via b4883ac11a0ddabd2b78a7451fe3634f9510f5f7 (commit)
from 965826f80175e6e09b851bdd119e955b6c3783d4 (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 b4883ac11a0ddabd2b78a7451fe3634f9510f5f7
Author: Mitch Jackson <mitch at freeside.biz>
Date: Thu Jun 14 16:31:42 2018 -0500
RT# 31964 Display more information on prospect contacts
diff --git a/httemplate/search/prospect_main.html b/httemplate/search/prospect_main.html
index d65d4d19d..0eb45f338 100644
--- a/httemplate/search/prospect_main.html
+++ b/httemplate/search/prospect_main.html
@@ -17,7 +17,6 @@
}
$pm->prospect_contact
];
- ''
},
sub {
my $pr = shift->part_referral;
diff --git a/httemplate/view/prospect_main.html b/httemplate/view/prospect_main.html
index f4dd4146f..504a5a8ec 100644
--- a/httemplate/view/prospect_main.html
+++ b/httemplate/view/prospect_main.html
@@ -24,8 +24,21 @@
% foreach my $prospect_contact ( $prospect_main->prospect_contact ) {
% my $contact = $prospect_contact->contact;
<TR>
- <TH ALIGN="right"><% $prospect_contact->contact_classname %> Contact</TD>
- <TD BGCOLOR="#FFFFFF"><% $contact->line %></TD>
+ <TH ALIGN="right" VALIGN="top"><% $prospect_contact->contact_classname %> Contact</TH>
+ <TD BGCOLOR="#FFFFFF">
+ <% $contact->line %><br>
+ <table>
+% for my $row ( $contact->contact_email ) {
+ <tr><th>E-Mail:</th><td><% $row->emailaddress %></td></tr>
+% }
+% for my $row ( $contact->contact_phone ) {
+ <tr><th><% $row->phone_type->typename %>:</th><td><% $row->phonenum_pretty %></td></tr>
+% }
+% if ( $prospect_contact->comment ) {
+ <tr><th>Comment:</th><td><% $prospect_contact->comment %></td></tr>
+% }
+ </table>
+ </TD>
</TR>
%}
-----------------------------------------------------------------------
Summary of changes:
httemplate/search/prospect_main.html | 1 -
httemplate/view/prospect_main.html | 17 +++++++++++++++--
2 files changed, 15 insertions(+), 3 deletions(-)
More information about the freeside-commits
mailing list