r19227 - gnucash/trunk/src/business/business-gnome - Bug #618951: Add ability to search for invoices by due date
Christian Stimming
cstim at code.gnucash.org
Fri Jun 4 05:38:20 EDT 2010
Author: cstim
Date: 2010-06-04 05:38:20 -0400 (Fri, 04 Jun 2010)
New Revision: 19227
Trac: http://svn.gnucash.org/trac/changeset/19227
Modified:
gnucash/trunk/src/business/business-gnome/dialog-invoice.c
Log:
Bug #618951: Add ability to search for invoices by due date
Patch by "scar".
Modified: gnucash/trunk/src/business/business-gnome/dialog-invoice.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/dialog-invoice.c 2010-06-03 20:18:38 UTC (rev 19226)
+++ gnucash/trunk/src/business/business-gnome/dialog-invoice.c 2010-06-04 09:38:20 UTC (rev 19227)
@@ -2442,6 +2442,9 @@
inv_params = gnc_search_param_prepend (inv_params,
_("Invoice ID"), NULL, type,
INVOICE_ID, NULL);
+ inv_params = gnc_search_param_prepend (inv_params,
+ _("Due Date"), NULL, type,
+ INVOICE_DUE, NULL);
}
if (bill_params == NULL)
{
@@ -2473,6 +2476,9 @@
bill_params = gnc_search_param_prepend (bill_params,
_("Bill ID"), NULL, type,
INVOICE_ID, NULL);
+ bill_params = gnc_search_param_prepend (inv_params,
+ _("Due Date"), NULL, type,
+ INVOICE_DUE, NULL);
}
if (emp_params == NULL)
{
@@ -2504,6 +2510,9 @@
emp_params = gnc_search_param_prepend (emp_params,
_("Voucher ID"), NULL, type,
INVOICE_ID, NULL);
+ emp_params = gnc_search_param_prepend (inv_params,
+ _("Due Date"), NULL, type,
+ INVOICE_DUE, NULL);
}
/* Build the column list in reverse order */
More information about the gnucash-changes
mailing list