[freeside-devel]

ivan ivan at 420.am
Wed Dec 26 21:53:18 PST 2001


On Wed, Dec 26, 2001 at 01:36:24PM -0600, Dave Burgess wrote:
> ivan wrote:
> 
> > On Sun, Dec 23, 2001 at 05:04:04PM -0600, Dave Burgess wrote:
> > > - Generally Accepted Accounting Practice (GAAP) says that when a
> > > customer has more than one outstanding invoice, any payments received
> > > will be applied to the oldest invoice first, and the remainder of
> > > the payment will then be applied to each subsequent invoice.  We
> > > can get into the reasons in private E-Mail if anyone would like.
> > > The current payment processing system doesn't do this.
> >
> > Current CVS now does this in all cases.  The only missing piece was
> > calling ->apply_payments on the FS::cust_main object when a new payment
> > (not against a specific invoice) was entered.
> >
> > > - Extend the 'invoicing' code so that it looks for unapplied credits
> > > and applies them to the new invoice (this might already work, I
> > > haven't even checked).
> >
> > It does.  See the `-p' option to freeside-bill.
> 
> You're a mind reader - that's all there is to it :-)

hehe, more Jeff than I.

> I'm having a little weirdness in the Invoicing code, by the way.  I haven't
> done enough research to figure out what broke, but my freeside-bill runs
> abort with a complaint in one of the records about duplicate services.

Hmm.  Sync at least the modules (FS/ directory) to pre7 or CVS and let me
know the exact error message. 

> I'm still working on splitting up those diffs.  I know you prefer -u diffs,
> but I'm finding it really hard to split the diffs up by hand that way.
> Would you be willing to accept them as context diffs, if I can separate
> them into logical blocks that you can check out.

Sure.

-- 
_ivan



More information about the freeside-devel mailing list