X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fview%2Fprospect_main.html;h=1c8195672953466a42612064d08db476b32f04e0;hb=b429a422185206c645c84ec1c3540494d336b943;hp=f4b2f58ee55031eadb76223dfd2d3e0c079cbc3b;hpb=8468ce6abd28b145bfde14a210a166cca46115dc;p=freeside.git
diff --git a/httemplate/view/prospect_main.html b/httemplate/view/prospect_main.html
index f4b2f58ee..1c8195672 100644
--- a/httemplate/view/prospect_main.html
+++ b/httemplate/view/prospect_main.html
@@ -23,10 +23,12 @@
%}
-
- Company |
- <% $prospect_main->company |h %> |
-
+% if ( $prospect_main->company ) {
+
+ Company |
+ <% $prospect_main->company |h %> |
+
+% }
% foreach my $contact ( $prospect_main->contact ) {
@@ -49,7 +51,13 @@
)
%>
-
+
+% if ( $cust_location->latitude && $cust_location->longitude ) {
+ <& /elements/tr-coords.html, $cust_location->latitude,
+ $cust_location->longitude,
+ $prospect_main->name,
+ &>
+% }
% }
@@ -58,14 +66,14 @@
% 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,
+ '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