From 88a07a3c2aac1fff33bd1f400ee5c0672ce716a0 Mon Sep 17 00:00:00 2001 From: jeff Date: Sun, 26 Nov 2006 23:06:37 +0000 Subject: [PATCH] more ajaxy customer notes --- httemplate/edit/process/cust_main_note.cgi | 7 +++++-- httemplate/view/cust_main.cgi | 2 +- httemplate/view/cust_main/notes.html | 8 +++----- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/httemplate/edit/process/cust_main_note.cgi b/httemplate/edit/process/cust_main_note.cgi index 2de9b7f57..8b9105bd8 100755 --- a/httemplate/edit/process/cust_main_note.cgi +++ b/httemplate/edit/process/cust_main_note.cgi @@ -40,9 +40,12 @@ % <% header('Note ' . ($notenum ? 'updated' : 'added') ) %> - % % diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index fa3de92f0..3c66df1a7 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -138,7 +138,7 @@ Comments % }else{ # make firefox happy wrt POSTDATA - diff --git a/httemplate/view/cust_main/notes.html b/httemplate/view/cust_main/notes.html index 75bf30e41..f10eccf57 100755 --- a/httemplate/view/cust_main/notes.html +++ b/httemplate/view/cust_main/notes.html @@ -9,8 +9,6 @@ % my $cust_main = qsearchs('cust_main', {'custnum' => $custnum} ); % die "Custimer not found!" unless $cust_main; % -% my (@notes) = $cust_main->notes(); -% if ( scalar(@notes) ) { +% my (@notes) = $cust_main->notes(); +% if ( scalar(@notes) ) { + @@ -28,7 +29,6 @@ body { background: #e8e8e8 } -%#<% include('/elements/table-grid.html') %> % my $bgcolor1 = '#eeeeee'; % my $bgcolor2 = '#ffffff'; % my $bgcolor = ''; @@ -71,9 +71,7 @@ body { background: #e8e8e8 } % } #end display notes
-% } else { -
% } % %#subroutines -- 2.11.0