We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Say we have period1 with update1. period1 has a baseline of 0 and update1 has a change value of +5.
period1
update1
Say we also have period2 which starts after period1, and period2 has update2 which has a change value of +1.
period2
update2
In this case, period1 has an actual_value of 5 and period2 has an actual_value of 6.
actual_value
The problem happens when we edit update1 after we've already created update2. For example, if we change update1 from a +5 to a +6.
Currently, the actual_value of period2 remains at 6 - but update2 still has a change value of +1. The actual_value of period2 should be updated to 7.
The actual_value of period2 should be changed when we call update_actual_value on period1
update_actual_value
The text was updated successfully, but these errors were encountered:
[#1889] Editing or adding updates to previous periods
6c208ff
[#1889] DRY code as suggested by @zzgvh
e60bbe8
Merge pull request #1890 from akvo/#1889-update-later-period
75b191a
KasperBrandt
No branches or pull requests
Say we have
period1
withupdate1
.period1
has a baseline of 0 andupdate1
has a change value of +5.Say we also have
period2
which starts afterperiod1
, andperiod2
hasupdate2
which has a change value of +1.In this case,
period1
has anactual_value
of 5 andperiod2
has anactual_value
of 6.The problem happens when we edit
update1
after we've already createdupdate2
. For example, if we changeupdate1
from a +5 to a +6.Currently, the
actual_value
ofperiod2
remains at 6 - butupdate2
still has a change value of +1. Theactual_value
ofperiod2
should be updated to 7.The
actual_value
ofperiod2
should be changed when we callupdate_actual_value
onperiod1
The text was updated successfully, but these errors were encountered: