mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[dialog-invoice] gnc_business_call_owner_report_with_enddate
This commit is contained in:
parent
6c4edf94ce
commit
17c0c42e0b
@ -1161,6 +1161,14 @@ void gnc_invoice_window_new_invoice_cb (GtkWindow *parent, gpointer data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void gnc_business_call_owner_report (GtkWindow *parent, GncOwner *owner, Account *acc)
|
void gnc_business_call_owner_report (GtkWindow *parent, GncOwner *owner, Account *acc)
|
||||||
|
{
|
||||||
|
gnc_business_call_owner_report_with_enddate (parent, owner, acc, INT64_MAX);
|
||||||
|
}
|
||||||
|
|
||||||
|
void gnc_business_call_owner_report_with_enddate (GtkWindow *parent,
|
||||||
|
GncOwner *owner,
|
||||||
|
Account *acc,
|
||||||
|
time64 enddate)
|
||||||
{
|
{
|
||||||
int id;
|
int id;
|
||||||
SCM args;
|
SCM args;
|
||||||
@ -1171,9 +1179,13 @@ void gnc_business_call_owner_report (GtkWindow *parent, GncOwner *owner, Account
|
|||||||
|
|
||||||
args = SCM_EOL;
|
args = SCM_EOL;
|
||||||
|
|
||||||
func = scm_c_eval_string ("gnc:owner-report-create");
|
func = scm_c_eval_string ("gnc:owner-report-create-with-enddate");
|
||||||
g_return_if_fail (scm_is_procedure (func));
|
g_return_if_fail (scm_is_procedure (func));
|
||||||
|
|
||||||
|
/* set the enddate */
|
||||||
|
arg = (enddate != INT64_MAX) ? scm_from_int64 (enddate) : SCM_BOOL_F;
|
||||||
|
args = scm_cons (arg, args);
|
||||||
|
|
||||||
if (acc)
|
if (acc)
|
||||||
{
|
{
|
||||||
swig_type_info * qtype = SWIG_TypeQuery("_p_Account");
|
swig_type_info * qtype = SWIG_TypeQuery("_p_Account");
|
||||||
|
@ -67,6 +67,11 @@ GNCSearchWindow * gnc_invoice_search (GtkWindow *parent, GncInvoice *start, GncO
|
|||||||
|
|
||||||
void gnc_business_call_owner_report (GtkWindow* parent, GncOwner *owner, Account *acc);
|
void gnc_business_call_owner_report (GtkWindow* parent, GncOwner *owner, Account *acc);
|
||||||
|
|
||||||
|
void gnc_business_call_owner_report_with_enddate (GtkWindow* parent,
|
||||||
|
GncOwner *owner,
|
||||||
|
Account *acc,
|
||||||
|
time64 enddate);
|
||||||
|
|
||||||
void gnc_invoice_window_sort (InvoiceWindow *iw, invoice_sort_type_t sort_code);
|
void gnc_invoice_window_sort (InvoiceWindow *iw, invoice_sort_type_t sort_code);
|
||||||
|
|
||||||
GtkWidget * gnc_invoice_window_create_summary_bar (InvoiceWindow *iw);
|
GtkWidget * gnc_invoice_window_create_summary_bar (InvoiceWindow *iw);
|
||||||
|
Loading…
Reference in New Issue
Block a user