X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=76f5a517e9f465953339a9aab46beb2a3424fe59;hp=08d99d8e8d73e4e9590347e7797967417ec4e4b4;hb=d84fbd3987192e9bece5fc074dd7507dd1e2c7b7;hpb=3fa2bc364fc6810b7ce8a02d27e7062ff850ee9d diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 08d99d8e8..76f5a517e 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -153,16 +153,18 @@ Comments ) %> % } +% if( $curuser->access_right('View attachments') ) { <% include('cust_main/attachments.html', 'custnum' => $cust_main->custnum ) %> -% if($cgi->param('show_deleted')) { +% if ($cgi->param('show_deleted')) { ">(Show active attachments) -% } +% } % elsif($curuser->access_right('View deleted attachments')) { ">(Show deleted attachments) +% } % }