[freeside-devel] A minor change to support adding referrals after the fact

ivan ivan at 420.am
Sat Dec 15 14:45:29 PST 2001


applied.  in the future it would help to include pathnames in your diff. 
there's multiple files named "cust_main.cgi".  thanks. 

On Sat, Dec 15, 2001 at 01:14:25PM -0600, Dave Burgess wrote:
> 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
> 

-- 
_ivan



More information about the freeside-devel mailing list