[grisbi-cvs] [SCM] grisbi branch, grisbi-1.0.x, updated. upstream_version_0_9_5-223-gb733394
Pierre Biava
nobody at users.sourceforge.net
Fri Dec 21 17:59:35 CET 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".
The branch, grisbi-1.0.x has been updated
via b733394d65cfc9ed9461955be3d09615e1d6ce3e (commit)
from 4a4000d7c0084b18ac5ceac6d05625f70da7b877 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b733394d65cfc9ed9461955be3d09615e1d6ce3e
Author: pbiava <pierre.biava at nerim.net>
Date: Fri Dec 21 17:57:10 2012 +0100
fixed bug to take into account the date of the first payment in the amortization tables.
-----------------------------------------------------------------------
Changes:
diff --git a/src/bet_config.c b/src/bet_config.c
index ce83d80..553250d 100644
--- a/src/bet_config.c
+++ b/src/bet_config.c
@@ -1484,13 +1484,19 @@ void bet_config_initialise_finance_widget ( gint account_number,
* */
void bet_config_finance_apply_clicked ( GtkButton *button, GtkWidget *parent )
{
- GtkWidget *bouton;
+ GtkWidget *bouton, *widget;
gdouble number;
gint type_taux;
gint account_number;
+ GDate *start_date;
account_number = bet_config_get_account_from_combo ( );
+ /* start date */
+ widget = g_object_get_data ( G_OBJECT ( parent ), "bet_config_start_date" );
+ start_date = gsb_calendar_entry_get_date( widget );
+ gsb_data_account_set_bet_start_date( account_number, start_date );
+
/* capital */
number = bet_finance_get_number_from_string ( parent, "bet_config_capital" );
gsb_data_account_set_bet_finance_capital ( account_number, number );
hooks/post-receive
--
grisbi
More information about the cvs
mailing list