akvo-rsr icon indicating copy to clipboard operation
akvo-rsr copied to clipboard

Feature Request: Block switching indicators to cumulative reporting

Open MichaelAkvo opened this issue 2 years ago • 0 comments

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

???

MichaelAkvo avatar Nov 24 '22 15:11 MichaelAkvo