akvo-rsr
akvo-rsr copied to clipboard
Feature Request: Block switching indicators to cumulative reporting
What are you trying to do?
Cumulative reporting has an impact on how period updates are aggregated and how actual period values are attained.
Switching between the two when period updates already exist can make the calculations complicated and error prone.
Describe the solution you'd like
Deny changing the reporting method after a period update has been made.
Have you consider alternatives?
No response
Additional context
Tasks
Frontend
- [ ] Call backend API to check if any period updates have been made on indicator
- [ ] Hide toggle for reporting method of indicator
Backend
- [ ] Provide endpoint (or modify existing endpoint) to return the number of period indicator updates
- [ ] Reject attempts to change reporting method on endpoint if period indicator updates exist
Design
???