This commit was generated by cvs2svn to compensate for changes in r4888,
[freeside.git] / httemplate / edit / cust_main_note.cgi
1 <% include('/elements/header-popup.html', 'Add Customer Note') %>
2
3 % if ( $cgi->param('error') ) { 
4   <FONT SIZE="+1" COLOR="#ff0000">Error: <% $cgi->param('error') %></FONT>
5   <BR><BR>
6 % } 
7
8 <FORM ACTION="<% popurl(1) %>process/cust_main_note.cgi" METHOD=POST>
9 <INPUT TYPE="hidden" NAME="custnum" VALUE="<% $custnum %>">
10
11
12 <BR><BR>
13 <TEXTAREA NAME="comment" ROWS="12" COLS="60">
14 <% $comment %>
15 </TEXTAREA>
16
17 <BR><BR>
18 <INPUT TYPE="submit" VALUE="Add note">
19
20 </FORM>
21 </BODY>
22 </HTML>
23
24 <%init>
25 my($custnum, $comment); 
26 $comment = '';
27
28 if ( $cgi->param('error') ) {
29   $comment     = $cgi->param('comment');
30 }
31 $cgi->param('custnum') =~ /^(\d+)$/;
32 $custnum     = $1;
33
34 die "illegal query ". $cgi->keywords unless $custnum;
35
36 </%init>
37