Add support for completing and incompleting a data entry form. A "Complete" button should be added at the bottom of the data entry screen. When clicked this should complete the form, and an "Incomplete" button should appear. When clicking on the "Incomplete" button, the form should be incompleted, and a button "Complete" should be visible.
This function should interact with the completeDataSetRegistrations resource, docs here:
https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s12.html#d5e1749
Add support for completing and incompleting a data entry form. A "Complete" button should be added at the bottom of the data entry screen. When clicked this should complete the form, and an "Incomplete" button should appear. When clicking on the "Incomplete" button, the form should be incompleted, and a button "Complete" should be visible.
This function should interact with the completeDataSetRegistrations resource, docs here:
https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s12.html#d5e1749