X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fnotes.html;h=62502002e660ea207ff02737b62313f0411e2d66;hb=d98e4631640eaaf28b4c022efedd49b640a283c6;hp=deba956ae544d3b2d1e6ec1a2d51246052789fe1;hpb=f921a017cd3dd987bd48e05c7fd462a1ef9cb79d;p=freeside.git diff --git a/httemplate/view/cust_main/notes.html b/httemplate/view/cust_main/notes.html index deba956ae..62502002e 100755 --- a/httemplate/view/cust_main/notes.html +++ b/httemplate/view/cust_main/notes.html @@ -16,29 +16,6 @@ % my $notecount = scalar($cust_main->notes(0)); % if ( ! $conf->exists('cust_main-disable_notes') || $notecount) { -% unless ( $view eq 'notes' && $cust_main->comments !~ /[^\s\n\r]/ ) { -

- <% mt('Notes') |h %> -

- -% } - -% if ( $curuser->access_right('Add customer note') && -% ! $conf->exists('cust_main-disable_notes') -% ) { - - <& /elements/popup_link-cust_main.html, - 'label' => emt('Add customer note'), - 'action' => $p. 'edit/cust_main_note.cgi', - 'actionlabel' => emt('Enter customer note'), - 'cust_main' => $cust_main, - 'width' => 616, - 'height' => 538, #575 - &> - -% } -
- % # actually display notes <& notes/notes.html, 'cust_main' => $cust_main &>
@@ -49,19 +26,6 @@ % if( $curuser->access_right('View attachments') ) { % # List attachments <& notes/attachments.html, 'cust_main' => $cust_main &> -% # "Attach file" link -% if(! $conf->config('disable_cust_attachment') -% and $curuser->access_right('Add attachment')) { -<& /elements/popup_link-cust_main.html, - 'label' => emt('Attach file'), - 'action' => $p.'edit/cust_main_attach.cgi', - 'actionlabel' => emt('Upload file'), - 'cust_main' => $cust_main, - 'width' => 480, - 'height' => 296, -&> -% } - % if ($cgi->param('show_deleted')) {