clintonhealthaccess / chailmis-android

Android Tablet Application for Logistics Management in the DHIS2 Platform
Other
7 stars 6 forks source link

Merge offline allocation receive with actual allocation after sync #124

Open reneeorser opened 9 years ago

reneeorser commented 9 years ago

High Severity

When an allocation has already been pulled from the server, its period is automatically attached to the receive and the items when receiving them. However - when it hasn't been synced yet, a dummy allocation (with just the ID) is created and received is set to true. When the Allocation is finally pulled, the dates on the receive and the items are set and the push is done. (need to check this behavior out)

Job - Allocations/Receive - 3/10/2015

chai-lmis commented 9 years ago

Allocation ID must be flagged as received so if the app is unistalled and reinstalled it doesnt show up on the app as a new allocation again