mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #511606: Fix ipmt() and ppmt() functions in scheduled transactions.
Patch by Jean-Baptiste: " The instance counter is now incremented into increment_sx_state function." git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18571 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c259408efe
commit
53dd0f605a
@ -881,7 +881,7 @@ increment_sx_state(GncSxInstance *inst, GDate **last_occur_date, int *instance_c
|
||||
*last_occur_date = &inst->date;
|
||||
}
|
||||
|
||||
*instance_count = gnc_sx_get_instance_count(inst->parent->sx, inst->temporal_state);
|
||||
*instance_count = gnc_sx_get_instance_count(inst->parent->sx, inst->temporal_state) + 1;
|
||||
|
||||
if (*remain_occur_count > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user