In POS, we show a message saying in-progress orders will be lost when exiting.
This should actually happen, however we do it using the auto-draft feature.
In some cases, draft orders remain in the local device storage after leaving POS, and aren't cleared from the Order List until we pull to refresh.
We could fix this by refreshing order storage on leaving POS, or by just deleting any draft orders from storage, or by ensuring they never get stored in the first place, if possible.
Description
In POS, we show a message saying in-progress orders will be lost when exiting.
This should actually happen, however we do it using the
auto-draft
feature.In some cases, draft orders remain in the local device storage after leaving POS, and aren't cleared from the Order List until we pull to refresh.
We could fix this by refreshing order storage on leaving POS, or by just deleting any draft orders from storage, or by ensuring they never get stored in the first place, if possible.
p91TBi-c11-p2#comment-13041