diff options
Diffstat (limited to 'httemplate/view')
| -rw-r--r-- | httemplate/view/prospect_main.html | 16 | ||||
| -rw-r--r-- | httemplate/view/qual.cgi | 7 | 
2 files changed, 22 insertions, 1 deletions
| diff --git a/httemplate/view/prospect_main.html b/httemplate/view/prospect_main.html index 9517e3920..f4b2f58ee 100644 --- a/httemplate/view/prospect_main.html +++ b/httemplate/view/prospect_main.html @@ -56,6 +56,22 @@  <BR> +% 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, +          ) +%> +  | <A HREF="<%$p%>search/qual.cgi?prospectnum=<% $prospect_main->prospectnum %>">View Qualifications</A> +    <BR><BR> +% } +  <% ntable("#cccccc") %>  <TR> diff --git a/httemplate/view/qual.cgi b/httemplate/view/qual.cgi index ebdc5cf12..c440baeaf 100644 --- a/httemplate/view/qual.cgi +++ b/httemplate/view/qual.cgi @@ -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 ) %> | 
