[freeside-devel] modifying cust_pkg->last_bill process

ivan at 420.am ivan at 420.am
Tue Jun 24 09:02:50 PDT 2003


On Wed, Mar 12, 2003 at 12:25:27PM +1100, Greg Clarkson wrote:
> Hi all,
> 
> Just want to check if anyone else is want to do the same thing as me
> so i don't have to re-invent the wheel.
> 
> I have packages with no fixed fee but with a fee for excess hours or
> data.  The billing cycle is month but if a customer does not exceed
> their limits an invoice will not be generated for them.
> 
> The problem (as far as I can tell) from the existing
> cust_pkg->last_bill process is that it will not calculate these
> peoples usage for the last month (or defined billing cycle) but from
> the last time they received an invoice.
> 
> So before I work out my own solution to this problem does anybody
> else either already have a solution or would like to suggest the
> best way to implement this solution...?

An actual "last_bill" column was added in 1.5 to address this problem.

-- 
_ivan



More information about the freeside-devel mailing list