X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fnotes.html;h=a6378f46aea1233733553d0907347d2f0555689c;hb=9c9a1838b54292c62e940d7e6cee5141ea8e9b5c;hp=f7b4ddb30a26185d5e84f2973ca0d9b091b0d99e;hpb=efb850eae1c0aae3b43483bd73a7824b105357db;p=freeside.git diff --git a/httemplate/view/cust_main/notes.html b/httemplate/view/cust_main/notes.html index f7b4ddb30..a6378f46a 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' => 580, % 'frame' => 'top', % ); % my $clickjs = qq!onclick="$onclick"!; @@ -50,8 +53,11 @@  <% $note->otaker%> -  <%$note->comments%><% $edit %> +  <%$note->comments%> +% if($edit) { + <% $edit %> +% } % } #end display notes @@ -77,7 +83,7 @@ my (@notes) = $cust_main->notes(); sub note_datestr { my($note, $conf, $bgcolor) = @_ or return ''; - my $td = ''; + my $td = qq{}; my $format = "$td%b %o, %Y"; $format .= "$td%l:%M%P" if $conf->exists('cust_main_note-display_times');