CVS update: gnucash/src/business/business-core
Derek Atkins
warlord@linas.org
Tue, 25 Jun 2002 10:08:51 -0500 (CDT)
Date: Tuesday June 25, 2002 @ 10:08
Author: warlord
Update of /home/cvs/cvsroot/gnucash/src/business/business-core
In directory www.linas.org:/tmp/cvs-serv422/src/business/business-core
Modified Files:
gncInvoice.c gncOwner.c gncOwner.h
Log Message:
* gncOwner.[ch]: Provide functions to store/lookup an owner in a
Lot's kvp_frame.
* gncInvoice.c: add implemention of GetPostedLot(); when posting
to an Account, look for any pre-payment Lots and post to that. If
the Invoice total < pre-payment, then autmatically forward the
payments to a future Lot. If no pre-payment Lot is found, then
create a new one.
* dialog-payment.c: force payment amounts to be positive values
(you cannot un-pay via this dialog). Apply payments to open
Invoice Lots in a FIFO manner (by Due Date). If there is anything
left over, then create a pre-payment Lot.