X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fnotes.html;h=74d3f602ba079773022f7d37d1cfcbec258e9331;hb=5f71517b3de709a86c89dbacc6247cd6e52f4c42;hp=833c92e6756b4386b1add6d592488600ef9ad49d;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git diff --git a/httemplate/view/cust_main/notes.html b/httemplate/view/cust_main/notes.html index 833c92e67..74d3f602b 100755 --- a/httemplate/view/cust_main/notes.html +++ b/httemplate/view/cust_main/notes.html @@ -11,6 +11,9 @@ % } Person Note +% if ($curuser->access_right('Edit customer note') ) { +   +% } % my $bgcolor1 = '#eeeeee'; @@ -34,7 +37,7 @@ % ";notenum=$notenum", % 'actionlabel' => 'Edit customer note', % 'width' => 616, -% 'height' => 408, +% 'height' => 538, #575 % 'frame' => 'top', % ); % my $clickjs = qq!onclick="$onclick"!; @@ -47,11 +50,14 @@ <% note_datestr($note,$conf,$bgcolor) %> -  <% $note->otaker%> +  <% $note->usernum ? $note->access_user->name : $note->otaker %> -  <%$note->comments%><% $edit %> +  <% $note->comments | defang %> +% if($edit) { + <% $edit %> +% } % } #end display notes @@ -61,6 +67,8 @@ % } <%init> +use HTML::Defang; + my $conf = new FS::Conf; my $curuser = $FS::CurrentUser::CurrentUser;