CVS update: gnucash/src/engine
Derek Atkins
warlord@linas.org
Sat, 22 Jun 2002 16:55:06 -0500 (CDT)
Date: Saturday June 22, 2002 @ 16:55
Author: warlord
Update of /home/cvs/cvsroot/gnucash/src/engine
In directory www.linas.org:/tmp/cvs-serv15472/src/engine
Modified Files:
date.c date.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.