This commit was manufactured by cvs2svn to create tag 'freeside_2_1_1'.
[freeside.git] / httemplate / edit / cust_main.cgi
index fac7ef2..57dc359 100755 (executable)
@@ -1,5 +1,5 @@
 <% include('/elements/header.html',
-      "Customer $action",
+      $title,
       '',
       ' onUnload="myclose()"' #hmm, in billing.html
 ) %>
@@ -190,7 +190,7 @@ function samechanged(what) {
 
 % }
 
-<INPUT TYPE="hidden" NAME="otaker" VALUE="<% $cust_main->otaker %>">
+<INPUT TYPE="hidden" NAME="usernum" VALUE="<% $cust_main->usernum %>">
 
 %# cust_main/bottomfixup.js
 % foreach my $hidden (
@@ -313,8 +313,8 @@ my $error = $cgi->param('error');
 $cgi->delete_all();
 $cgi->param('error', $error);
 
-my $action = $custnum ? 'Edit' : 'Add';
-$action .= ": ". $cust_main->name if $custnum;
+my $title = $custnum ? 'Edit Customer' : 'Add Customer';
+$title .= ": ". $cust_main->name if $custnum;
 
 my $r = qq!<font color="#ff0000">*</font>&nbsp;!;