Skip to content

#923: ignore future reconciliations in historical reports - #960

Open
gemshrine wants to merge 2 commits into
zerocracy:masterfrom
gemshrine:923
Open

gemshrine wants to merge 2 commits into
zerocracy:masterfrom
gemshrine:923

Conversation

@gemshrine

Copy link
Copy Markdown
Contributor

Historical awards reports selected the latest reconciliation from all dates, including dates after the report's today value. A future payout snapshot could therefore affect the displayed payable balance.

The reconciliation lookup now excludes records after the report date before selecting the latest one. The regression case compares a past reconciliation with a future one while rendering as of an earlier date.

Checks: TestAwards#test_fn_payables_ignores_reconciliations_after_report_date and the repository's Ruby/XSLT CI suite.

Closes #923

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

z:payables() selects future reconciliation facts in historical awards reports

1 participant