mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix missing date when reconciling from HBCI as suggested by Konstantin Goudkov, #372929.
BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15110 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c94218b42c
commit
6005e8deca
@ -217,6 +217,10 @@ gnc_hbci_getbalance_finish (GtkWidget *parent,
|
||||
ti=AB_Balance_GetTime(booked_grp);
|
||||
if (ti)
|
||||
booked_tt = GWEN_Time_toTime_t (ti);
|
||||
else
|
||||
/* No time found? Use today because the HBCI query asked for
|
||||
today's balance. */
|
||||
booked_tt = gnc_timet_get_day_start(time(NULL));
|
||||
booked_val = AB_Balance_GetValue(booked_grp);
|
||||
if (booked_val)
|
||||
booked_value = AB_Value_GetValue (booked_val);
|
||||
|
Loading…
Reference in New Issue
Block a user