diff options
author | ivan <ivan> | 2006-08-14 12:13:40 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-08-14 12:13:40 +0000 |
commit | b19897e1db4c110d7d7e8b52800cda5ab58ce9e0 (patch) | |
tree | 13cd7bebbe0319c6e96c79feb4ba4c182e71323f /httemplate/edit/cust_main.cgi | |
parent | 97168edae6af4a4d98c4f790b0c064b73efbb9fd (diff) |
sprinkle some magic ajax fairy dust on referring customer SELEKTAH. rewind! make smart search smarter, re-layout the top search bars and add an invoice one
Diffstat (limited to 'httemplate/edit/cust_main.cgi')
-rwxr-xr-x | httemplate/edit/cust_main.cgi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index 45cb69fc2..c3d1804bc 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -64,7 +64,9 @@ if ( $cgi->param('error') ) { @invoicing_list = (); } $cgi->delete_all(); + my $action = $custnum ? 'Edit' : 'Add'; +$action .= ": ". $cust_main->name if $custnum; my $r = qq!<font color="#ff0000">*</font> !; @@ -139,7 +141,13 @@ if ( $cust_main->referral_custnum <TR> <TD ALIGN="right">Referring customer</TD> - <TD><INPUT TYPE="text" NAME="referral_custnum" VALUE=""></TD> + <TD> + <!-- <INPUT TYPE="text" NAME="referral_custnum" VALUE=""> --> + <%= include('/elements/search-cust_main.html', + 'field_name' => 'referral_custnum', + ) + %> + </TD> </TR> <% } else { %> |