added prospect support to qualifications, RT7111
[freeside.git] / httemplate / view / qual.cgi
index ebdc5cf..c440bae 100644 (file)
@@ -4,10 +4,15 @@
 
   <% include( '/elements/small_custview.html', $cust_or_prospect->custnum, '', 1,
      "${p}view/cust_main.cgi") %>
-  <BR>
 
+% } elsif ( $cust_or_prospect->get('prospectnum') ) {
+%      my $prospectnum = $cust_or_prospect->get('prospectnum');
+%      my $link = "${p}view/prospect_main.html?$prospectnum";
+       <A HREF="<%$link%>">Prospect #<%$prospectnum%></A>
 % }
 
+<BR><BR>
+
 <B>Qualification #<% $qual->qualnum %></B>
 <% ntable("#cccccc", 2) %>
 <% include('elements/tr.html', label => 'Status', value => $qual->status_long ) %>