summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main_note.cgi
diff options
context:
space:
mode:
authorjeff <jeff>2006-10-03 22:44:28 +0000
committerjeff <jeff>2006-10-03 22:44:28 +0000
commit30c3ff2acf90e1386fae00759078899c859faf36 (patch)
tree75fd2a828c64a2b7bd2d2f4c650d058af726e241 /httemplate/edit/cust_main_note.cgi
parent40f370f0fbc6dedee27b8666f7d00e3888a1533b (diff)
Enhanced customer notes
Diffstat (limited to 'httemplate/edit/cust_main_note.cgi')
-rwxr-xr-xhttemplate/edit/cust_main_note.cgi37
1 files changed, 37 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main_note.cgi b/httemplate/edit/cust_main_note.cgi
new file mode 100755
index 000000000..468ef0051
--- /dev/null
+++ b/httemplate/edit/cust_main_note.cgi
@@ -0,0 +1,37 @@
+<% include('/elements/header-popup.html', 'Add Customer Note') %>
+
+% if ( $cgi->param('error') ) {
+ <FONT SIZE="+1" COLOR="#ff0000">Error: <% $cgi->param('error') %></FONT>
+ <BR><BR>
+% }
+
+<FORM ACTION="<% popurl(1) %>process/cust_main_note.cgi" METHOD=POST>
+<INPUT TYPE="hidden" NAME="custnum" VALUE="<% $custnum %>">
+
+
+<BR><BR>
+<TEXTAREA NAME="comment" ROWS="12" COLS="60">
+<% $comment %>
+</TEXTAREA>
+
+<BR><BR>
+<INPUT TYPE="submit" VALUE="Add note">
+
+</FORM>
+</BODY>
+</HTML>
+
+<%init>
+my($custnum, $comment);
+$comment = '';
+
+if ( $cgi->param('error') ) {
+ $comment = $cgi->param('comment');
+}
+$cgi->param('custnum') =~ /^(\d+)$/;
+$custnum = $1;
+
+die "illegal query ". $cgi->keywords unless $custnum;
+
+</%init>
+