X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fnotes.html;h=75bf30e41cec60cabb40322b970bb6e7b375ce5b;hb=576c6b48428aa95e0fd80db011fe73c0b728c88b;hp=c1a33b0204feb68da566b682d6687a06f1bac936;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0;p=freeside.git diff --git a/httemplate/view/cust_main/notes.html b/httemplate/view/cust_main/notes.html index c1a33b020..75bf30e41 100755 --- a/httemplate/view/cust_main/notes.html +++ b/httemplate/view/cust_main/notes.html @@ -1,5 +1,6 @@ % % my $conf = new FS::Conf; +% my $curuser = $FS::CurrentUser::CurrentUser; % % $cgi->param('custnum') =~ /^(\d+)$/ % or die "No customer specified (bad URL)!"; @@ -20,6 +21,11 @@ body { background: #e8e8e8 } + + + + +
- <%$note->otaker%> + <% $el %> <%$note->otaker%> <% $eel %> | <%$note->comments%> @@ -58,14 +79,14 @@ body { background: #e8e8e8 } %#subroutines % %sub note_datestr { -% my($note, $conf, $bgcolor) = @_ or return ''; -% my $format=qq{ | %b | }. -% qq{%o, | }. -% qq{%Y | }; -% $format .= qq{%l | }. -% qq{: | }. -% qq{%M | }. -% qq{%P | } +% my($note, $conf, $bgcolor, $el, $eel) = @_ or return ''; +% my $format=qq{$el%b$eel | }. +% qq{$el %o,$eel | }. +% qq{$el %Y $eel | }; +% $format .= qq{$el %l$eel | }. +% qq{$el:$eel | }. +% qq{$el%M$eel | }. +% qq{$el %P $eel | } % if $conf->exists('cust_main_note-display_times'); % ( my $strip = time2str($format, $note->_date) ) =~ s/ (\d)/$1/g; % $strip;