1 <% include('/elements/header-popup.html', 'Add Customer Note') %>
3 % if ( $cgi->param('error') ) {
4 <FONT SIZE="+1" COLOR="#ff0000">Error: <% $cgi->param('error') %></FONT>
8 <FORM ACTION="<% popurl(1) %>process/cust_main_note.cgi" METHOD=POST>
9 <INPUT TYPE="hidden" NAME="custnum" VALUE="<% $custnum %>">
13 <TEXTAREA NAME="comment" ROWS="12" COLS="60">
18 <INPUT TYPE="submit" VALUE="Add note">
25 my($custnum, $comment);
28 if ( $cgi->param('error') ) {
29 $comment = $cgi->param('comment');
31 $cgi->param('custnum') =~ /^(\d+)$/;
34 die "illegal query ". $cgi->keywords unless $custnum;