CVS update: gnucash/src/business/business-core
Derek Atkins
warlord@linas.org
Sat, 22 Jun 2002 16:54:55 -0500 (CDT)
Date: Saturday June 22, 2002 @ 16:54
Author: warlord
Update of /home/cvs/cvsroot/gnucash/src/business/business-core
In directory www.linas.org:/tmp/cvs-serv15472/src/business/business-core
Modified Files:
gncBillTerm.c gncBillTerm.h
Log Message:
* gncBillTerm: add functions to compute DueDate and DiscountDate from
a Timespec (post_date) and the Billing Term definition.
* dialog-date-close: use billing terms; if a term object is supplied,
display the due date but do not allow the user to modify it directly.
Use callbacks from the date-edit widget to update the due date.
* dialog-invoice: don't worry about pre-computing a due date; pass the
billing terms into the date-close dialog.
* date: add a few convenience functions to convert from Timespec to
day/month/year; compute the last mday from a Timespec; compute the
last mday from a month/year.