X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fprospect_main.html;h=9e85348aff5b9cef1779c9696c69814dff3b6968;hb=8f6c0d7b137391c6dd9cd1397a73293cd575da13;hp=9517e39205b35b4bf2d833dab8d8041bc628894c;hpb=8966833a87b9a002c9d72c56832e35b55628dc81;p=freeside.git
diff --git a/httemplate/view/prospect_main.html b/httemplate/view/prospect_main.html
index 9517e3920..9e85348af 100644
--- a/httemplate/view/prospect_main.html
+++ b/httemplate/view/prospect_main.html
@@ -23,14 +23,16 @@
%}
-
- Company |
- <% $prospect_main->company |h %> |
-
+% if ( $prospect_main->company ) {
+
+ Company |
+ <% $prospect_main->company |h %> |
+
+% }
% foreach my $contact ( $prospect_main->contact ) {
- Contact |
+ <% $contact->contact_classname %> Contact |
<% $contact->line %> |
%}
@@ -49,13 +51,35 @@
)
%>
-
+
+% if ( $cust_location->latitude && $cust_location->longitude ) {
+ <& /elements/tr-coords.html, $cust_location->latitude,
+ $cust_location->longitude,
+ $prospect_main->name,
+ &>
+% }
% }
+% if ( $curuser->access_right('Qualify service') ) {
+<% include( '/elements/popup_link-prospect_main.html',
+ 'action' => $p. 'misc/qual.html',
+ 'label' => 'New Qualification',
+ 'actionlabel' => 'New Qualification',
+ 'color' => '#333399',
+ 'prospect_main' => $prospect_main,
+ 'closetext' => 'Close',
+ 'width' => 763,
+ 'height' => 436,
+ )
+%>
+ | View Qualifications
+
+% }
+
<% ntable("#cccccc") %>