rafinkanisa / ngm-reportDesk

The workdesk for ReportHub
0 stars 1 forks source link

RH AF ESNFI Validation on Assessment Field #166

Closed rafinkanisa closed 2 years ago

rafinkanisa commented 2 years ago

Validate the assessment using the following rule :

Please see below case:

Screen Shot 2021-12-02 at 18 06 37

If there’s someone would like to calculate the Total Assessed HH in Jan-Mar, below case is the correct way to interpret the table.

Case A (using only the data from the last month report) Project A = 50 Project B = 100 Total Assessed HH in Jan-Mar = 150

This is what ESNFI cluster has requested

fakhrihawari commented 2 years ago
Screen Shot 2021-11-15 at 13 47 12

Right now the validation is based only on previous report assessment households value and the value is always a positive number or greater than equal previous report assessment households.

If the previous report do not have assessment households, automatic will be set to 0

it considered valid if the value input by a user is >= previous report assessment households

the demo show in the picture above

fakhrihawari commented 2 years ago

Updated on DEV and PROD https://github.com/iMMAP/ngm-reportHub/pull/71