avniproject / JSSCP

0 stars 0 forks source link

Date of death is accepting the future date #316

Open Dinesh2019 opened 11 months ago

Dinesh2019 commented 11 months ago

In JSSCP we have the exit enrolment form we have the reason for exit which as the option as death while clicking that it ask for the date of death and we can able to apply the future dates. Expected result: it should display an error

Steps to reproduce :

  1. login to the app
  2. go to any individual enrolled in hypertension.
  3. Click on the exit option displayed in the enrolment details
  4. Click on the death in the reason for exit question.
  5. click on the date of death and apply the future date. Expected result: it should display an error Actual result: it is accepting the future date

https://images.zenhubusercontent.com/229009643/d6d9a8bf-0af1-4f49-93f3-145cb7b1c4f7/untitled.mp4