[freeside] setup, free days

Tim Nelson sysadmin at sunet.com.au
Mon May 24 21:31:28 PDT 2004


On Mon, 17 May 2004, ivan wrote:

> On Mon, May 17, 2004 at 08:33:48AM -0700, Mitchell Clay wrote:
> > When customers sign up with us, we include the
> > remainder of the month they sign up in as part of the
> > setup free.  (example...if a customer signed up today
> > they would pay the setup fee and not have a regular
> > bill until June 1.)  What is the best way to handle
> > something like this in freeside?
> 
> The "subscription" price plan will charge full price for the first
> partial month.  You could take off normal month's fee from your setup,
> and the end result should be what you're asking for, though the bills
> will of course show the lower setup and full monthly fee for the first
> month.
> 
> You could always write your own price plan to fit your exact needs, of
> course.

	We're not using freeside yet, although we want to.  

	The way we handle free time here is that we set the following 
variables:
-	Start free time
-	End free time
-	Free hours

if	the date is between the start and end free times, 
	AND (
		the number of hours used in that period is less than the 
		free hours
		OR
		The plan is an unlimited plan
	)
then 
	the time is free
else
	the time is not free
endif

	This is something I would need to implement in Freeside before we 
could move completely across to it.  I don't expect to have time to do 
this part in the next year, but I thought I'd put the idea out there, so 
that if someone else needed it enough to actually do it, they could.  
	Also, if the Free Time were kept in a separate table, you would be 
able to assign multiple periods of free time, so, eg. if a customer 
brought a friend in and signed them up, you could give them 10 hours free 
or something.  

	Of course, something like this is not much good if Ivan didn't 
want to integrate it into the source.  Ivan, would you have objections if 
someone sent you a patch to do exactly this?  

	Thanks all, for listening.  

-- 
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: sysadmin at sunet.com.au





More information about the freeside-users mailing list