summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main.cgi
diff options
context:
space:
mode:
authorivan <ivan>2001-08-11 05:52:56 +0000
committerivan <ivan>2001-08-11 05:52:56 +0000
commit3dddb60bd783aaf5fa1fda90a351f1e877b7e19b (patch)
tree8486bf7332bffa2d3045d0a45fa02349d12967c8 /httemplate/edit/cust_main.cgi
parent6f36d35b9db86ad5b9e42edc27c14b14444771a5 (diff)
add customer comments fields
Diffstat (limited to 'httemplate/edit/cust_main.cgi')
-rwxr-xr-xhttemplate/edit/cust_main.cgi9
1 files changed, 8 insertions, 1 deletions
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi
index 8902e3dce..2941acdf3 100755
--- a/httemplate/edit/cust_main.cgi
+++ b/httemplate/edit/cust_main.cgi
@@ -1,5 +1,5 @@
<%
-#<!-- $Id: cust_main.cgi,v 1.1 2001-07-30 07:36:04 ivan Exp $ -->
+#<!-- $Id: cust_main.cgi,v 1.2 2001-08-11 05:52:56 ivan Exp $ -->
use vars qw( $cgi $custnum $action $cust_main $p1 @agents $agentnum
$last $first $ss $company $address1 $address2 $city $zip
@@ -355,6 +355,13 @@ for (qw(CARD BILL COMP)) {
print "</TR></TABLE>$r required fields for each billing type";
+if ( defined $cust_main->dbdef_table->column('comments') ) {
+ print "<BR><BR>Comments", &itable("#cccccc"),
+ qq!<TR><TD><TEXTAREA COLS=80 ROWS=5 WRAP="HARD" NAME="comments">!,
+ $cust_main->comments, "</TEXTAREA>",
+ "</TD></TR></TABLE>";
+}
+
unless ( $custnum ) {
# pry the wrong place for this logic. also pretty expensive
#use FS::part_pkg;