avniproject / apfodishanutrition

GNU Affero General Public License v3.0
0 stars 0 forks source link

APF Prod Bug fixes - Batch 2: Growth Monitoring visit for the beneficiary is showing incorrect #347

Closed AnjaliBhagabati closed 2 months ago

AnjaliBhagabati commented 2 months ago

User Id : 6371547207@apfodisha Role : Poshan Sathi Beneficiary name : Kuladipa Behera

https://drive.google.com/open?id=1VweDD0O5SRN3GTBjHJTwMimlTagthunI

nupoorkhandelwal commented 2 months ago

@AnjaliBhagabati This is a corner case scenario, this user had edited enrolment post our changes went live. As per logic under Enrolment, if there is no visit of type "Growth Monitoring", it will schedule it for the next month from the enrolment, ie. 1-Feb 2023 since enrolment date is 22 Jan 2023.

Ideally, user should have completed or cancelled whatever Child Followup visit was there and that would have generated the correct Growth Monitoring visit.ie, for July

Right now we cannot fix this, he will have to manually cancel visits till it reaches the month/year where the data entry needs to be done.