A minor change to support adding referrals after the fact

Dave Burgess burgess at www.cynjut.net
Sat Dec 15 11:14:36 PST 2001


I forgot a minor little change.  This is a change to the view/cust_main.cgi
page in the basic system.  It changes the Referring Customer entry from a
text '(none)' to an entry box on the screen.  Put the customer number of the
referrer into the box, and off you go.  In the next interation, I'd like to 
be able to put any kind of identified (name, username, custnum, etc.) into 
the box and let it figure out what I mean.  This (with the customer number)
is as good as any little change could be:

--- cust_main.cgi.orig  Sat Dec 15 13:05:55 2001
+++ cust_main.cgi       Sat Dec 15 13:08:58 2001
@@ -145,7 +145,7 @@
         '</A><INPUT TYPE="hidden" NAME="referral_custnum" VALUE="'.
         $cust_main->referral_custnum. '">';
 } else {
-  print '(none)<INPUT TYPE="hidden" NAME="referral_custnum" VALUE="">';
+  print '<INPUT TYPE="text" NAME="referral_custnum" VALUE="">';
 }
 
 # contact info




More information about the freeside-devel mailing list