X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fprospect_main.html;h=d92d270977d15dd6c4969b3fed746aae5c68abc0;hb=998f029ef805c73e90543b34192e16d38a23c69c;hp=de446a9fbdb9b7e43a693d59ea24deec2ee7cb32;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git diff --git a/httemplate/view/prospect_main.html b/httemplate/view/prospect_main.html index de446a9fb..d92d27097 100644 --- a/httemplate/view/prospect_main.html +++ b/httemplate/view/prospect_main.html @@ -14,7 +14,8 @@ <% $prospectnum %> -%unless ( scalar(@agentnums) == 1 ) { +%unless ( scalar(@agentnums) == 1 +% && !$curuser->access_right('View customers of all agents') ) { % my $agent = qsearchs('agent',{ 'agentnum' => $prospect_main->agentnum } ); Agent @@ -22,10 +23,12 @@ %} - - Company - <% $prospect_main->company |h %> - +% if ( $prospect_main->company ) { + + Company + <% $prospect_main->company |h %> + +% } % foreach my $contact ( $prospect_main->contact ) { @@ -55,10 +58,26 @@
+% 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") %> - Tickets + Tickets