r19134 - gnucash/trunk/src/business/business-ledger - Bug #352058 - Invoice entries should default to opening date of invoice.

Geert Janssens gjanssens at code.gnucash.org
Fri May 7 10:38:31 EDT 2010


Author: gjanssens
Date: 2010-05-07 10:38:31 -0400 (Fri, 07 May 2010)
New Revision: 19134
Trac: http://svn.gnucash.org/trac/changeset/19134

Modified:
   gnucash/trunk/src/business/business-ledger/gncEntryLedger.c
Log:
Bug #352058 - Invoice entries should default to opening date of invoice.

Modified: gnucash/trunk/src/business/business-ledger/gncEntryLedger.c
===================================================================
--- gnucash/trunk/src/business/business-ledger/gncEntryLedger.c	2010-05-07 14:31:50 UTC (rev 19133)
+++ gnucash/trunk/src/business/business-ledger/gncEntryLedger.c	2010-05-07 14:38:31 UTC (rev 19134)
@@ -523,6 +523,7 @@
 {
     if (!ledger) return;
     ledger->invoice = invoice;
+    ledger->last_date_entered = gncInvoiceGetDateOpened (invoice);
 
     if (!ledger->query && invoice)
         create_invoice_query (ledger);



More information about the gnucash-changes mailing list